Error

HI

I got an error. Please if someone can help me for this. I will be really thankful to you.

Compilation errors found:
In file included from zosa.h:27,
from zosa.cpp:24:
slave.h:27:17: error: mpi.h: No such file or directory
In file included from parsecmd.h:30,
from slave.h:31,
from zosa.h:27,
from zosa.cpp:24:
comm_def.h: In static member function 'static void commroot::perror(std::string)':
comm_def.h:56: error: 'MPI_COMM_WORLD' was not declared in this scope
comm_def.h:56: error: 'MPI_Abort' was not declared in this scope
comm_def.h: In static member function 'static void commroot::error(std::string)':
comm_def.h:62: error: 'MPI_COMM_WORLD' was not declared in this scope
comm_def.h:62: error: 'MPI_Abort' was not declared in this scope
comm_def.h: In static member function 'static void commroot::text(std::string, uint)':
comm_def.h:73: error: 'MPI_COMM_WORLD' was not declared in this scope
comm_def.h:73: error: 'MPI_Comm_rank' was not declared in this scope
In file included from zosa.h:27,
from zosa.cpp:24:
slave.h: At global scope:
slave.h:46: error: 'MPI_Status' does not name a type
Failed checking during preprocessing.
while executing
error: mpi.h: No such file or directory
¿do you have that file?
¿is it in the INCLUDE_PATH ?
That file should be in the compiler .. as by default. like openmpi.
Topic archived. No new replies allowed.