Page 1 of 1

Compiling OpenSees Parallel in Fedora 4 y Red Hat 9

Posted: Wed Jul 22, 2009 4:09 pm
by pdirene
Hi everyone.

Can you please help me, understand the errors in the following compilation.

I am trying to compile OpenSees on a cluster with Febora 2.6.9-1.667smp and also with Red Hat 2.4.21-4.EL. I am using the tools and Makefile in the following:

- Makefile.def.LINUX_CLUSTER for FEDORA.
LINK the MakeFile, help me modify if need:
[url]
https://docs.google.com/Doc?docid=0AaZX ... bWQ4&hl=en
[/url]

- Makefile.def.LINUX_CLUSTER for RED HAT.
LINK the MakeFile help me modify if need:
[url]
https://docs.google.com/Doc?docid=0AaZX ... a2dw&hl=en
[/url]

- Mpich-1.2.6

- Petsc-2.2.1

- TCL and TK 8.5

I compiled all the tools successfully but when I compile OpenSees with command “make” there are errors. Here is.

****** Demonstration of the errors ******

g++: /home/cluster/OpenSees/SRC/system_of_eqn/linearSOE/petsc/PetscSOE.o: No existe el fichero o el directorio
g++: /home/cluster/OpenSees/SRC/system_of_eqn/linearSOE/petsc/PetscSolver.o: No existe el fichero o el directorio
g++: /home/cluster/OpenSees/SRC/system_of_eqn/linearSOE/petsc/PetscSparseSeqSolver.o: No existe el fichero o el directorio
make[1]: *** [tcl] Error 1
make[1]: Saliendo directorio `/home/cluster/OpenSees/SRC/modelbuilder/tcl'
make: *** [all] Error 2

I would appreciate if anyone could give me some feedback on the errors I get.

Thanks you for your help.
Daniel

Posted: Mon Jul 27, 2009 2:25 pm
by fmk
try cd'ing into the petsc directory and typing make to create the .o files that are missing, then back to OpenSees and type make again

Compiling OpenSees Parallel in Fedora 4 Red Hat 9

Posted: Thu Jul 30, 2009 3:48 pm
by pdirene
Thank you.

I did these changes, but also add the variable PETSC in the Makefile.def of OpenSees.

PETSC = YES

Because in /OpenSees/SRC/system_of_eqn/linearSOE/petsc/ the file makefile, don’t go into to the condition following:

ifdef PETSC
OBJS = PetscSOE.o PetscSolver.o PetscSparseSeqSolver.o
Endif

With these changes, I generated the libraries right: PetscSOE.o PetscSolver.o PetscSparseSeqSolver.o

For view the Makefile.def do click HERE
LINK:
[url]
https://docs.google.com/Doc?docid=0AaZX ... Y2No&hl=en
[/url]

I did a tutorial with all instructions for compile the Data Base BerkeleyDB, TCL, TCLTK, MPICH, PETSC, and OpenSees.

For view the Tutorial do click HERE
LINK:
[url]
https://docs.google.com/fileview?id=0B6 ... MWE0&hl=en
[/url]

I compiled all successfully but get these errors when turn to compile OpenSees:

Demonstration of the errors:

ake[3]: Cambiando a directorio `/home/cluster/OpenSees/SRC/recorder/response'
make[3]: No se hace nada para `all'.
make[3]: Saliendo directorio `/home/cluster/OpenSees/SRC/recorder/response'
make[2]: Saliendo directorio `/home/cluster/OpenSees/SRC/damage'
make[2]: Cambiando a directorio `/home/cluster/OpenSees/SRC/api'
make[2]: No se hace nada para `all'.
make[2]: Saliendo directorio `/home/cluster/OpenSees/SRC/api'
make[1]: Saliendo directorio `/home/cluster/OpenSees/SRC'

LIBRARIES BUILT ... NOW LINKING OpenSees PROGRAM

make[1]: Cambiando a directorio `/home/cluster/OpenSees/SRC/tcl'
make[1]: No se hace nada para `tcl'.
make[1]: Saliendo directorio `/home/cluster/OpenSees/SRC/tcl'
make[1]: Cambiando a directorio `/home/cluster/OpenSees/SRC/modelbuilder/tcl'
Makefile:21: atencion: se imponen comandos para el objetivo `tcl'
Makefile:13: atencion: se ignoran las instrucciones viejas para el objetivo `tcl'
Makefile:38: atencion: se imponen comandos para el objetivo `tcl'
Makefile:21: atencion: se ignoran las instrucciones viejas para el objetivo `tcl'
Makefile:49: atencion: se imponen comandos para el objetivo `tk'
Makefile:29: atencion: se ignoran las instrucciones viejas para el objetivo `tk'
make[2]: Cambiando a directorio `/home/cluster/OpenSees/SRC/tcl'
make[2]: No se hace nada para `tcl'.
make[2]: Saliendo directorio `/home/cluster/OpenSees/SRC/tcl'

