Authors: Y. Wang, R. Soliday and M. Borland |
MPI installation |
MPI-2 standard is strongly encouraged to use in the literature. We choose one popular implementation, MPICH2, from Argonne National Laboratory to build binary Pelegant for distribution. All the other implementations of the MPI standard can also be used to build Pelegant from source code.
For Windows users you can download and install the binary version of MPICH2. For Linux and Mac users you will need to download the source code mpich2-{version}.tar.gz and run: gzip -d mpich2-{version}.tar.gztar -xf mpich2-{version}.tar cd mpich2-{version} ./configure -prefix={install_dir} make make install Then add the {install_dir}/bin to your PATH. The script install_mpi.sh can be used to download and compile MPICH2. |
Pelegant installation |
Precompiled binary version of Pelegant are available for Windows, Linux and Mac operating systems. These can be downloaded from our Software page in the elegant distributions. It is also possible to compile Pelegant from source code but this is much more complicated. |
System configuration |
Modern Linux operating systems will have an issue with MPI programs that have more threads then CPU cores that will result in suboptimal speeds. To overcome this you will need to run the following as root: echo 1 > /proc/sys/kernel/sched_compat_yield You may also want to install a queuing system such as Grid Engine but it is not required. |
Running Pelegant |
The detailed information about running jobs with MPICH2 can be found in the "User's Guide" from MPICH2 homepage. Here is a quick start (the run_Pelegant script can be used alternatively): If this is your first time to use MPICH2, the following setup is required on Linux and Mac systems: echo "MPD_SECRETWORD=secretword" > ~/.mpd.confchmod 600 ~/.mpd.conf Windows Users:
Linux and Mac Users:
|