Skip to content

Problems compiling fcma-toolbox #4

@acamargofb

Description

@acamargofb

I am having problems compiling the fcma-toolbox
I did the following:

  1. sudo cmake CMakeList.txt
  2. sudo make
    and I got the following errors:
    ..
    .
    .
    [ 82%] Building CXX object CMakeFiles/FCMA.dir/src/FisherScoring.cc.o
    [ 86%] Building CXX object CMakeFiles/FCMA.dir/src/LibSVM.cc.o
    [ 91%] Building CXX object CMakeFiles/FCMA.dir/src/main.cc.o
    [ 95%] Building CXX object CMakeFiles/FCMA.dir/src/Marginal_Scheduler.cc.o
    [100%] Linking CXX executable FCMA
    CMakeFiles/FCMA.dir/src/Scheduler.cc.o: In function DoSlave(int, int, trial_data_t*, trial_data_t*, Task, trial_t*, int, int, int, int, int)': Scheduler.cc:(.text+0x124): undefined reference to ompi_mpi_comm_world'
    Scheduler.cc:(.text+0x12b): undefined reference to ompi_mpi_int' Scheduler.cc:(.text+0x189): undefined reference to MPI_Recv'
    Scheduler.cc:(.text+0x190): undefined reference to MPI_Wtime' Scheduler.cc:(.text+0x1ec): undefined reference to MPI_Wtime'
    Scheduler.cc:(.text+0x1fd): undefined reference to ompi_mpi_float' Scheduler.cc:(.text+0x221): undefined reference to MPI_Send'
    Scheduler.cc:(.text+0x23e): undefined reference to MPI_Send' Scheduler.cc:(.text+0x249): undefined reference to ompi_mpi_float'
    Scheduler.cc:(.text+0x25f): undefined reference to MPI_Send' Scheduler.cc:(.text+0x2e9): undefined reference to MPI_Wtime'
    Scheduler.cc:(.text+0x2fa): undefined reference to ompi_mpi_float' Scheduler.cc:(.text+0x321): undefined reference to MPI_Send'
    Scheduler.cc:(.text+0x33e): undefined reference to `MPI_Send'
    .
    .
    .

Does somebody know how to fix this issue ?

Have a nice day,

Aldo

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions