Re: [OMPI users] Unable to run a python code on cluster with mpirun in parallel

2019-09-09 Thread Ralph Castain via users
Take a look at "man orte_hosts" for a full explanation of how to use hostfile - /etc/hosts is not a properly formatted hostfile. You really just want a file that lists the names of the hosts, one per line, as that is the simplest hostfile. > On Sep 7, 2019, at 4:23 AM, Sepinoud Azimi via users

[OMPI users] Unable to run a python code on cluster with mpirun in parallel

2019-09-07 Thread Sepinoud Azimi via users
Hi, I have a parallelized code that works fine on my local computer with the command $mpirun -n 5 python parallel_simulation.py but when I try the same code on cluster I only get one process and it is not running in parallel. I have both mpich and openmpi loaded on my cluster. I tried to