Comment

Comment by lettergram

I tried to get it released before, but was shut down by the "open source office". So I can't give you the exact script. However, h2o has a script that launches a cluster, that's very similar:

https://github.com/ledell/h2oEnsemble-benchmarks/blob/master...

You can also do stuff like following in python to execute some code:

    os.system("scp script_demo.py " + sys.argv[1] + ":/home/ubuntu/")
    os.system("ssh " + sys.argv[1] + " sudo chmod 777 /home/ubuntu/script_demo.py")
    os.system("ssh " + sys.argv[1] + " './script_demo.py'")
    os.system("scp " + sys.argv[1] + ":/home/ubuntu/output/* ./output/")
Then it will execute, after it executes - shut it down.
parent lettergram 10 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton