Please use
mpif90 and
mpicc to compile your
programs. This will link the correct routines from the
mpi libraries. See man pages
for more info on
mpif90 and
mpicc.
Use the
mpirun command to run the resulting programs.
Make sure you use the
mpiclean command after the program finishes.
Don't use an appfile; use the runpam script or something similar to let LSF
specify the hosts your job should use. For more information on how to use
runpam, click on the following link:
Runpam.