next up previous
Next: Validating the result Up: Running a simulation with Previous: Running a simulation with

Running Pelegant with MPI command

An examples directory is available under the elegant directory. Users can run a simulation with a given lattice and input files according to the version of the MPI implementation.

For example, we can run the parallel elegant on 11 processors (10 working processors) with the following commands: 1

1) For MPI-1, we can use the following syntax:

mpirun -np 11 Pelegant manyParticles_p.ele

2) For MPI-2, mpiexec is strongly encouraged to start MPI programs, e.g.,

mpiexec -np 11 Pelegant manyParticles_p.ele

One can run another simulation with the serial version of elegant for comparison at the same time:

elegant manyParticles_s.ele

The contents of the input files are same, while ``_p'' and ``_s'' are corresponding to the input files of Pelegant and elegant, respectively. User should check the elegant manual to prepare the input file.

In principle, users can run simulations on any number of processors. We have tested the program with 1024 nodes on the BG/L supercomputer at Argonne National Lab. However, the number of processors can not be more than the number of particles to track, as it will not use the resource efficiently.


next up previous
Next: Validating the result Up: Running a simulation with Previous: Running a simulation with
Yusong Wang 2007-04-03