[Beowulf] Compiling mpiJava on Amd64

Joe Landman landman at scalableinformatics.com
Wed Jul 19 06:13:40 PDT 2006



Byrne, Michael J wrote:

[ignores the mpiJava bit, focuses upon the build]

> When I edit the makefile to change the flag from -o to -fPIC and try

don't remove -o, add -fPIC to compilation and linking flags.

> 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?

Looks like you removed the -o flag (should not have), and added -fPIC.


-- 
Joseph Landman, Ph.D
Founder and CEO
Scalable Informatics LLC,
email: landman at scalableinformatics.com
web  : http://www.scalableinformatics.com
phone: +1 734 786 8423
fax  : +1 734 786 8452 or +1 866 888 3112
cell : +1 734 612 4615



More information about the Beowulf mailing list