Hmm; that's odd.
Is icc / icpc able to find libnuma with no -L, but ifort is unable to
find it without a -L?
On Mar 3, 2009, at 10:00 PM, Terry Frankcombe wrote:
> 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 -
> 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?
> Dr. Terry Frankcombe
> Research School of Chemistry, Australian National University
> Ph: (+61) 0417 163 509 Skype: terry.frankcombe
> users mailing list