[slurm-users] Running pyMPI on several nodes
Jeffrey Frey
frey at udel.edu
Fri Jul 12 14:31:48 UTC 2019
Have you tried
srun -N# -n# mpirun python3 ....
Perhaps you have no MPI environment being setup for the processes? There was no "--mpi" flag in your "srun" command and we don't know if you have a default value for that or not.
> On Jul 12, 2019, at 10:28 AM, Chris Samuel <chris at csamuel.org> wrote:
>
> On 11/7/19 11:04 pm, Pär Lundö wrote:
>
>> It works fine running on a single node(with ”-N1” instead of ”-N2”), but it is aborted or stopped when running on two nodes.
>
> What is the error you get?
>
> Does the same srun command but with "hostname" instead of Python work?
>
> --
> Chris Samuel : http://www.csamuel.org/ : Berkeley, CA, USA
>
::::::::::::::::::::::::::::::::::::::::::::::::::::::
Jeffrey T. Frey, Ph.D.
Systems Programmer V / HPC Management
Network & Systems Services / College of Engineering
University of Delaware, Newark DE 19716
Office: (302) 831-6034 Mobile: (302) 419-4976
::::::::::::::::::::::::::::::::::::::::::::::::::::::
More information about the slurm-users
mailing list