escript myscript.pyas already shown in section 1.2
escript -i myscript.pyThis will execute myscript.py and when it completes (or an error occurs), a python prompt will be provided. To leave the prompt press Control-d.
To start escript using four threads (eg. if you use a multi-core processor) you can use
escript -t 4 myscript.pyThis will require escript to be compiled for OpenMP [18].
To start escript using MPI [14] with processes you use
escript -p 8 myscript.pyIf the processors which are used are multi-core processors or multi-processor shared memory architectures you can use threading in addition to MPI . For instance to run
escript -p 8 -t 4 myscript.pyIn the case of a super computer or a cluster, you may wish to distribute the workload over a number of nodes
escript -n 8 -p 4 myscript.pySince threading has some performance advantages over processes, you may specify a number of threads as well.
escript -n 8 -p 4 -t 2 myscript.pyThis runs the script on
esys@esscc.uq.edu.au