[Beowulf] error while make mpijava on amd_64

rigved sharma rigved.sharma123 at gmail.com
Wed Mar 3 11:49:42 PST 2010


Hi Mark/Friends,

    we r not getting latest free download version for mpijava for linux for
AMD 64 bit. Also can u suggest the solution n for the error i forwarded.ur
explaination is not very clear 2 me..:(

On Wed, Mar 3, 2010 at 10:07 AM, Mark Hahn <hahn at mcmaster.ca> wrote:

> i am getting this error when i do make for mpijava:
>>
>
> isn't mpijava very old?
>
>
>  /usr/local/mpich-1.2.6/bin/mpicc  -o ../../lib/libmpijava.so \
>>               -L/usr/local/mpich-1.2.6/lib mpi_MPI.o       mpi_Comm.o
>> mpi_Op.o        mpi_Datatype.o mpi_Intracomm.o mpi_Intercomm.o
>> mpi_Cartcomm.o  mpi_Gr
>> aphcomm.o mpi_Group.o     mpi_Status.o mpi_Request.o mpi_Errhandler.o ;
>>
>> /usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../../lib64/crt1.o(.text+0x21):
>> In function `_start':
>> : undefined reference to `main'
>>
>
> which is gcc's way of saying "I'm trying to link an executable not a shared
> library."  it needs -shared in there.  likely it also needs -fPIC when
> compiling the .o files.  or maybe just stick to static archives, which are
> generally simpler...
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.beowulf.org/pipermail/beowulf/attachments/20100304/1ae89c02/attachment.html>


More information about the Beowulf mailing list