[Beowulf] Compiling mpiJava on Amd64
Many of your questions may have already been answered in earlier discussions or in the FAQ. The search results page will indicate current discussions as well as past list serves, articles, and papers.
Byrne, Michael J Michael.J.Byrne at uth.tmc.eduTue Jul 18 12:56:11 PDT 2006
- Previous message: [Beowulf] What clusters are about - FFT
- Next message: [Beowulf] Compiling mpiJava on Amd64
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
The error is coming up when I run Make. After the .class files are compiled and the .c files are compiled, it tries to make the shared object "libmpijava.so." The default for mpiJava was creating the shared object using the -o flag. I get an error that says: relocation R_X86_64_32 can not be used when making a shared object; recompile with -fPIC When I edit the makefile to change the flag from -o to -fPIC and try Make again, no error is thrown, but the .so is not found. Here is the command and error: /usr/bin/mpicc -shared -fPIC ../../lib/libmpijava.so \ -L/usr/lib64/MPICH/p4/gnu <list of .o's> gcc: ../../lib/libmpijava.so: No such file or directory It seems like it might be a problem in the mpicc script passing to the gcc, but there isn't anything in the mpicc script except building the args together. Has anyone else had this problem, or is experienced with compiling .so's? Michael
- Previous message: [Beowulf] What clusters are about - FFT
- Next message: [Beowulf] Compiling mpiJava on Amd64
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Beowulf mailing list
