|
|
|
![]() |
Prerequisites:
Binary install via RPMs:
Obtaining the source code:
Preparing to build:
Building VMI2:
Building MPICH-VMI:
|
Configuring MPICH-VMI:MPD ring setup:There are two files which need to be propagated to every node in a given mpd ring.
Default machines file: mpich_vmi2_dir/share/machines.list Optional configuration: list hostnames The machines.list file may be populated with a list of hosts to use when the -machinefile option is not used on the mpirun command line. Format of each line is one of the following: HOSTNAME -or- HOSTNAME:[num_procs] Defaults in mpirun: mpich_vmi2_dir/bin/mpirun.ch_vmi Optional configuration: set values for custom settings At the top of the file, the following set of variables is defined. Those prefixed by "DF_" are only set if the value isn't set explicitly. e.g. If -specfile isn't specified on the mpirun command line, then the value in $DF_VMI_SPECFILE is used. LD_LIBRARY_PATH=$VMI_INSTALL_PATH/lib:$LD_LIBRARY_PATH DF_rshcmd=ssh DF_LOG_ENABLE=0 DF_LOGFILE=$MPIRUN_HOME/../log/mpirun.ch_vmi.log DF_LOG_DIRECTIVES=$MPIRUN_HOME/mpirun.ch_vmi.logger DF_machineFile=$MPIRUN_HOME/../share/machines.list DF_VMI_SPECFILE=$VMI_INSTALL_PATH/specfiles/tcp.xml DF_VMI_SPECFILE_PATH=$VMI_INSTALL_PATH/specfiles DF_VMI_LAUNCHER=1 # Detected launcher overrides this value DF_VMI_VERBOSE=0 Logging mpirun: By default, mpirun logging is disabled. This can be changed globally in mpirun.ch_vmi (above), but can still be force-disabled on the mpirun command line with the -nolog option. The default logfile is also set at the top of mpirun.ch_vmi (above). Logging is mainly useful to sysadmins for debugging and tracking mpirun use. It is quite verbose, and if enabled, the size of the logfile should be monitored. Running VMI Daemons:You will need to start a copy of "vmieyes" daemon on all nodes that can run a MPI process. You can either do this via the init script bundled with the VMI runtime package, or by hand. The vmieyes daemon is installed under $VMI_INSTALL_PATH/sbin directory.It is recommended though not neccessary to run the vmieyes daemon as root. The vmieyes daemon is used only during job startup and hence does not run consume any significant compute resources when running. It is recommended that the vmieyes daemon be chkconfig to start automatically on reboot. MPICH-VMI jobs will fail to run if a node does not have the vmieyes daemon running on it. |
Running codes with VMI2:If you get this error while running a VMI2 sample program:"error while loading shared libraries: libcurl.so.1: cannot open shared object file: No such file or directory" You need to create a symbolic link libcurl.so.1 to libcurl.so or libcurl.so.2 Running codes with MPICH-VMI:
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|