Page 1 of 1

Compiling OpenSees Parallel in CentOS Linux 2.6.9-78.ELsmp

Posted: Fri Jun 26, 2009 2:32 pm
by lsantiago
Hi,
I am trying to compile OpenSees on a cluster with CentOS, mpich2, petsc 2.1 and tcl 8.5. I would appreciate if anyone could give me some feedback on the errors I get.
Thanks,
Santiago
www.utpl.edu.ec/vlee



The makefile.def I am using is:
[url]
http://docs.google.com/Doc?id=dts9t2c_32hfzbhhhf&hl=en[/url]

And the error I get is:

make[3]: Entering directory `/cluster/opensees/OpenSees/SRC/recorder/response'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/cluster/opensees/OpenSees/SRC/recorder/response'
make[2]: Leaving directory `/cluster/opensees/OpenSees/SRC/damage'
make[2]: Entering directory `/cluster/opensees/OpenSees/SRC/api'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/cluster/opensees/OpenSees/SRC/api'
make[1]: Leaving directory `/cluster/opensees/OpenSees/SRC'
LIBRARIES BUILT ... NOW LINKING OpenSees PROGRAM
make[1]: Entering directory `/cluster/opensees/OpenSees/SRC/tcl'
make[1]: Nothing to be done for `tcl'.
make[1]: Leaving directory `/cluster/opensees/OpenSees/SRC/tcl'
make[1]: Entering directory `/cluster/opensees/OpenSees/SRC/modelbuilder/tcl'
Makefile:21: warning: overriding commands for target `tcl'
Makefile:13: warning: ignoring old commands for target `tcl'
Makefile:38: warning: overriding commands for target `tcl'
Makefile:21: warning: ignoring old commands for target `tcl'
Makefile:49: warning: overriding commands for target `tk'
Makefile:29: warning: ignoring old commands for target `tk'
make[2]: Entering directory `/cluster/opensees/OpenSees/SRC/tcl'
make[2]: Nothing to be done for `tcl'.
make[2]: Leaving directory `/cluster/opensees/OpenSees/SRC/tcl'
echo /cluster/mpich2/bin/mpicxx -rdynamic /cluster/opensees/OpenSees/SRC/tcl/tclMain.o /cluster/opensees/OpenSees/SRC/tcl/mpiMain.o /cluster/opensees/OpenSees/SRC/tcl/commands.o /cluster/opensees/OpenSees/SRC/modelbuilder/tcl/myCommands.o /cluster/opensees/OpenSees/SRC/actor/channel/MPI_Channel.o /cluster/opensees/OpenSees/SRC/actor/machineBroker/MPI_MachineBroker.o /cluster/opensees/OpenSees/SRC/domain/subdomain/ActorSubdomain.o /cluster/opensees/OpenSees/SRC/domain/subdomain/ShadowSubdomain.o /cluster/opensees/OpenSees/SRC/tcl/TclFeViewer.o /cluster/opensees/OpenSees/SRC/tcl/TclVideoPlayer.o \
/cluster/opensees/lib/libOpenSees.a -L/lib -L/cluster/opensees/lib /cluster/opensees/OpenSees/SRC/system_of_eqn/linearSOE/sparseGEN/DistributedSuperLU.o /cluster/opensees/OpenSees/SRC/system_of_eqn/linearSOE/sparseGEN/DistributedSparseGenColLinSOE.o /cluster/opensees/OpenSees/SRC/system_of_eqn/linearSOE/sparseGEN/SparseGenColLinSOE.o /cluster/opensees/lib/libDistributedSuperLU.a \
-lm /cluster/opensees/lib/libArpack.a /cluster/opensees/lib/libDistributedSuperLU.a /cluster/opensees/lib/libSuperLU.a /cluster/opensees/lib/libUmfpack.a /cluster/opensees/lib/libLapack.a /cluster/opensees/lib/libBlas.a /cluster/opensees/lib/libCBlas.a /cluster/opensees/lib/libMetis.a /cluster/opensees/OpenSees/SRC/system_of_eqn/linearSOE/petsc/PetscSOE.o /cluster/opensees/OpenSees/SRC/system_of_eqn/linearSOE/petsc/PetscSolver.o /cluster/opensees/OpenSees/SRC/system_of_eqn/linearSOE/petsc/PetscSparseSeqSolver.o /cluster/opensees/OpenSees/OTHER/LAPACK/dgebak.o /cluster/opensees/OpenSees/OTHER/LAPACK/dgebal.o /cluster/opensees/OpenSees/OTHER/LAPACK/dgeev.o /cluster/opensees/OpenSees/OTHER/LAPACK/dgehd2.o /cluster/opensees/OpenSees/OTHER/LAPACK/dgehrd.o /cluster/opensees/OpenSees/OTHER/LAPACK/dhseqr.o /cluster/opensees/OpenSees/OTHER/LAPACK/dlahrd.o /cluster/opensees/OpenSees/OTHER/LAPACK/dorg2r.o /cluster/opensees/OpenSees/OTHER/LAPACK/dorghr.o /cluster/opensees/OpenSees/OTHER/LAPACK/dorgqr.o /cluster/opensees/OpenSees/OTHER/LAPACK/dpotrf.o /cluster/opensees/OpenSees/OTHER/LAPACK/dpotrs.o /cluster/PETSC/lib/libg/linux-gnu/libpetscsnes.a /cluster/PETSC/lib/libg/linux-gnu/libpetscksp.a /cluster/PETSC/lib/libg/linux-gnu/libpetscdm.a /cluster/PETSC/lib/libg/linux-gnu/libpetscmat.a /cluster/PETSC/lib/libg/linux-gnu/libpetscvec.a /cluster/PETSC/lib/libg/linux-gnu/libpetsc.a \ -lg2c -ldl /cluster/tcltk/lib/libtk8.5.so /cluster/tcltk/lib/libtcl8.5.so \
-ldl -lieee -lm -lc -lg2c -Wl,-rpath,/usr/lib -lpng -L/cluster/mpich2/lib -lmpich -o /cluster/opensees/bin/OpenSees
/cluster/mpich2/bin/mpicxx -rdynamic /cluster/opensees/OpenSees/SRC/tcl/tclMain.o /cluster/opensees/OpenSees/SRC/tcl/mpiMain.o /cluster/opensees/OpenSees/SRC/tcl/commands.o /cluster/opensees/OpenSees/SRC/modelbuilder/tcl/myCommands.o /cluster/opensees/OpenSees/SRC/actor/channel/MPI_Channel.o /cluster/opensees/OpenSees/SRC/actor/machineBroker/MPI_MachineBroker.o /cluster/opensees/OpenSees/SRC/domain/subdomain/ActorSubdomain.o /cluster/opensees/OpenSees/SRC/domain/subdomain/ShadowSubdomain.o /cluster/opensees/OpenSees/SRC/tcl/TclFeViewer.o /cluster/opensees/OpenSees/SRC/tcl/TclVideoPlayer.o /cluster/opensees/lib/libOpenSees.a -L/lib -L/cluster/opensees/lib /cluster/opensees/OpenSees/SRC/system_of_eqn/linearSOE/sparseGEN/DistributedSuperLU.o /cluster/opensees/OpenSees/SRC/system_of_eqn/linearSOE/sparseGEN/DistributedSparseGenColLinSOE.o /cluster/opensees/OpenSees/SRC/system_of_eqn/linearSOE/sparseGEN/SparseGenColLinSOE.o /cluster/opensees/lib/libDistributedSuperLU.a -lm /cluster/opensees/lib/libArpack.a /cluster/opensees/lib/libDistributedSuperLU.a /cluster/opensees/lib/libSuperLU.a /cluster/opensees/lib/libUmfpack.a /cluster/opensees/lib/libLapack.a /cluster/opensees/lib/libBlas.a /cluster/opensees/lib/libCBlas.a /cluster/opensees/lib/libMetis.a /cluster/opensees/OpenSees/SRC/system_of_eqn/linearSOE/petsc/PetscSOE.o /cluster/opensees/OpenSees/SRC/system_of_eqn/linearSOE/petsc/PetscSolver.o /cluster/opensees/OpenSees/SRC/system_of_eqn/linearSOE/petsc/PetscSparseSeqSolver.o /cluster/opensees/OpenSees/OTHER/LAPACK/dgebak.o /cluster/opensees/OpenSees/OTHER/LAPACK/dgebal.o /cluster/opensees/OpenSees/OTHER/LAPACK/dgeev.o /cluster/opensees/OpenSees/OTHER/LAPACK/dgehd2.o /cluster/opensees/OpenSees/OTHER/LAPACK/dgehrd.o /cluster/opensees/OpenSees/OTHER/LAPACK/dhseqr.o /cluster/opensees/OpenSees/OTHER/LAPACK/dlahrd.o /cluster/opensees/OpenSees/OTHER/LAPACK/dorg2r.o /cluster/opensees/OpenSees/OTHER/LAPACK/dorghr.o /cluster/opensees/OpenSees/OTHER/LAPACK/dorgqr.o /cluster/opensees/OpenSees/OTHER/LAPACK/dpotrf.o /cluster/opensees/OpenSees/OTHER/LAPACK/dpotrs.o /cluster/PETSC/lib/libg/linux-gnu/libpetscsnes.a /cluster/PETSC/lib/libg/linux-gnu/libpetscksp.a /cluster/PETSC/lib/libg/linux-gnu/libpetscdm.a /cluster/PETSC/lib/libg/linux-gnu/libpetscmat.a /cluster/PETSC/lib/libg/linux-gnu/libpetscvec.a /cluster/PETSC/lib/libg/linux-gnu/libpetsc.a -lg2c -ldl /cluster/tcltk/lib/libtk8.5.so /cluster/tcltk/lib/libtcl8.5.so -ldl -lieee -lm -lc -lg2c -Wl,-rpath,/usr/lib -lpng -L/cluster/mpich2/lib -lmpich -o /cluster/opensees/bin/OpenSees
c++: /cluster/opensees/lib/libDistributedSuperLU.a: No such file or directory
c++: /cluster/opensees/lib/libDistributedSuperLU.a: No such file or directory
c++: /cluster/opensees/OpenSees/SRC/system_of_eqn/linearSOE/petsc/PetscSOE.o: No such file or directory
c++: /cluster/opensees/OpenSees/SRC/system_of_eqn/linearSOE/petsc/PetscSolver.o: No such file or directory
c++: /cluster/opensees/OpenSees/SRC/system_of_eqn/linearSOE/petsc/PetscSparseSeqSolver.o: No such file or directory
c++: : No such file or directory
make[1]: *** [tcl] Error 1
make[1]: Leaving directory `/cluster/opensees/OpenSees/SRC/modelbuilder/tcl'
make: *** [all] Error 2

[/url]

Posted: Sat Jun 27, 2009 5:57 am
by fmk
try going to OpenSees/Other/SuperLU_Dist/SRC dir typing aske .. then go to OpenSees/SRC/system_of_eqn/linearSOE/petsc and do the same thing.

Posted: Tue Jun 30, 2009 7:58 am
by lsantiago
I do not understand, you want to do this:

cd OpenSees/Other/SuperLU_Dist/SRC
make

Or the word "aske" is a command?


Sorry for the inconvenience..