Need your inputs:
pasting mpi lines from below link
General MPI Syntax
mpiexec [mpi_options] solver [solver_options]
MPI Options
-hosts
- hostfile : text file with 1 hostname/IP per line, with corresponding number of processes separated by a comma ':'
we observed:
pbs hostfile is as below
node12
node12
node7
it will not work as lumerical mpi syntax
/home/apps/lumerical/v211/mpich2/nemesis/bin/mpiexec -hosts $PBS_NODEFILE /home/apps/lumerical/v211/bin/fdtd-engine-mpich2nem -t 1 -logall $PBS_O_WORKDIR/test.fsp
Can something be done here ?
PBS script:
#!/bin/sh
#PBS -N testmpi
#PBS -l select=2:ncpus=32:mpiprocs=32:mem=64gb
#PBS -q test
SIMFILE=mwp.fsp
LOG=mwp.log
cd $PBS_O_WORKDIR
echo $PBS_O_WORKDIR
cat $PBS_NODEFILE
/home/apps/lumerical/v211/mpich2/nemesis/bin/mpiexec hostname
/home/apps/lumerical/v211/mpich2/nemesis/bin/mpiexec -hosts $PBS_NODEFILE /home/apps/lumerical/v211/bin/fdtd-engine-mpich2nem -t 1 -logall $PBS_O_WORKDIR/test.fsp