/home/cluster/lib/libDistributedSuperLU.a(pdgssvx_ABglobal.o)(.text+0x724): In function `pdgssvx_ABglobal':
: referencia a `lam_mpi_int' sin definir
/home/cluster/lib/libDistributedSuperLU.a(pdgssvx_ABglobal.o)(.text+0x751): In function `pdgssvx_ABglobal':
: referencia a `lam_mpi_double' sin definir
/home/cluster/lib/libDistributedSuperLU.a(pdgssvx_ABglobal.o)(.text+0x774): In function `pdgssvx_ABglobal':
: referencia a `lam_mpi_double' sin definir
/home/cluster/lib/libDistributedSuperLU.a(pdgssvx_ABglobal.o)(.text+0x797): In function `pdgssvx_ABglobal':
: referencia a `lam_mpi_double' sin definir
/home/cluster/lib/libDistributedSuperLU.a(pdgssvx_ABglobal.o)(.text+0x7b7): In function `pdgssvx_ABglobal':
: referencia a `lam_mpi_double' sin definir
/home/cluster/lib/libDistributedSuperLU.a(pdgssvx_ABglobal.o)(.text+0x7d7): In function `pdgssvx_ABglobal':
: referencia a `lam_mpi_double' sin definir
/home/cluster/lib/libDistributedSuperLU.a(pdgssvx_ABglobal.o)(.text+0x866): In function `pdgssvx_ABglobal':
: referencia a `lam_mpi_int' sin definir
/home/cluster/lib/libDistributedSuperLU.a(pdgssvx_ABglobal.o)(.text+0x893): In function `pdgssvx_ABglobal':
: referencia a `lam_mpi_double' sin definir
/home/cluster/lib/libDistributedSuperLU.a(pdgssvx_ABglobal.o)(.text+0x8b6): In function `pdgssvx_ABglobal':
: referencia a `lam_mpi_double' sin definir
/home/cluster/lib/libDistributedSuperLU.a(pdgssvx_ABglobal.o)(.text+0x8d9): In function `pdgssvx_ABglobal':
: referencia a `lam_mpi_double' sin definir
/home/cluster/lib/libDistributedSuperLU.a(pdgssvx_ABglobal.o)(.text+0x8f9): In function `pdgssvx_ABglobal':
: referencia a `lam_mpi_double' sin definir
/home/cluster/lib/libDistributedSuperLU.a(pdgssvx_ABglobal.o)(.text+0x919): In function `pdgssvx_ABglobal':
: referencia a `lam_mpi_double' sin definir
/home/cluster/lib/libDistributedSuperLU.a(pdgssvx_ABglobal.o)(.text+0xbff): In function `pdgssvx_ABglobal':
: referencia a `lam_mpi_int' sin definir
/home/cluster/lib/libDistributedSuperLU.a(pdgssvx_ABglobal.o)(.text+0xc33): In function `pdgssvx_ABglobal':
: referencia a `lam_mpi_double' sin definir
/home/cluster/lib/libDistributedSuperLU.a(pdgssvx_ABglobal.o)(.text+0xc56): In function `pdgssvx_ABglobal':
: referencia a `lam_mpi_double' sin definir
/home/cluster/lib/libDistributedSuperLU.a(pdgssvx_ABglobal.o)(.text+0xc7b): In function `pdgssvx_ABglobal':
: referencia a `lam_mpi_int' sin definir
/home/cluster/lib/libDistributedSuperLU.a(pdgssvx_ABglobal.o)(.text+0xca7): In function `pdgssvx_ABglobal':
: referencia a `lam_mpi_double' sin definir
/home/cluster/lib/libDistributedSuperLU.a(pdgssvx_ABglobal.o)(.text+0xcca): In function `pdgssvx_ABglobal':
: referencia a `lam_mpi_double' sin definir
/home/cluster/lib/libDistributedSuperLU.a(pdgsrfs_ABXglobal.o)(.text+0x92d): In function `pdgsrfs_ABXglobal':
: referencia a `lam_mpi_max' sin definir
/home/cluster/lib/libDistributedSuperLU.a(pdgsrfs_ABXglobal.o)(.text+0x932): In function `pdgsrfs_ABXglobal':
: referencia a `lam_mpi_double' sin definir
/home/cluster/lib/libDistributedSuperLU.a(pdgsrfs_ABXglobal.o)(.text+0xcf0): In function `redist_all_to_diag':
: referencia a `lam_mpi_double' sin definir
/home/cluster/lib/libDistributedSuperLU.a(pdgsrfs_ABXglobal.o)(.text+0xd76): In function `redist_all_to_diag':
: referencia a `lam_mpi_double' sin definir
/home/cluster/lib/libDistributedSuperLU.a(pdgsrfs_ABXglobal.o)(.text+0xed0): In function `gather_1rhs_diag_to_all':
: referencia a `lam_mpi_double' sin definir
/home/cluster/lib/libDistributedSuperLU.a(pdgsrfs_ABXglobal.o)(.text+0xef0): In function `gather_1rhs_diag_to_all':
: referencia a `lam_mpi_double' sin definir
/home/cluster/lib/libDistributedSuperLU.a(util.o)(.text+0xd6e): In function `PStatPrint':
: referencia a `lam_mpi_sum' sin definir
/home/cluster/lib/libDistributedSuperLU.a(util.o)(.text+0xd73): In function `PStatPrint':
: referencia a `lam_mpi_float' sin definir
/home/cluster/lib/libDistributedSuperLU.a(util.o)(.text+0xe0c): In function `PStatPrint':
: referencia a `lam_mpi_sum' sin definir
/home/cluster/lib/libDistributedSuperLU.a(util.o)(.text+0xe11): In function `PStatPrint':
: referencia a `lam_mpi_float' sin definir
/home/cluster/lib/libDistributedSuperLU.a(superlu_grid.o)(.text+0x165): In function `superlu_gridmap':
: referencia a `lam_mpi_double' sin definir
/home/cluster/lib/libDistributedSuperLU.a(superlu_grid.o)(.text+0x388): In function `superlu_gridexit':
: referencia a `lam_mpi_comm_world' sin definir
/home/cluster/lib/libDistributedSuperLU.a(ddistribute.o)(.text+0x2713): In function `ddistribute':
: referencia a `lam_mpi_max' sin definir
/home/cluster/lib/libDistributedSuperLU.a(ddistribute.o)(.text+0x2718): In function `ddistribute':
: referencia a `lam_mpi_int' sin definir
/home/cluster/lib/libDistributedSuperLU.a(pdgstrf_irecv.o)(.text+0x79a): In function `pdgstrf':
: referencia a `lam_mpi_int' sin definir
/home/cluster/lib/libDistributedSuperLU.a(pdgstrf_irecv.o)(.text+0x7d9): In function `pdgstrf':
: referencia a `lam_mpi_double' sin definir
/home/cluster/lib/libDistributedSuperLU.a(pdgstrf_irecv.o)(.text+0x829): In function `pdgstrf':
: referencia a `lam_mpi_int' sin definir
/home/cluster/lib/libDistributedSuperLU.a(pdgstrf_irecv.o)(.text+0x85b): In function `pdgstrf':
: referencia a `lam_mpi_double' sin definir
/home/cluster/lib/libDistributedSuperLU.a(pdgstrf_irecv.o)(.text+0xa28): In function `pdgstrf':
: referencia a `lam_mpi_int' sin definir
/home/cluster/lib/libDistributedSuperLU.a(pdgstrf_irecv.o)(.text+0xa65): In function `pdgstrf':
: referencia a `lam_mpi_double' sin definir
/home/cluster/lib/libDistributedSuperLU.a(pdgstrf_irecv.o)(.text+0xbf6): In function `pdgstrf':
: referencia a `lam_mpi_int' sin definir
/home/cluster/lib/libDistributedSuperLU.a(pdgstrf_irecv.o)(.text+0xc34): In function `pdgstrf':
: referencia a `lam_mpi_double' sin definir
/home/cluster/lib/libDistributedSuperLU.a(pdgstrf_irecv.o)(.text+0xca3): In function `pdgstrf':
: referencia a `lam_mpi_int' sin definir
/home/cluster/lib/libDistributedSuperLU.a(pdgstrf_irecv.o)(.text+0xcc9): In function `pdgstrf':
: referencia a `lam_mpi_int' sin definir
/home/cluster/lib/libDistributedSuperLU.a(pdgstrf_irecv.o)(.text+0xd0c): In function `pdgstrf':
: referencia a `lam_mpi_double' sin definir
/home/cluster/lib/libDistributedSuperLU.a(pdgstrf_irecv.o)(.text+0xd32): In function `pdgstrf':
: referencia a `lam_mpi_double' sin definir
/home/cluster/lib/libDistributedSuperLU.a(pdgstrf_irecv.o)(.text+0x1abc): In function `pdgstrf':
: referencia a `lam_mpi_int' sin definir
/home/cluster/lib/libDistributedSuperLU.a(pdgstrf_irecv.o)(.text+0x1b10): In function `pdgstrf':
: referencia a `lam_mpi_double' sin definir
/home/cluster/lib/libDistributedSuperLU.a(pdgstrf_irecv.o)(.text+0x1b89): In function `pdgstrf':
: referencia a `lam_mpi_int' sin definir
/home/cluster/lib/libDistributedSuperLU.a(pdgstrf_irecv.o)(.text+0x1bef): In function `pdgstrf':
: referencia a `lam_mpi_double' sin definir
/home/cluster/lib/libDistributedSuperLU.a(pdgstrf_irecv.o)(.text+0x276a): In function `pdgstrf':
: referencia a `lam_mpi_min' sin definir
/home/cluster/lib/libDistributedSuperLU.a(pdgstrf_irecv.o)(.text+0x276f): In function `pdgstrf':
: referencia a `lam_mpi_int' sin definir
/home/cluster/lib/libDistributedSuperLU.a(pdgstrf_irecv.o)(.text+0x2a21): In function `pdgstrf2':
: referencia a `lam_mpi_double' sin definir
/home/cluster/lib/libDistributedSuperLU.a(pdgstrs_Bglobal.o)(.text+0x725): In function `pdgstrs_Bglobal':
: referencia a `lam_mpi_sum' sin definir
/home/cluster/lib/libDistributedSuperLU.a(pdgstrs_Bglobal.o)(.text+0x72a): In function `pdgstrs_Bglobal':
: referencia a `lam_mpi_int' sin definir
/home/cluster/lib/libDistributedSuperLU.a(pdgstrs_Bglobal.o)(.text+0xa5e): In function `pdgstrs_Bglobal':
: referencia a `lam_mpi_double' sin definir
/home/cluster/lib/libDistributedSuperLU.a(pdgstrs_Bglobal.o)(.text+0xbc0): In function `pdgstrs_Bglobal':
: referencia a `lam_mpi_double' sin definir
/home/cluster/lib/libDistributedSuperLU.a(pdgstrs_Bglobal.o)(.text+0x1040): In function `pdgstrs_Bglobal':
: referencia a `lam_mpi_double' sin definir
/home/cluster/lib/libDistributedSuperLU.a(pdgstrs_Bglobal.o)(.text+0x1341): In function `pdgstrs_Bglobal':
: referencia a `lam_mpi_sum' sin definir
/home/cluster/lib/libDistributedSuperLU.a(pdgstrs_Bglobal.o)(.text+0x1346): In function `pdgstrs_Bglobal':
: referencia a `lam_mpi_int' sin definir
/home/cluster/lib/libDistributedSuperLU.a(pdgstrs_Bglobal.o)(.text+0x1ca6): In function `pdgstrs_Bglobal':
: referencia a `lam_mpi_double' sin definir
/home/cluster/lib/libDistributedSuperLU.a(pdgstrs_Bglobal.o)(.text+0x1de5): In function `pdgstrs_Bglobal':
: referencia a `lam_mpi_double' sin definir
/home/cluster/lib/libDistributedSuperLU.a(pdgstrs_Bglobal.o)(.text+0x21a3): In function `pdgstrs_Bglobal':
: referencia a `lam_mpi_double' sin definir
/home/cluster/lib/libDistributedSuperLU.a(pdgstrs_Bglobal.o)(.text+0x26c4): In function `gather_diag_to_all':
: referencia a `lam_mpi_double' sin definir
/home/cluster/lib/libDistributedSuperLU.a(pdgstrs_Bglobal.o)(.text+0x26e4): In function `gather_diag_to_all':
: referencia a `lam_mpi_double' sin definir
/home/cluster/lib/libDistributedSuperLU.a(pdgstrs1.o)(.text+0x5ad): In function `pdgstrs1':
: referencia a `lam_mpi_sum' sin definir
/home/cluster/lib/libDistributedSuperLU.a(pdgstrs1.o)(.text+0x5b2): In function `pdgstrs1':
: referencia a `lam_mpi_int' sin definir
/home/cluster/lib/libDistributedSuperLU.a(pdgstrs1.o)(.text+0x899): In function `pdgstrs1':
: referencia a `lam_mpi_double' sin definir
/home/cluster/lib/libDistributedSuperLU.a(pdgstrs1.o)(.text+0x9f5): In function `pdgstrs1':
: referencia a `lam_mpi_double' sin definir
/home/cluster/lib/libDistributedSuperLU.a(pdgstrs1.o)(.text+0xe25): In function `pdgstrs1':
: referencia a `lam_mpi_double' sin definir
/home/cluster/lib/libDistributedSuperLU.a(pdgstrs1.o)(.text+0x1114): In function `pdgstrs1':
: referencia a `lam_mpi_sum' sin definir
/home/cluster/lib/libDistributedSuperLU.a(pdgstrs1.o)(.text+0x1119): In function `pdgstrs1':
: referencia a `lam_mpi_int' sin definir
/home/cluster/lib/libDistributedSuperLU.a(pdgstrs1.o)(.text+0x19d2): In function `pdgstrs1':
: referencia a `lam_mpi_double' sin definir
/home/cluster/lib/libDistributedSuperLU.a(pdgstrs1.o)(.text+0x1b0b): In function `pdgstrs1':
: referencia a `lam_mpi_double' sin definir
/home/cluster/lib/libDistributedSuperLU.a(pdgstrs1.o)(.text+0x1e7f): In function `pdgstrs1':
: referencia a `lam_mpi_double' sin definir
/home/cluster/lib/libDistributedSuperLU.a(pdgstrs_lsum.o)(.text+0x2e7): In function `dlsum_fmod':
: referencia a `lam_mpi_double' sin definir
/home/cluster/lib/libDistributedSuperLU.a(pdgstrs_lsum.o)(.text+0x521): In function `dlsum_fmod':
: referencia a `lam_mpi_double' sin definir
/home/cluster/lib/libDistributedSuperLU.a(pdgstrs_lsum.o)(.text+0x99c): más referencias a `lam_mpi_double' sin definir a continuacion
collect2: ld devolvio el estado de salida 1
make[1]: *** [tcl] Error 1
make[1]: Saliendo directorio `/home/cluster/OpenSees/SRC/modelbuilder/tcl'
make: *** [all] Error 2
[root@localhost OpenSees]#


