File: MPI_wrapper.pl.pl Version: 1
MPI_wrapper.pl.pl mpi_wrapper.pl Wrapper for mpi codes
Vn 1.0 18May2009 jim.conboy@jet.uk
Operation
1) When initiated by batch system - call mpirun to submit ( multiple )
MPI instances ( of this file )
2) When initiated by mpirun -
create MPI work directory, /tmp/$USER/mpi/$JOB_ID
create process log, pi_$$.log
create $HERE/$JOB_ID/vpid.dat ( maps vpid/host/pid/log file )
run the codeUse: Cwd
strictRoutine Comment Arguments WorkDirName $_ = "./tmp/".$$ ; mpi_init cf ~jconboy/.ompi_lf.rc open mpi / lf95 init 13Feb2008 jim.conboy@jet.uk