Simulation

py4amitex.simulation.runSimulationExternal(input: py4amitex.input.Input, numberProcs: int = 0) None

Initialize input files and launch simulation by executing amitex_fftp

Parameter input:

input used by the simulation

Parameter numberProcs:

number of MPI processes used

Throws:

AmitexError when the simulation does no exit normally

When numberProcs is 0, the number of available MPI processes is used (exact behavior depends on the MPI environment)

py4amitex.simulation.getSimulationShellCommand(input: py4amitex.input.Input, numberProcs: int = 0) str
Returns:

shell command to run amitex_fftp (with mpirun)

Parameter input:

input used by the simulation

Parameter numberProcs:

number of MPI processes used