I would appreciate you feedbacks on the errors I get.

Thanks you for your help.
Daniel

Posted: Fri Jul 31, 2009 12:55 pm
by fmk
it's looking for lam mpi symbols .. you need to add the lam mpi libraries to the other included libraries.

Compiling OpenSees Parallel in Fedora 4 Red Hat 9

Posted: Thu Aug 06, 2009 2:26 pm
by pdireneutpl
Thank you.

I added the path (/usr/lib) of the library liblam.a and the path (/usr/include) of the library lam_config.h

These libraries came install in the system operative Linux Red Hat 9 in these paths.

The flags are the following:

PETSC = YES
MPICC = mpicc
MPIINC = -I/usr/local/mpi/include -I/usr/include -I/usr/lib
MPILIB = -L/usr/local/mpi/lib -L/usr/lib -lmpich -lampe -lfmpich -llmpe -lmpe -lmpe_nompi -lmpichfsup -lpmpich -lpmpich++ -ltmpe

However I have the same errors.

I need install other version of Lam MPI?

How I put the path and flags of LAM_MPI in the Makefile.def?

For view or modify the Makefile.def do click HERE
LINK:
[url]
https://docs.google.com/Doc?docid=0AaZX ... Y2No&hl=en
[/url]

Demonstration of the errors:

