This is something related to DAPL.

/* just google "libdat" */

iirc, Intel MPI uses that,  but i do not recall Open MPI using it (!)

are you sure you are using Open MPI ?

which interconnect do you have ?

Cheers,

Gilles

----- Original Message -----

    Thanks Gilles... That has been solved. Another issue is

    mpif90 -g -pthread -static -o iotk_print_kinds.x iotk_print_kinds.o 
libiotk.a
    /usr/bin/ld: cannot find -ldat


    The name is actually hard to google! I cannot find the library name 
for "dat". Have you heard of that? There is not "libdat" package as I 
searched.


    Regards,
    Mahmood



    On Wed, Sep 13, 2017 at 2:54 PM, <gil...@rist.or.jp> wrote:

         Mahmood,

         

        since you are building a static binary, only static library (e.g.
 libibverbs.a) can be used.

        on your system, only dynamic libibverbs.so is available.

         

        simply install libibverbs.a and you should be fine.

         

        Best regards,

         

        Gilles

        ----- Original Message -----

            Hi,
            I am trying to build an application with static linking that 
uses openmpi. in the middle of the build, I get this

            mpif90 -g -pthread -static -o iotk_print_kinds.x iotk_print_
kinds.o libiotk.a
            /usr/bin/ld: cannot find -libverbs
            collect2: ld returned 1 exit status

            However, such library exists on the system.

            [root@cluster source]# find /usr/ -name *ibverb*
            /usr/lib64/libibverbs.so
            /usr/lib64/libibverbs.so.1.0.0
            /usr/lib64/libibverbs.so.1
            /usr/share/doc/libibverbs-1.1.8
            [root@cluster source]# mpif90 -v
            Using built-in specs.
            Target: x86_64-redhat-linux
            Configured with: ../configure --prefix=/usr --mandir=/usr/
share/man --infodir=/usr/share/info --with-bugurl=
http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared -
-enable-threads=posix --enable-checking=release --with-system-zlib --
enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-
object --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-
java-awt=gtk --disable-dssi --with-java-home=/usr/lib/jvm/java-1.5.0-gcj
-1.5.0.0/jre --enable-libgcj-multifile --enable-java-maintainer-mode --
with-ecj-jar=/usr/share/java/eclipse-ecj.jar --disable-libjava-multilib 
--with-ppl --with-cloog --with-tune=generic --with-arch_32=i686 --build=
x86_64-redhat-linux
            Thread model: posix
            gcc version 4.4.7 20120313 (Red Hat 4.4.7-18) (GCC)



            Any idea for that?
            Regards,
            Mahmood


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




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

Reply via email to