Removing the hard-coded mpirun from the job wrapper:

/opt/glite/etc/templates/template.mpi.lsf.sh
<
< #cmd_line="mpirun -np ${__nodes} -machinefile ${HOSTFILE} ${__job}
${__arguments} $*"
< PATH=`pwd`:$PATH
< cmd_line="${__job} ${__arguments} $*"
---
> > cmd_line="mpirun -np ${__nodes} -machinefile ${HOSTFILE} ${__job}
${__arguments} $*"


/opt/glite/etc/templates/template.mpi.pbs.sh
< #cmd_line="mpirun -np ${__nodes} -machinefile ${HOSTFILE} ${__job}
${__arguments} $*"
< cmd_line="${__job} ${__arguments} $*"
---
> > cmd_line="mpirun -np ${__nodes} -machinefile ${HOSTFILE} ${__job}
${__arguments} $*"

mpi: WmsMods (last edited 2011-07-12 14:41:39 by localhost)