we can use the same jugfile py system as beforeexcept that nowinstead of running it directly on the masterwe schedule it on the cluster firstwrite very simple wrapper script#!/usr/bin/env bash jug execute jugfile py call it using run-jugfile sh and use chmod + run-jugfile sh to give it an executable permissionfor in 'seq 'do qsub run-jugfile shdone this will create jobseach of which will run the run-jugfile sh scriptwhich will simply call jug you can still use the master as you wish in particularyou can at any moment run jug status and see the status of the computation in factjug was developed in exactly such an environmentso it works very well in it eventuallythe computation will be finished and we can kill off all the nodes be sure to save the desired results somewhere and run the followingstarcluster terminate mycluster note that terminating will really destroy the filesystem and all your results of courseit is possible to change this default you can have the cluster write to filesystem which is not allocated and destroyed by starcluster but is available to you on regular instancein fact the flexibility of these tools is immense howeverthese advanced manipulations could not all fit in this starcluster has excellent documentation online at which you should read for more information about all the possibilities of this tool we have seen only small fraction of the functionality and used only the default settings here