> Am 14.09.2016 um 19:12 schrieb Mahmood Naderan <mahmood...@gmail.com>:
> 
> So, I used
> 
> ./configure --prefix=/export/apps/siesta/openmpi-1.8.8 
> --enable-mpirun-prefix-by-default --enable-static --disable-shared  
> --disable-dlopen
> 
> and added -static to LDFLAGS, but I get:
> 
> /export/apps/siesta/openmpi-1.8.8/bin/mpifort -o transiesta -static 
> ........libfdf.a libSiestaXC.a \
>                libmpi_f90.a  \
>                 `FoX/FoX-config --libs --wcml` ../libscalapack.a   
> ../libopenblas.a  /export/apps/siesta/openmpi-1.8.8/lib/libmpi_mpifh.a 
> /export/apps/siesta/openmpi-1.8.8/lib/libmpi_usempi.a
> /usr/bin/ld: cannot find -libverbs

What do you have on the system for "libibverbs.*"?


> collect2: ld returned 1 exit status
> 
> 
> removing -static will eliminate the error but that is not what I want. Should 
> I build libverbs from source first? Am I on the right direction?

The "-l" includes already the "lib" prefix when it tries to find the library. 
Hence "-libverbs" might be misleading due to the "lib" in the word, as it looks 
for "libibverbs.{a|so}". Like "-lm" will look for "libm.a" resp. "libm.so".

-- Reuti


> Regards,
> Mahmood
> 
> _______________________________________________
> users mailing list
> users@lists.open-mpi.org
> https://rfd.newmexicoconsortium.org/mailman/listinfo/users

_______________________________________________
users mailing list
users@lists.open-mpi.org
https://rfd.newmexicoconsortium.org/mailman/listinfo/users

Reply via email to