Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Open MPI User's mailing list

Subject: [OMPI users] libnuma under ompi 1.3
From: Terry Frankcombe (terry_at_[hidden])
Date: 2009-03-03 22:00:31


Having just downloaded and installed Open MPI 1.3 with ifort and gcc, I
merrily went off to compile my application.

In my final link with mpif90 I get the error:

/usr/bin/ld: cannot find -lnuma

Adding --showme reveals that

-I/home/terry/bin/Local/include -pthread -I/home/terry/bin/Local/lib

is added to the compile early in the aggregated ifort command, and

-L/home/terry/bin/Local/lib -lmpi_f90 -lmpi_f77 -lmpi -lopen-rte
-lopen-pal -lpbs -lnuma -ldl -Wl,--export-dynamic -lnsl -lutil -lm -ldl

is added to the end.

I note than when compiling Open MPI -lnuma was visible in the gcc
arguments, with no added -L.

On this system libnuma.so exists in /usr/lib64. My (somewhat long!)
configure command was

./configure --enable-static --disable-shared
--prefix=/home/terry/bin/Local --enable-picky --disable-heterogeneous
--without-slurm --without-alps --without-xgrid --without-sge
--without-loadleveler --without-lsf F77=ifort

Should mpif90 have bundled a -L/usr/lib64 in there somewhere?

Regards
Terry

-- 
Dr. Terry Frankcombe
Research School of Chemistry, Australian National University
Ph: (+61) 0417 163 509    Skype: terry.frankcombe