[Beowulf] error while make mpijava on amd_64

rigved sharma rigved.sharma123 at gmail.com
Mon Mar 1 02:54:33 PST 2010


hi,
i am getting this error when i do make for mpijava:

make[2]: Leaving directory `/misc/local/mpiJAVA/mpiJava/src/Java'
--- Making C
make[2]: Entering directory `/misc/local/mpiJAVA/mpiJava/src/C'
/usr/local/mpich-1.2.6/bin/mpicc -c   -I/usr/java/j2sdk1.4.2/include
-I/usr/java/j2sdk1.4.2/include/ -I/usr/local/mpich-1.2.6/include  -o
mpi_MPI.o mpi_MPI.c
/usr/local/mpich-1.2.6/bin/mpicc -c   -I/usr/java/j2sdk1.4.2/include
-I/usr/java/j2sdk1.4.2/include/ -I/usr/local/mpich-1.2.6/include  -o
mpi_Comm.o mpi_Comm
.c
/usr/local/mpich-1.2.6/bin/mpicc -c   -I/usr/java/j2sdk1.4.2/include
-I/usr/java/j2sdk1.4.2/include/ -I/usr/local/mpich-1.2.6/include  -o
mpi_Op.o mpi_Op.c
/usr/local/mpich-1.2.6/bin/mpicc -c   -I/usr/java/j2sdk1.4.2/include
-I/usr/java/j2sdk1.4.2/include/ -I/usr/local/mpich-1.2.6/include  -o
mpi_Datatype.o mpi_
Datatype.c
/usr/local/mpich-1.2.6/bin/mpicc -c   -I/usr/java/j2sdk1.4.2/include
-I/usr/java/j2sdk1.4.2/include/ -I/usr/local/mpich-1.2.6/include  -o
mpi_Intracomm.o mpi
_Intracomm.c
/usr/local/mpich-1.2.6/bin/mpicc -c   -I/usr/java/j2sdk1.4.2/include
-I/usr/java/j2sdk1.4.2/include/ -I/usr/local/mpich-1.2.6/include  -o
mpi_Intercomm.o mpi
_Intercomm.c
/usr/local/mpich-1.2.6/bin/mpicc -c   -I/usr/java/j2sdk1.4.2/include
-I/usr/java/j2sdk1.4.2/include/ -I/usr/local/mpich-1.2.6/include  -o
mpi_Cartcomm.o mpi_
Cartcomm.c
/usr/local/mpich-1.2.6/bin/mpicc -c   -I/usr/java/j2sdk1.4.2/include
-I/usr/java/j2sdk1.4.2/include/ -I/usr/local/mpich-1.2.6/include  -o
mpi_Graphcomm.o mpi
_Graphcomm.c
/usr/local/mpich-1.2.6/bin/mpicc -c   -I/usr/java/j2sdk1.4.2/include
-I/usr/java/j2sdk1.4.2/include/ -I/usr/local/mpich-1.2.6/include  -o
mpi_Group.o mpi_Gro
up.c
/usr/local/mpich-1.2.6/bin/mpicc -c   -I/usr/java/j2sdk1.4.2/include
-I/usr/java/j2sdk1.4.2/include/ -I/usr/local/mpich-1.2.6/include  -o
mpi_Status.o mpi_St
atus.c
mpi_Status.c:244:8: warning: extra tokens at end of #endif directive
/usr/local/mpich-1.2.6/bin/mpicc -c   -I/usr/java/j2sdk1.4.2/include
-I/usr/java/j2sdk1.4.2/include/ -I/usr/local/mpich-1.2.6/include  -o
mpi_Request.o mpi_R
equest.c
/usr/local/mpich-1.2.6/bin/mpicc -c   -I/usr/java/j2sdk1.4.2/include
-I/usr/java/j2sdk1.4.2/include/ -I/usr/local/mpich-1.2.6/include  -o
mpi_Errhandler.o mp
i_Errhandler.c
rm -f ../../lib/libmpijava.so
/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'
collect2: ld returned 1 exit status
make[2]: *** [../../lib/libmpi.so] Error 1
make[2]: Leaving directory `/misc/local/mpiJAVA/mpiJava/src/C'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/misc/local/mpiJAVA/mpiJava/src'
make: *** [all] Error 2
-----------------------------------


uname -a : Linux,testmc,2.6.9-42.0.2.EL_lustre.1.4.7.3smp #1 SMP 2006 x86_64
x86_64 x86_64 GNU/Linux,

mpich :/usr/local/mpich-1.2.6
java : /usr/java/j2sdk1.4.2

both are part of path variable...what is wrong?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.beowulf.org/pipermail/beowulf/attachments/20100301/10ab0a62/attachment.html>


More information about the Beowulf mailing list