-ldl -lieee -lm -lc -lg2c -Wl,-rpath,/usr/lib -lpng -L/usr/local/mpi/lib -L/usr/lib -lmpich -lampe -lfmpich -llmpe -lmpe -lmpe_nompi -lmpichfsup -lpmpich -lpmpich++ -ltmpe -o /home/cluster/bin/OpenSees
/usr/local/mpi/bin/mpicxx -rdynamic /home/cluster/OpenSees/SRC/tcl/tclMain.o /home/cluster/OpenSees/SRC/tcl/mpiMain.o /home/cluster/OpenSees/SRC/tcl/commands.o /home/cluster/OpenSees/SRC/modelbuilder/tcl/myCommands.o /home/cluster/OpenSees/SRC/actor/channel/MPI_Channel.o /home/cluster/OpenSees/SRC/actor/machineBroker/MPI_MachineBroker.o /home/cluster/OpenSees/SRC/domain/subdomain/ActorSubdomain.o /home/cluster/OpenSees/SRC/domain/subdomain/ShadowSubdomain.o /home/cluster/OpenSees/SRC/tcl/TclFeViewer.o /home/cluster/OpenSees/SRC/tcl/TclPlayer.o /home/cluster/lib/libOpenSees.a -L/lib -L/home/cluster/lib /home/cluster/OpenSees/SRC/system_of_eqn/linearSOE/sparseGEN/DistributedSuperLU.o /home/cluster/OpenSees/SRC/system_of_eqn/linearSOE/sparseGEN/DistributedSparseGenColLinSOE.o /home/cluster/OpenSees/SRC/system_of_eqn/linearSOE/sparseGEN/SparseGenColLinSOE.o /home/cluster/lib/libDistributedSuperLU.a -lm /home/cluster/lib/libArpack.a /home/cluster/lib/libDistributedSuperLU.a /home/cluster/lib/libSuperLU.a /home/cluster/lib/libUmfpack.a /home/cluster/lib/libLapack.a /home/cluster/lib/libBlas.a /home/cluster/lib/libCBlas.a /home/cluster/lib/libMetis.a /home/cluster/OpenSees/SRC/system_of_eqn/linearSOE/petsc/PetscSOE.o /home/cluster/OpenSees/SRC/system_of_eqn/linearSOE/petsc/PetscSolver.o /home/cluster/OpenSees/SRC/system_of_eqn/linearSOE/petsc/PetscSparseSeqSolver.o /home/cluster/OpenSees/OTHER/LAPACK/dgebak.o /home/cluster/OpenSees/OTHER/LAPACK/dgebal.o /home/cluster/OpenSees/OTHER/LAPACK/dgeev.o /home/cluster/OpenSees/OTHER/LAPACK/dgehd2.o /home/cluster/OpenSees/OTHER/LAPACK/dgehrd.o /home/cluster/OpenSees/OTHER/LAPACK/dhseqr.o /home/cluster/OpenSees/OTHER/LAPACK/dlahrd.o /home/cluster/OpenSees/OTHER/LAPACK/dorg2r.o /home/cluster/OpenSees/OTHER/LAPACK/dorghr.o /home/cluster/OpenSees/OTHER/LAPACK/dorgqr.o /home/cluster/OpenSees/OTHER/LAPACK/dpotrf.o /home/cluster/OpenSees/OTHER/LAPACK/dpotrs.o /home/cluster/petsc-2.2.1/lib/libg/linux-gnu/libpetscsnes.a /home/cluster/petsc-2.2.1/lib/libg/linux-gnu/libpetscksp.a /home/cluster/petsc-2.2.1/lib/libg/linux-gnu/libpetscdm.a /home/cluster/petsc-2.2.1/lib/libg/linux-gnu/libpetscmat.a /home/cluster/petsc-2.2.1/lib/libg/linux-gnu/libpetscvec.a /home/cluster/petsc-2.2.1/lib/libg/linux-gnu/libpetsc.a -lg2c -ldl /home/cluster/tk85/lib/libtk8.5.so /home/cluster/tcl85/lib/libtcl8.5.so -ldl -lieee -lm -lc -lg2c -Wl,-rpath,/usr/lib -lpng -L/usr/local/mpi/lib -L/usr/lib -lmpich -lampe -lfmpich -llmpe -lmpe -lmpe_nompi -lmpichfsup -lpmpich -lpmpich++ -ltmpe -o /home/cluster/bin/OpenSees
/home/cluster/lib/libDistributedSuperLU.a(pdgssvx_ABglobal.o)(.text+0x724): In function `pdgssvx_ABglobal':
: referencia a `lam_mpi_int' sin definir
/home/cluster/lib/libDistributedSuperLU.a(pdgssvx_ABglobal.o)(.text+0x751): In function `pdgssvx_ABglobal':
: referencia a `lam_mpi_double' sin definir
/home/cluster/lib/libDistributedSuperLU.a(pdgssvx_ABglobal.o)(.text+0x774): In function `pdgssvx_ABglobal':
: referencia a `lam_mpi_double' sin definir
/home/cluster/lib/libDistributedSuperLU.a(pdgssvx_ABglobal.o)(.text+0x797): In function `pdgssvx_ABglobal':
: referencia a `lam_mpi_double' sin definir
/home/cluster/lib/libDistributedSuperLU.a(pdgssvx_ABglobal.o)(.text+0x7b7): In function `pdgssvx_ABglobal':
: referencia a `lam_mpi_double' sin definir
/home/cluster/lib/libDistributedSuperLU.a(pdgssvx_ABglobal.o)(.text+0x7d7): In function `pdgssvx_ABglobal':
: referencia a `lam_mpi_double' sin definir
/home/cluster/lib/libDistributedSuperLU.a(pdgssvx_ABglobal.o)(.text+0x866): In function `pdgssvx_ABglobal':
: referencia a `lam_mpi_int' sin definir
/home/cluster/lib/libDistributedSuperLU.a(pdgssvx_ABglobal.o)(.text+0x893): In function `pdgssvx_ABglobal':
: referencia a `lam_mpi_double' sin definir
/home/cluster/lib/libDistributedSuperLU.a(pdgssvx_ABglobal.o)(.text+0x8b6): In function `pdgssvx_ABglobal':
: referencia a `lam_mpi_double' sin definir
/home/cluster/lib/libDistributedSuperLU.a(pdgssvx_ABglobal.o)(.text+0x8d9): In function `pdgssvx_ABglobal':
: referencia a `lam_mpi_double' sin definir
/home/cluster/lib/libDistributedSuperLU.a(pdgssvx_ABglobal.o)(.text+0x8f9): In function `pdgssvx_ABglobal':
: referencia a `lam_mpi_double' sin definir
/home/cluster/lib/libDistributedSuperLU.a(pdgssvx_ABglobal.o)(.text+0x919): In function `pdgssvx_ABglobal':
: referencia a `lam_mpi_double' sin definir
/home/cluster/lib/libDistributedSuperLU.a(pdgssvx_ABglobal.o)(.text+0xbff): In function `pdgssvx_ABglobal':
: referencia a `lam_mpi_int' sin definir
/home/cluster/lib/libDistributedSuperLU.a(pdgssvx_ABglobal.o)(.text+0xc33): In function `pdgssvx_ABglobal':
: referencia a `lam_mpi_double' sin definir
/home/cluster/lib/libDistributedSuperLU.a(pdgssvx_ABglobal.o)(.text+0xc56): In function `pdgssvx_ABglobal':
: referencia a `lam_mpi_double' sin definir
/home/cluster/lib/libDistributedSuperLU.a(pdgssvx_ABglobal.o)(.text+0xc7b): In function `pdgssvx_ABglobal':
: referencia a `lam_mpi_int' sin definir
/home/cluster/lib/libDistributedSuperLU.a(pdgssvx_ABglobal.o)(.text+0xca7): In function `pdgssvx_ABglobal':
: referencia a `lam_mpi_double' sin definir
/home/cluster/lib/libDistributedSuperLU.a(pdgssvx_ABglobal.o)(.text+0xcca): In function `pdgssvx_ABglobal':
: referencia a `lam_mpi_double' sin definir
/home/cluster/lib/libDistributedSuperLU.a(pdgsrfs_ABXglobal.o)(.text+0x92d): In function `pdgsrfs_ABXglobal':
: referencia a `lam_mpi_max' sin definir
/home/cluster/lib/libDistributedSuperLU.a(pdgsrfs_ABXglobal.o)(.text+0x932): In function `pdgsrfs_ABXglobal':
: referencia a `lam_mpi_double' sin definir
/home/cluster/lib/libDistributedSuperLU.a(pdgsrfs_ABXglobal.o)(.text+0xcf0): In function `redist_all_to_diag':
: referencia a `lam_mpi_double' sin definir
/home/cluster/lib/libDistributedSuperLU.a(pdgsrfs_ABXglobal.o)(.text+0xd76): In function `redist_all_to_diag':
: referencia a `lam_mpi_double' sin definir
/home/cluster/lib/libDistributedSuperLU.a(pdgsrfs_ABXglobal.o)(.text+0xed0): In function `gather_1rhs_diag_to_all':
: referencia a `lam_mpi_double' sin definir
/home/cluster/lib/libDistributedSuperLU.a(pdgsrfs_ABXglobal.o)(.text+0xef0): In function `gather_1rhs_diag_to_all':
: referencia a `lam_mpi_double' sin definir
/home/cluster/lib/libDistributedSuperLU.a(util.o)(.text+0xd6e): In function `PStatPrint':
: referencia a `lam_mpi_sum' sin definir
/home/cluster/lib/libDistributedSuperLU.a(util.o)(.text+0xd73): In function `PStatPrint':
: referencia a `lam_mpi_float' sin definir
/home/cluster/lib/libDistributedSuperLU.a(util.o)(.text+0xe0c): In function `PStatPrint':
: referencia a `lam_mpi_sum' sin definir
/home/cluster/lib/libDistributedSuperLU.a(util.o)(.text+0xe11): In function `PStatPrint':
: referencia a `lam_mpi_float' sin definir
/home/cluster/lib/libDistributedSuperLU.a(superlu_grid.o)(.text+0x165): In function `superlu_gridmap':
: referencia a `lam_mpi_double' sin definir
/home/cluster/lib/libDistributedSuperLU.a(superlu_grid.o)(.text+0x388): In function `superlu_gridexit':
: referencia a `lam_mpi_comm_world' sin definir
/home/cluster/lib/libDistributedSuperLU.a(ddistribute.o)(.text+0x2713): In function `ddistribute':
: referencia a `lam_mpi_max' sin definir
/home/cluster/lib/libDistributedSuperLU.a(ddistribute.o)(.text+0x2718): In function `ddistribute':
: referencia a `lam_mpi_int' sin definir
/home/cluster/lib/libDistributedSuperLU.a(pdgstrf_irecv.o)(.text+0x79a): In function `pdgstrf':
: referencia a `lam_mpi_int' sin definir
/home/cluster/lib/libDistributedSuperLU.a(pdgstrf_irecv.o)(.text+0x7d9): In function `pdgstrf':
: referencia a `lam_mpi_double' sin definir
/home/cluster/lib/libDistributedSuperLU.a(pdgstrf_irecv.o)(.text+0x829): In function `pdgstrf':
: referencia a `lam_mpi_int' sin definir
/home/cluster/lib/libDistributedSuperLU.a(pdgstrf_irecv.o)(.text+0x85b): In function `pdgstrf':
: referencia a `lam_mpi_double' sin definir
/home/cluster/lib/libDistributedSuperLU.a(pdgstrf_irecv.o)(.text+0xa28): In function `pdgstrf':
: referencia a `lam_mpi_int' sin definir
/home/cluster/lib/libDistributedSuperLU.a(pdgstrf_irecv.o)(.text+0xa65): In function `pdgstrf':
: referencia a `lam_mpi_double' sin definir
/home/cluster/lib/libDistributedSuperLU.a(pdgstrf_irecv.o)(.text+0xbf6): In function `pdgstrf':
: referencia a `lam_mpi_int' sin definir
/home/cluster/lib/libDistributedSuperLU.a(pdgstrf_irecv.o)(.text+0xc34): In function `pdgstrf':
: referencia a `lam_mpi_double' sin definir
/home/cluster/lib/libDistributedSuperLU.a(pdgstrf_irecv.o)(.text+0xca3): In function `pdgstrf':
: referencia a `lam_mpi_int' sin definir
/home/cluster/lib/libDistributedSuperLU.a(pdgstrf_irecv.o)(.text+0xcc9): In function `pdgstrf':
: referencia a `lam_mpi_int' sin definir
/home/cluster/lib/libDistributedSuperLU.a(pdgstrf_irecv.o)(.text+0xd0c): In function `pdgstrf':
: referencia a `lam_mpi_double' sin definir
/home/cluster/lib/libDistributedSuperLU.a(pdgstrf_irecv.o)(.text+0xd32): In function `pdgstrf':
: referencia a `lam_mpi_double' sin definir
/home/cluster/lib/libDistributedSuperLU.a(pdgstrf_irecv.o)(.text+0x1abc): In function `pdgstrf':
: referencia a `lam_mpi_int' sin definir
/home/cluster/lib/libDistributedSuperLU.a(pdgstrf_irecv.o)(.text+0x1b10): In function `pdgstrf':
: referencia a `lam_mpi_double' sin definir
/home/cluster/lib/libDistributedSuperLU.a(pdgstrf_irecv.o)(.text+0x1b89): In function `pdgstrf':
: referencia a `lam_mpi_int' sin definir
/home/cluster/lib/libDistributedSuperLU.a(pdgstrf_irecv.o)(.text+0x1bef): In function `pdgstrf':
: referencia a `lam_mpi_double' sin definir
/home/cluster/lib/libDistributedSuperLU.a(pdgstrf_irecv.o)(.text+0x276a): In function `pdgstrf':
: referencia a `lam_mpi_min' sin definir
/home/cluster/lib/libDistributedSuperLU.a(pdgstrf_irecv.o)(.text+0x276f): In function `pdgstrf':
: referencia a `lam_mpi_int' sin definir
/home/cluster/lib/libDistributedSuperLU.a(pdgstrf_irecv.o)(.text+0x2a21): In function `pdgstrf2':
: referencia a `lam_mpi_double' sin definir
/home/cluster/lib/libDistributedSuperLU.a(pdgstrs_Bglobal.o)(.text+0x725): In function `pdgstrs_Bglobal':
: referencia a `lam_mpi_sum' sin definir
/home/cluster/lib/libDistributedSuperLU.a(pdgstrs_Bglobal.o)(.text+0x72a): In function `pdgstrs_Bglobal':
: referencia a `lam_mpi_int' sin definir
/home/cluster/lib/libDistributedSuperLU.a(pdgstrs_Bglobal.o)(.text+0xa5e): In function `pdgstrs_Bglobal':
: referencia a `lam_mpi_double' sin definir
/home/cluster/lib/libDistributedSuperLU.a(pdgstrs_Bglobal.o)(.text+0xbc0): In function `pdgstrs_Bglobal':
: referencia a `lam_mpi_double' sin definir
/home/cluster/lib/libDistributedSuperLU.a(pdgstrs_Bglobal.o)(.text+0x1040): In function `pdgstrs_Bglobal':
: referencia a `lam_mpi_double' sin definir
/home/cluster/lib/libDistributedSuperLU.a(pdgstrs_Bglobal.o)(.text+0x1341): In function `pdgstrs_Bglobal':
: referencia a `lam_mpi_sum' sin definir
/home/cluster/lib/libDistributedSuperLU.a(pdgstrs_Bglobal.o)(.text+0x1346): In function `pdgstrs_Bglobal':
: referencia a `lam_mpi_int' sin definir
/home/cluster/lib/libDistributedSuperLU.a(pdgstrs_Bglobal.o)(.text+0x1ca6): In function `pdgstrs_Bglobal':
: referencia a `lam_mpi_double' sin definir
/home/cluster/lib/libDistributedSuperLU.a(pdgstrs_Bglobal.o)(.text+0x1de5): In function `pdgstrs_Bglobal':
: referencia a `lam_mpi_double' sin definir
/home/cluster/lib/libDistributedSuperLU.a(pdgstrs_Bglobal.o)(.text+0x21a3): In function `pdgstrs_Bglobal':
: referencia a `lam_mpi_double' sin definir
/home/cluster/lib/libDistributedSuperLU.a(pdgstrs_Bglobal.o)(.text+0x26c4): In function `gather_diag_to_all':
: referencia a `lam_mpi_double' sin definir
/home/cluster/lib/libDistributedSuperLU.a(pdgstrs_Bglobal.o)(.text+0x26e4): In function `gather_diag_to_all':
: referencia a `lam_mpi_double' sin definir
/home/cluster/lib/libDistributedSuperLU.a(pdgstrs1.o)(.text+0x5ad): In function `pdgstrs1':
: referencia a `lam_mpi_sum' sin definir
/home/cluster/lib/libDistributedSuperLU.a(pdgstrs1.o)(.text+0x5b2): In function `pdgstrs1':
: referencia a `lam_mpi_int' sin definir
/home/cluster/lib/libDistributedSuperLU.a(pdgstrs1.o)(.text+0x899): In function `pdgstrs1':
: referencia a `lam_mpi_double' sin definir
/home/cluster/lib/libDistributedSuperLU.a(pdgstrs1.o)(.text+0x9f5): In function `pdgstrs1':
: referencia a `lam_mpi_double' sin definir
/home/cluster/lib/libDistributedSuperLU.a(pdgstrs1.o)(.text+0xe25): In function `pdgstrs1':
: referencia a `lam_mpi_double' sin definir
/home/cluster/lib/libDistributedSuperLU.a(pdgstrs1.o)(.text+0x1114): In function `pdgstrs1':
: referencia a `lam_mpi_sum' sin definir
/home/cluster/lib/libDistributedSuperLU.a(pdgstrs1.o)(.text+0x1119): In function `pdgstrs1':
: referencia a `lam_mpi_int' sin definir
/home/cluster/lib/libDistributedSuperLU.a(pdgstrs1.o)(.text+0x19d2): In function `pdgstrs1':
: referencia a `lam_mpi_double' sin definir
/home/cluster/lib/libDistributedSuperLU.a(pdgstrs1.o)(.text+0x1b0b): In function `pdgstrs1':
: referencia a `lam_mpi_double' sin definir
/home/cluster/lib/libDistributedSuperLU.a(pdgstrs1.o)(.text+0x1e7f): In function `pdgstrs1':
: referencia a `lam_mpi_double' sin definir
/home/cluster/lib/libDistributedSuperLU.a(pdgstrs_lsum.o)(.text+0x2e7): In function `dlsum_fmod':
: referencia a `lam_mpi_double' sin definir
/home/cluster/lib/libDistributedSuperLU.a(pdgstrs_lsum.o)(.text+0x521): In function `dlsum_fmod':
: referencia a `lam_mpi_double' sin definir
/home/cluster/lib/libDistributedSuperLU.a(pdgstrs_lsum.o)(.text+0x99c): más referencias a `lam_mpi_double' sin definir a continuacion
collect2: ld devolvio el estado de salida 1
make[1]: *** [tcl] Error 1
make[1]: Saliendo directorio `/home/cluster/OpenSees/SRC/modelbuilder/tcl'
make: *** [all] Error 2
[root@localhost OpenSees]#



I would appreciate you feedbacks on the errors I get.

Thanks you for your help.
Daniel

Posted: Thu Aug 06, 2009 2:43 pm
by fmk
this could be just a linker problem .. you might try adding the library twice .. add it also after the SuperLU library that says it is missing all the symbols contained in the lam library