Kamran Hameed
2008-04-30 16:12:05 UTC
folks.. i am trying to compile a JNI code. it has header file "mpi.h"
since it has to call MPI_COMM_WORLD. but when i compile the code using
command
gcc code.c -o libcode.so -shared -I/path/to/java -I/path/to/java/
include/linux
it says that "Cant Find "mpi.h:: No Such File or Directory""
whereas when i compile the normal C code of MPI using gcc, it works
fine (as mpich2 is in my PATH).
Can any one tell whats the matter?
since it has to call MPI_COMM_WORLD. but when i compile the code using
command
gcc code.c -o libcode.so -shared -I/path/to/java -I/path/to/java/
include/linux
it says that "Cant Find "mpi.h:: No Such File or Directory""
whereas when i compile the normal C code of MPI using gcc, it works
fine (as mpich2 is in my PATH).
Can any one tell whats the matter?