Re: [OMPI users] Newbie question?

2012-09-15 Thread Ralph Castain
No - the mca param has to be specified *before* your executable mpiexec -mca btl ^openib -n 4 ./a.out Also, note the space between "btl" and "^openib" On Sep 15, 2012, at 5:45 PM, John Chludzinski wrote: > Is this what you intended(?): > > $ mpiexec -n 4 ./a.out -mca btl^openib > > librdma

Re: [OMPI users] Newbie question?

2012-09-15 Thread John Chludzinski
Is this what you intended(?): *$ mpiexec -n 4 ./a.out -mca btl^openib *librdmacm: couldn't read ABI version. librdmacm: assuming: 4 CMA: unable to get RDMA device list -- [[5991,1],0]: A high-performance Open MPI point-to-poi

Re: [OMPI users] Newbie question?

2012-09-15 Thread Ralph Castain
Try adding "-mca btl ^openib" to your cmd line and see if that cleans it up. On Sep 15, 2012, at 12:44 PM, John Chludzinski wrote: > There was a bug in the code. So now I get this, which is correct but how do > I get rid of all these ABI, CMA, etc. messages? > > $ mpiexec -n 4 ./a.out > li

Re: [OMPI users] Newbie question?

2012-09-15 Thread John Chludzinski
There was a bug in the code. So now I get this, which is correct but how do I get rid of all these ABI, CMA, etc. messages? $ mpiexec -n 4 ./a.out librdmacm: couldn't read ABI version. librdmacm: couldn't read ABI version. librdmacm: assuming: 4 CMA: unable to get RDMA device list librdmacm: assu

Re: [OMPI users] Newbie question?

2012-09-15 Thread John Chludzinski
BTW, here the example code: program scatter include 'mpif.h' integer, parameter :: SIZE=4 integer :: numtasks, rank, sendcount, recvcount, source, ierr real :: sendbuf(SIZE,SIZE), recvbuf(SIZE) ! Fortran stores this array in column major order, so the ! scatter will actually scatter columns, n

Re: [OMPI users] Newbie question?

2012-09-15 Thread John Chludzinski
# export LD_LIBRARY_PATH # mpiexec -n 1 printenv | grep PATH LD_LIBRARY_PATH=/usr/lib/openmpi/lib/ PATH=/usr/lib/openmpi/bin/:/usr/lib/ccache:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/jski/.local/bin:/home/jski/bin MODULEPATH=/usr/share/Modules/modulefiles:/etc/modulefiles

Re: [OMPI users] Newbie question?

2012-09-15 Thread Ralph Castain
Ah - note that there is no LD_LIBRARY_PATH in the environment. That's the problem On Sep 15, 2012, at 11:19 AM, John Chludzinski wrote: > $ which mpiexec > /usr/lib/openmpi/bin/mpiexec > > # mpiexec -n 1 printenv | grep PATH > PATH=/usr/lib/openmpi/bin/:/usr/lib/ccache:/usr/local/bin:/usr/bin

Re: [OMPI users] Newbie question?

2012-09-15 Thread Reuti
Am 15.09.2012 um 19:00 schrieb John Chludzinski: > I installed OpenMPI (I have a simple dual core AMD notebook with Fedora 16) > via: > > # yum install openmpi > # yum install openmpi-devel > # mpirun --version > mpirun (Open MPI) 1.5.4 > > I added: > > $ PATH=PATH=/usr/lib/openmpi/bin/:$PAT

Re: [OMPI users] Newbie question?

2012-09-15 Thread John Chludzinski
$ which mpiexec /usr/lib/openmpi/bin/mpiexec # mpiexec -n 1 printenv | grep PATH PATH=/usr/lib/openmpi/bin/:/usr/lib/ccache:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/jski/.local/bin:/home/jski/bin MODULEPATH=/usr/share/Modules/modulefiles:/etc/modulefiles WINDOWPATH=1 O

Re: [OMPI users] Newbie question?

2012-09-15 Thread Ralph Castain
Couple of things worth checking: 1. verify that you executed the "mpiexec" you think you did - a simple "which mpiexec" should suffice 2. verify that your environment is correct by "mpiexec -n 1 printenv | grep PATH". Sometimes the ld_library_path doesn't carry over like you think it should O

[OMPI users] Newbie question?

2012-09-15 Thread John Chludzinski
I installed OpenMPI (I have a simple dual core AMD notebook with Fedora 16) via: # yum install openmpi # yum install openmpi-devel # mpirun --version mpirun (Open MPI) 1.5.4 I added: $ PATH=PATH=/usr/lib/openmpi/bin/:$PATH $ LD_LIBRARY_PATH=/usr/lib/openmpi/lib/ Then: $ mpif90 ex1.f95 $ mpiexe