Giter Club home page Giter Club logo

Comments (6)

biologistico avatar biologistico commented on August 11, 2024

I could solve the issue but now I have several errors from "undefined references to":

ompi_mpi_comm_world

MPI_Barrier

ompi_mpi_double

MPI_Gather

MPI_Finalize

MPI_Wtime

Among several others..... I'm a novice in the command line and have no experience whatsoever with C++ so I'm really confused. Thanks for your attention to the issue.

from comp-d_mpi.

stevemussmann avatar stevemussmann commented on August 11, 2024

from comp-d_mpi.

stevemussmann avatar stevemussmann commented on August 11, 2024

Hi Juan,

Sorry, I didn't see your second post until now. Those errors seem to indicate that MPI is not being found. My initial troubleshooting recommendations would hold up - perhaps try installing MPI through conda (or disabling conda entirely) and see if that makes a difference.

-Steve

from comp-d_mpi.

biologistico avatar biologistico commented on August 11, 2024

Thanks Steve. It seems deactivating conda fixed most of the previous issues but I still got this error after running make:

mpic++ -g -O2 -lboost_program_options -lpthread -o compDmpi compDmpi-dstat_main.o fourtax.o locusfile.o Stats.o DstatParent.o Dstat.o partD.o Dfoil.o popZParent.o popZDstat.o popZpartD.o popZDfoil.o -lboost_program_options -lpthread
/home/biologistico/miniconda2/bin/../lib/gcc/x86_64-conda-linux-gnu/7.5.0/../../../../x86_64-conda-linux-gnu/bin/ld: /home/biologistico/miniconda2/lib/libboost_program_options.so: undefined reference to `memcpy@GLIBC_2.14'
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:545: compDmpi] Error 1
make[1]: Leaving directory '/home/biologistico/Comp-D_MPI-master/src'
make: *** [Makefile:353: all-recursive] Error 1

from comp-d_mpi.

biologistico avatar biologistico commented on August 11, 2024

I was finally able to install Comp-D_MPI after using

sudo apt-get install libboost-dev libboost-program-options-dev libmpich-dev autotools-dev autoconf

and not

sudo apt-get install libboost-dev libboost-program-options-dev libmpich2-dev autotools-dev autoconf

I'll try running my first D-statistics tests tomorrow! Thanks!

from comp-d_mpi.

stevemussmann avatar stevemussmann commented on August 11, 2024

Glad you got it working. I will add a note to the installation instructions so that others hopefully don't go through the same issues.

-Steve

from comp-d_mpi.

Related Issues (2)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.