Hello,
This is a follow-up to my message below. I am running MPICH2-1.4.1 on Windows Server 2102r2 using the job scheduler with command line through PowerShell.
I found this page which explains my issue
"An exception is the mpiexec option -n. Using this option will cause all of the processes to be run on the same processor, regardless of how many processors have been specified using /numprocessors:."
It's an older version, but I think is the cause of my problem.
Can I use MPICH2 instead of Windows MPI with the Windows Job Scheduler? If I don't specify any "-n" parameter, I only get mpiexec to execute a single task, despite the number of processors I am trying to request
I am trying to use
$j=New-HpcJob
$j | Add-HpcTask -numcores $NUMCORES -command "$MPIEXEC -n $NUMCORES lmp_mpi.exe -in in.lammps"
$j | Submit-HpcJob
where $MPIEXEC is the full path to mpiexec.exe. I am using MPICH2-1.4.1 because it works with LAMMPS and I am told Windows MPI does not because of Visual C++ compatibility with LAMMPS.
I can successfully run the cpi.exe example outside the job scheduler on all cores and nodes.
I can use a machinefile as well but when I use it, the cores and nodes that mpiexec executes don't follow the allocated nodes from the job scheduler.
Is there anyway around using MPICH2 with the -n option in Windows Job Scheduler getting jobs to run on more than one node?
Thanks again for any response I get. I've spent days trying to figure this out so would be grateful for any advice.
Josh