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
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
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
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
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
# 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
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
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
$ 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
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
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
11 matches
Mail list logo