[OMPI users] Problem running an MPI program through the PBS manager

2016-09-26 Thread Mahmood Naderan
Hi, When I run an MPI command through the terminal the programs runs fine on the compute node specified in hosts.txt. However, when I put that command in a PBS script, if says that the compute node is not defined in the job manager's list. However, that node is actually defined in the job

Re: [OMPI users] Problem running an MPI program through the PBS manager

2016-09-26 Thread Mahmood Naderan
OK thank you very much. It is now running... Regards, Mahmood On Mon, Sep 26, 2016 at 2:04 PM, Gilles Gouaillardet < gilles.gouaillar...@gmail.com> wrote: > Mahmood, > > The node is defined in the PBS config, however it is not part of the > allocation (e.g. job) so it cannot be used, and

Re: [OMPI users] Problem running an MPI program through the PBS manager

2016-09-26 Thread Gilles Gouaillardet
Mahmood, The node is defined in the PBS config, however it is not part of the allocation (e.g. job) so it cannot be used, and hence the error message. In your PBS script, you do not need -np nor -host parameters to your mpirun command. Open MPI mpirun will automatically detect it is launched