Re: [OMPI users] Cannot run MPI code on multiple cores with PBS

2018-10-10 Thread Castellana Michele
ompute nodes? Also try to runibv_devinfo On Tue, 9 Oct 2018 at 16:03, Castellana Michele mailto:michele.castell...@curie.fr>> wrote: Dear John, Thank you for your reply. Here is the output of ldd $ ldd ./code.io<http://code.io> linux-vdso.so.1 => (0x7ffcc759f000) liblapa

Re: [OMPI users] Cannot run MPI code on multiple cores with PBS

2018-10-09 Thread Castellana Michele
t;http://code.io> I just Googled - ldd means List dynamic Dependencies To find out the PBS batch system type - that is a good question! Try this: qstat --version On Thu, 4 Oct 2018 at 10:12, Castellana Michele mailto:michele.castell...@curie.fr>> wrote: Dear John, Thank you for your

Re: [OMPI users] Cannot run MPI code on multiple cores with PBS

2018-10-04 Thread Castellana Michele
better to submit a short batch job which does not use mpirun but uses ldd A proper batch job will duplicate the environment you wish to run in. ldd ./code.io By the way, is the batch system PBSPro or OpenPBS? Version 6 seems a bit old. Can you say what version of Redhat or CentOS this cluster

Re: [OMPI users] Cannot run MPI code on multiple cores with PBS

2018-10-03 Thread Castellana Michele
I fixed it, the correct file was in /lib64, not in /lib. Thank you for your help. On Oct 3, 2018, at 11:30 PM, Castellana Michele mailto:michele.castell...@curie.fr>> wrote: Thank you, I found some libcrypto files in /usr/lib indeed: $ ls libcry* libcrypt-2.17.so libcrypto.so.10 libcry

Re: [OMPI users] Cannot run MPI code on multiple cores with PBS

2018-10-03 Thread Castellana Michele
distro somewhere -- I'd guess you're missing a package (e.g., an RPM or a deb) out on your compute nodes...? On Oct 3, 2018, at 4:24 PM, Castellana Michele mailto:michele.castell...@curie.fr>> wrote: Dear Ralph, Thank you for your reply. Do you know where I could find libcrypto.so.

Re: [OMPI users] Cannot run MPI code on multiple cores with PBS

2018-10-03 Thread Castellana Michele
crypto from your LD_LIBRARY_PATH On Oct 3, 2018, at 12:33 PM, Ralph H Castain mailto:r...@open-mpi.org>> wrote: Did you configure OMPI —with-tm=? It looks like we didn’t build PBS support and so we only see one node with a single slot allocated to it. On Oct 3, 2018, at 12:02 PM, Castel

[OMPI users] Cannot run MPI code on multiple cores with PBS

2018-10-03 Thread Castellana Michele
Dear all, I am having trouble running an MPI code across multiple cores on a new computer cluster, which uses PBS. Here is a minimal example, where I want to run two MPI processes, each on a different node. The PBS script is #!/bin/bash #PBS -l walltime=00:01:00 #PBS -l mem=1gb #PBS -l nodes=2: