Execution of ESyS-Particle simulations
- Keywords:
- execution simulation
- Last updated by:
- Vince Boros
In order to run the code, you need a special commandline and be careful with the choice of numWorkerProcesses and mpiDimList in your simulation script. I'll try to explain:
1/ mpiDimList specifies the number of subdivisions in each of the coordinate directions (X-, Y- and Z-directions) so mpiDimList=[2,1,2] would divide the domain into two parts in X-, one part in Y- and two parts in Z-dir, resulting in four subdomains. You will also need to specify numWorkerProces
2/ when you run a script, you need to use a commandline like the following:
mpirun -np 5 `which esysparticle` GravityTut.py
N.B.
a) the number after -np must be equal to numWorkerProces
b) replace GravityTut.py with the name of the python script you wish to execute. The special program esysparticle is called to initialise the MPI engine, and then it executes python to parse the script.
c) if you have circular boundary conditions in one of the directions, the domain _must_ be split into at least two parts along this direction!
d) if you're using "setSpatialDoma