LAM/MPI logo

LAM/MPI General User's Mailing List Archives

  |   Home   |   Download   |   Documentation   |   FAQ   |   all just in this list

From: aas_at_[hidden]
Date: 2005-11-08 18:58:50


Hello,

I' m trying to build LAM-7.1.1 for a SunFire V220 machine
running recommended patched Solaris 9 with gcc-3.4.2
(and everything it needs from sunfreeware).

Configuration, making and building of LAM-7.1.1 went just fine with:

'.configure --libdir=/usr/local/lib/64'

CFLAGS=-m64
FFLAGS=-m64
CXXFLAGS=-m64

and

LD_LIBRARY_PATH_32=/usr/lib:/usr/openwin/lib:/usr/local/lib
LD_LIBRARY_PATH_64=/usr/lib/64:/usr/openwin/lib/64:/usr/local/lib/64

which I got from 'man ld.so.1'.

but lamtest configuration says:

ld: warning: file /usr/local/lib/64/liblamf77mpi.a(dupfn_f.o): wrong ELF class: ELFCLASS64
ld: elf error: file /usr/local/lib/64/libmpi.a(MPI.o): elf_getshdr: Request error: class file/memory mismatch
ld: elf error: file /usr/local/lib/64/libmpi.a(MPI.o): elf_getshdr: Request error: class file/memory mismatch
ld: elf error: file /usr/local/lib/64/libmpi.a(MPI.o): elf_getshdr: Request error: class file/memory mismatch
ld: elf error: file /usr/local/lib/64/libmpi.a(MPI.o): elf_getshdr: Request error: class file/memory mismatch
ld: elf error: file /usr/local/lib/64/libmpi.a(MPI.o): elf_getshdr: Request error: class file/memory mismatch
ld: warning: file /usr/local/lib/64/libmpi.a(MPI.o): wrong ELF class: ELFCLASS64
ld: fatal: File processing errors. No output written to conftest
collect2: ld returned 1 exit status
mpif77: No such file or directory

ld: warning: file /usr/local/lib/64/liblamf77mpi.a(dupfn_f.o): wrong ELF class: ELFCLASS64
ld: elf error: file /usr/local/lib/64/libmpi.a(MPI.o): elf_getshdr: Request error: class file/memory mismatch
ld: elf error: file /usr/local/lib/64/libmpi.a(MPI.o): elf_getshdr: Request error: class file/memory mismatch
ld: elf error: file /usr/local/lib/64/libmpi.a(MPI.o): elf_getshdr: Request error: class file/memory mismatch
ld: elf error: file /usr/local/lib/64/libmpi.a(MPI.o): elf_getshdr: Request error: class file/memory mismatch
ld: elf error: file /usr/local/lib/64/libmpi.a(MPI.o): elf_getshdr: Request error: class file/memory mismatch
ld: warning: file /usr/local/lib/64/libmpi.a(MPI.o): wrong ELF class: ELFCLASS64
ld: fatal: File processing errors. No output written to conftest
collect2: ld returned 1 exit status
mpif77: No such file or directory

nevertheless 'make' in lamtest runs without errors. However 'make check'
fails at

mpirun -x TEST -s h C -ssi rpi crtcp /usr/local/lamtests-7.1.1/comm/./attrsetget_f
[**ERROR**]: LAM/MPI MPI_COMM_WORLD rank 0, file attrsetget.c:66:
Getting attribute failed from within a C function
[**ERROR**]: LAM/MPI MPI_COMM_WORLD rank 1, file attrsetget.c:66:
Getting attribute failed from within a C function
-----------------------------------------------------------------------------
One of the processes started by mpirun has exited with a nonzero exit
code. This typically indicates that the process finished in error.
If your process did not finish in error, be sure to include a "return
0" or "exit(0)" in your C code before exiting the application.

PID 28354 failed on node n0 (10.0.0.4) with exit status 1.
-----------------------------------------------------------------------------

my lamnodes are: "n0 supercomp:2:origin,this_node"

What could be wrong?

Thanks in advance for any help,

Alex A. Schmidt