Error installing MPI, static Rosetta3.5 ubuntu

Member Site Forums Rosetta 3 Rosetta 3 – Build/Install Error installing MPI, static Rosetta3.5 ubuntu

Viewing 1 reply thread
  • Author
    Posts
    • #2044
      Anonymous

        Dear developers,
        I’d tried to complile and install Roseta3.5 in my Ubuntu Ubuntu 12.04.3 LTS x86_64. My MPI version is MPICH2 Version: 1.4.1p1 and is installed at:
        /usr/lib/mpich2/lib/libfmpich.so
        /usr/lib/mpich2/lib/libmpichf90.so
        /usr/lib/mpich2/lib/libmpl.so
        /usr/lib/mpich2/lib/libmpichcxx.so
        /usr/lib/mpich2/lib/libmpich.so
        /usr/lib/mpich2/lib/libopa.so
        At first I tried to compile using this options:
        sudo scons bin mode=release cxx=gcc cxx_version=4.6 extras=mpi,static -j4
        After a few minutes the program ends with this error message:
        /usr/lib/libmpich.a(mpid_nem_ckpt.o):function ckpt_cb: error: undefined reference to ‘cr_checkpoint’
        /usr/lib/libmpich.a(mpid_nem_ckpt.o):function ckpt_cb: error: undefined reference to ‘cr_get_restart_info’
        /usr/lib/libmpich.a(mpid_nem_ckpt.o):function MPIDI_nem_ckpt_init: error: undefined reference to ‘cr_init’
        /usr/lib/libmpich.a(mpid_nem_ckpt.o):function MPIDI_nem_ckpt_init: error: undefined reference to ‘cr_register_callback’
        /usr/lib/libmpich.a(tcp_init.o):function MPID_nem_tcp_get_business_card: warning: Using ‘gethostbyname’ in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
        collect2: ld returned 1 exit status
        scons: *** [build/src/release/linux/3.2/64/x86/gcc/4.6/mpi-static/AnchorFinder.mpistatic.linuxgccrelease] Error 1
        scons: building terminated because of errors.
        Alternatively I tried to compile without using static libraries, e.g.: sudo scons bin mode=release cxx=gcc cxx_version=4.6 extras=mpi -j4 but the program ends with this following error: build/src/release/linux/3.2/64/x86/gcc/4.6/mpi/apps/public/interface_design/anchored_design/AnchorFinder.o:AnchorFinder.cc:function typeinfo for utility::vectorL<1l, utility::vector1 >, std::allocator > > >: error: undefined reference to ‘vtable for __cxxabiv1::__vmi_class_type_info’
        build/src/release/linux/3.2/64/x86/gcc/4.6/mpi/apps/public/interface_design/anchored_design/AnchorFinder.o:AnchorFinder.cc:function typeinfo for utility::vectorL<1l, unsigned long, std::allocator
        >: error: undefined reference to ‘vtable for __cxxabiv1::__vmi_class_type_info’
        build/src/release/linux/3.2/64/x86/gcc/4.6/mpi/apps/public/interface_design/anchored_design/AnchorFinder.o:AnchorFinder.cc:function typeinfo for utility::vectorL<1l, numeric::xyzVector, std::allocator > >: error: undefined reference to ‘vtable for __cxxabiv1::__vmi_class_type_info’
        build/src/release/linux/3.2/64/x86/gcc/4.6/mpi/apps/public/interface_design/anchored_design/AnchorFinder.o:AnchorFinder.cc:function typeinfo for ObjexxFCL::Observer: error: undefined reference to ‘vtable for __cxxabiv1::__class_type_info’
        build/src/release/linux/3.2/64/x86/gcc/4.6/mpi/apps/public/interface_design/anchored_design/AnchorFinder.o(.eh_frame+0x21d3): error: undefined reference to ‘__gxx_personality_v0’
        collect2: ld returned 1 exit status
        scons: *** [build/src/release/linux/3.2/64/x86/gcc/4.6/mpi/AnchorFinder.mpi.linuxgccrelease] Error 1
        scons: building terminated because of errors.
        I searched throug the web and none answers were useful to help my compilation error. Thus, I wonder if anyone could help me with this copilation/installation issue.
        Regards.

      • #10494
        Anonymous

          I’m guessing that there’s an issue with finding the appropriate libraries for your MPI compiler. Try copying main/source/tools/build/site.settings.topsail to main/source/tools/build/site.settings You may also need to manually specify the path to your mpi compilers (see main/source/tools/build/site.settings.csbmpi for an example).

          If that doesn’t work, what’s in your $INCLUDE and $LD_LIBRARY_PATH environment variables (do they list the appropriate paths to your MPI libraries, with no conflicting versions?), and is your MPI compiler setup able to successfully compile other, non-Rosetta MPI programs?

      Viewing 1 reply thread
      • You must be logged in to reply to this topic.