Error while compiling the Parallel OpenSees on Linux

Forum for OpenSees users to post questions, comments, etc. on the use of the OpenSees interpreter, OpenSees.exe

Moderators: silvia, selimgunay, Moderators

Post Reply
anitha
Posts: 26
Joined: Mon Jun 16, 2014 12:36 am
Location: cdac

Error while compiling the Parallel OpenSees on Linux

Post by anitha » Mon Jan 18, 2016 4:42 am

Dear Sir/Madam,

I am installing OpenSees Parallel version on our linux machine. I have done "PARALLEL" option for parallel compilation using MPI library. The Makefile.def I have used and Modified as per compilation guidelines for OpenSeesMP on linux machine.

I got all the required libraries in lib directory. But I am not getting the OpenSees Binary.
As per fmk suggestion in OpenSees community post i've done with the following steps
cd into OpenSees/SRC/tcl and type make tcl. it works.
&
cd into OpenSees/SRC/modelbuiler/tcl and ype make tcl
The error I am getting while compilation is as follows:
Makefile:30: warning: overriding commands for target `tcl'
Makefile:13: warning: ignoring old commands for target `tcl'
make[1]: Entering directory `/home/panitha/OpenSees/SRC/tcl'
make[1]: Nothing to be done for `tcl'.
make[1]: Leaving directory `/home/panitha/OpenSees/SRC/tcl'
echo /home/panitha/usr/local/mpich2-1.1/mpich2-install/bin/mpicxx -rdynamic -g -pg /home/panitha/OpenSees/SRC/tcl/tclMain.o /home/panitha/OpenSees/SRC/tcl/mpiMain.o /home/panitha/OpenSees/SRC/tcl/commands.o /home/panitha/OpenSees/SRC/modelbuilder/tcl/myCommands.o /home/panitha/OpenSees/SRC/actor/channel/MPI_Channel.o /home/panitha/OpenSees/SRC/actor/machineBroker/MPI_MachineBroker.o /home/panitha/OpenSees/SRC/system_of_eqn/linearSOE/diagonal/MPIDiagonalSOE.o /home/panitha/OpenSees/SRC/system_of_eqn/linearSOE/diagonal/MPIDiagonalSolver.o /home/panitha/OpenSees/SRC/domain/subdomain/ActorSubdomain.o /home/panitha/OpenSees/SRC/domain/subdomain/ShadowSubdomain.o /home/panitha/OpenSees/SRC/tcl/TclFeViewer.o /home/panitha/OpenSees/SRC/tcl/TclVideoPlayer.o \
/home/panitha/lib/libOpenSees.a -L/lib /home/panitha/lib/libSuperLU.a /home/panitha/lib/libDistributedSuperLU.a -L/home/panitha/OpenSees/SRC/system_of_eqn/linearSOE/sparseGEN /home/panitha/OpenSees/SRC/system_of_eqn/linearSOE/sparseGEN/DistributedSuperLU.o /home/panitha/OpenSees/SRC/system_of_eqn/linearSOE/sparseGEN/DistributedSparseGenColLinSOE.o /home/panitha/OpenSees/SRC/system_of_eqn/linearSOE/sparseGEN/SparseGenColLinSolver.o \
-L/home/panitha/usr/local/mpich2-1.1/mpich2-install/lib -lmpich /usr/lib64/libgfortran.so.3 -L/usr/lib64 -L/usr/lib64 -ldl -lm /home/panitha/lib/libDistributedSuperLU.a /home/panitha/lib/libSuperLU.a /home/panitha/lib/libArpack.a /home/panitha/lib/libAMD.a /home/panitha/lib/libDistributedSuperLU.a /home/panitha/lib/libUmfpack.a /home/panitha/lib/libCSparse.a /home/panitha/PARALLEL/lapack/liblapack.a /home/panitha/PARALLEL/BLAS/blas.a /home/panitha/lib/libCBlas.a /home/panitha/lib/libDistributedSuperLU.a /usr/lib64/libtk8.5.so /usr/lib64/libtcl8.5.so \
-I/home/panitha/OpenSees/SRC/system_of_eqn/linearSOE/sparseGEN /home/panitha/lib/libDistributedSuperLU.a /home/panitha/lib/libSuperLU.a -L/home/panitha/usr/local/mpich2-1.1/mpich2-install/lib -lmpich -ldl -lieee -lm -lc -lgfortran -Wl,-rpath,/usr/lib64 -lpng -L/home/panitha/usr/local/mpich2-1.1/mpich2-install/lib -lmpich /home/panitha/lib/libSuperLU.a -L/home/panitha/OpenSees/OTHER/SuperLU_DIST_2.5/SRC -L/home/panitha/OpenSees/SRC/system_of_eqn/linearSOE/sparseGEN /home/panitha/lib/libDistributedSuperLU.a -o /home/panitha/bin/OpenSeesSP
/home/panitha/usr/local/mpich2-1.1/mpich2-install/bin/mpicxx -rdynamic -g -pg /home/panitha/OpenSees/SRC/tcl/tclMain.o /home/panitha/OpenSees/SRC/tcl/mpiMain.o /home/panitha/OpenSees/SRC/tcl/commands.o /home/panitha/OpenSees/SRC/modelbuilder/tcl/myCommands.o /home/panitha/OpenSees/SRC/actor/channel/MPI_Channel.o /home/panitha/OpenSees/SRC/actor/machineBroker/MPI_MachineBroker.o /home/panitha/OpenSees/SRC/system_of_eqn/linearSOE/diagonal/MPIDiagonalSOE.o /home/panitha/OpenSees/SRC/system_of_eqn/linearSOE/diagonal/MPIDiagonalSolver.o /home/panitha/OpenSees/SRC/domain/subdomain/ActorSubdomain.o /home/panitha/OpenSees/SRC/domain/subdomain/ShadowSubdomain.o /home/panitha/OpenSees/SRC/tcl/TclFeViewer.o /home/panitha/OpenSees/SRC/tcl/TclVideoPlayer.o /home/panitha/lib/libOpenSees.a -L/lib /home/panitha/lib/libSuperLU.a /home/panitha/lib/libDistributedSuperLU.a -L/home/panitha/OpenSees/SRC/system_of_eqn/linearSOE/sparseGEN /home/panitha/OpenSees/SRC/system_of_eqn/linearSOE/sparseGEN/DistributedSuperLU.o /home/panitha/OpenSees/SRC/system_of_eqn/linearSOE/sparseGEN/DistributedSparseGenColLinSOE.o /home/panitha/OpenSees/SRC/system_of_eqn/linearSOE/sparseGEN/SparseGenColLinSolver.o -L/home/panitha/usr/local/mpich2-1.1/mpich2-install/lib -lmpich /usr/lib64/libgfortran.so.3 -L/usr/lib64 -L/usr/lib64 -ldl -lm /home/panitha/lib/libDistributedSuperLU.a /home/panitha/lib/libSuperLU.a /home/panitha/lib/libArpack.a /home/panitha/lib/libAMD.a /home/panitha/lib/libDistributedSuperLU.a /home/panitha/lib/libUmfpack.a /home/panitha/lib/libCSparse.a /home/panitha/PARALLEL/lapack/liblapack.a /home/panitha/PARALLEL/BLAS/blas.a /home/panitha/lib/libCBlas.a /home/panitha/lib/libDistributedSuperLU.a /usr/lib64/libtk8.5.so /usr/lib64/libtcl8.5.so -I/home/panitha/OpenSees/SRC/system_of_eqn/linearSOE/sparseGEN /home/panitha/lib/libDistributedSuperLU.a /home/panitha/lib/libSuperLU.a -L/home/panitha/usr/local/mpich2-1.1/mpich2-install/lib -lmpich -ldl -lieee -lm -lc -lgfortran -Wl,-rpath,/usr/lib64 -lpng -L/home/panitha/usr/local/mpich2-1.1/mpich2-install/lib -lmpich /home/panitha/lib/libSuperLU.a -L/home/panitha/OpenSees/OTHER/SuperLU_DIST_2.5/SRC -L/home/panitha/OpenSees/SRC/system_of_eqn/linearSOE/sparseGEN /home/panitha/lib/libDistributedSuperLU.a -o /home/panitha/bin/OpenSeesSP
/home/panitha/OpenSees/SRC/system_of_eqn/linearSOE/sparseGEN/DistributedSuperLU.o: In function `DistributedSuperLU::setProcessID(int)':
/home/panitha/OpenSees/SRC/system_of_eqn/linearSOE/LinearSOESolver.h:51: multiple definition of `DistributedSuperLU::setProcessID(int)'
/home/panitha/lib/libOpenSees.a(DistributedSuperLU.o):/home/panitha/OpenSees/SRC/system_of_eqn/linearSOE/LinearSOESolver.h:51: first defined here
/home/panitha/OpenSees/SRC/system_of_eqn/linearSOE/sparseGEN/DistributedSuperLU.o: In function `DistributedSuperLU::recvSelf(int, Channel&, FEM_ObjectBroker&)':
/home/panitha/OpenSees/SRC/system_of_eqn/linearSOE/sparseGEN/DistributedSuperLU.cpp:348: multiple definition of `DistributedSuperLU::recvSelf(int, Channel&, FEM_ObjectBroker&)'
/home/panitha/lib/libOpenSees.a(DistributedSuperLU.o):/home/panitha/OpenSees/SRC/system_of_eqn/linearSOE/sparseGEN/DistributedSuperLU.cpp:348: first defined here
/home/panitha/OpenSees/SRC/system_of_eqn/linearSOE/sparseGEN/DistributedSuperLU.o: In function `DistributedSuperLU::sendSelf(int, Channel&)':
/home/panitha/OpenSees/SRC/system_of_eqn/linearSOE/sparseGEN/DistributedSuperLU.cpp:286: multiple definition of `DistributedSuperLU::sendSelf(int, Channel&)'
/home/panitha/lib/libOpenSees.a(DistributedSuperLU.o):/home/panitha/OpenSees/SRC/system_of_eqn/linearSOE/sparseGEN/DistributedSuperLU.cpp:286: first defined here
/home/panitha/OpenSees/SRC/system_of_eqn/linearSOE/sparseGEN/DistributedSuperLU.o: In function `DistributedSuperLU::setChannels(int, Channel**)':
/home/panitha/OpenSees/SRC/system_of_eqn/linearSOE/sparseGEN/DistributedSuperLU.cpp:265: multiple definition of `DistributedSuperLU::setChannels(int, Channel**)'
/home/panitha/lib/libOpenSees.a(DistributedSuperLU.o):/home/panitha/OpenSees/SRC/system_of_eqn/linearSOE/sparseGEN/DistributedSuperLU.cpp:265: first defined here
/home/panitha/OpenSees/SRC/system_of_eqn/linearSOE/sparseGEN/DistributedSuperLU.o: In function `DistributedSuperLU::setSize()':
/home/panitha/OpenSees/SRC/system_of_eqn/linearSOE/sparseGEN/DistributedSuperLU.cpp:186: multiple definition of `DistributedSuperLU::setSize()'
/home/panitha/lib/libOpenSees.a(DistributedSuperLU.o):/home/panitha/OpenSees/SRC/system_of_eqn/linearSOE/sparseGEN/DistributedSuperLU.cpp:186: first defined here
/home/panitha/OpenSees/SRC/system_of_eqn/linearSOE/sparseGEN/DistributedSuperLU.o:/home/panitha/OpenSees/SRC/system_of_eqn/linearSOE/sparseGEN/DistributedSuperLU.cpp:286: multiple definition of `comm_SuperLU'
/home/panitha/lib/libOpenSees.a(DistributedSuperLU.o):/home/panitha/OpenSees/SRC/system_of_eqn/linearSOE/sparseGEN/DistributedSuperLU.cpp:286: first defined here
/home/panitha/OpenSees/SRC/system_of_eqn/linearSOE/sparseGEN/DistributedSuperLU.o:/home/panitha/OpenSees/SRC/system_of_eqn/linearSOE/sparseGEN/DistributedSuperLU.cpp:354: multiple definition of `grid'
/home/panitha/lib/libOpenSees.a(DistributedSuperLU.o):/home/panitha/OpenSees/SRC/system_of_eqn/linearSOE/sparseGEN/DistributedSuperLU.cpp:354: first defined here
/home/panitha/OpenSees/SRC/system_of_eqn/linearSOE/sparseGEN/DistributedSuperLU.o:/home/panitha/OpenSees/SRC/system_of_eqn/linearSOE/sparseGEN/DistributedSuperLU.cpp:363: multiple definition of `stat'
/home/panitha/lib/libOpenSees.a(DistributedSuperLU.o):/home/panitha/OpenSees/SRC/system_of_eqn/linearSOE/sparseGEN/DistributedSuperLU.cpp:363: first defined here
/home/panitha/OpenSees/SRC/system_of_eqn/linearSOE/sparseGEN/DistributedSuperLU.o:/home/panitha/OpenSees/SRC/system_of_eqn/linearSOE/sparseGEN/DistributedSuperLU.cpp:363: multiple definition of `A'
/home/panitha/lib/libOpenSees.a(DistributedSuperLU.o):/home/panitha/OpenSees/SRC/system_of_eqn/linearSOE/sparseGEN/DistributedSuperLU.cpp:363: first defined here
/home/panitha/OpenSees/SRC/system_of_eqn/linearSOE/sparseGEN/DistributedSuperLU.o:/home/panitha/OpenSees/SRC/system_of_eqn/linearSOE/sparseGEN/DistributedSuperLU.cpp:368: multiple definition of `ScalePermstruct'
/home/panitha/lib/libOpenSees.a(DistributedSuperLU.o):/home/panitha/OpenSees/SRC/system_of_eqn/linearSOE/sparseGEN/DistributedSuperLU.cpp:368: first defined here
/home/panitha/OpenSees/SRC/system_of_eqn/linearSOE/sparseGEN/DistributedSuperLU.o:/home/panitha/OpenSees/SRC/system_of_eqn/linearSOE/sparseGEN/DistributedSuperLU.cpp:350: multiple definition of `LUstruct'
/home/panitha/lib/libOpenSees.a(DistributedSuperLU.o):/home/panitha/OpenSees/SRC/system_of_eqn/linearSOE/sparseGEN/DistributedSuperLU.cpp:350: first defined here
/home/panitha/OpenSees/SRC/system_of_eqn/linearSOE/sparseGEN/DistributedSuperLU.o:/home/panitha/OpenSees/SRC/system_of_eqn/linearSOE/LinearSOESolver.h:51: multiple definition of `options'
/home/panitha/lib/libOpenSees.a(DistributedSuperLU.o):/home/panitha/OpenSees/SRC/system_of_eqn/linearSOE/LinearSOESolver.h:51: first defined here
/home/panitha/OpenSees/SRC/system_of_eqn/linearSOE/sparseGEN/DistributedSuperLU.o: In function `DistributedSuperLU::solve()':
/home/panitha/OpenSees/SRC/system_of_eqn/linearSOE/sparseGEN/DistributedSuperLU.cpp:87: multiple definition of `DistributedSuperLU::solve()'
/home/panitha/lib/libOpenSees.a(DistributedSuperLU.o):/home/panitha/OpenSees/SRC/system_of_eqn/linearSOE/sparseGEN/DistributedSuperLU.cpp:87: first defined here
/home/panitha/OpenSees/SRC/system_of_eqn/linearSOE/sparseGEN/DistributedSuperLU.o: In function `~DistributedSuperLU':
/home/panitha/OpenSees/SRC/system_of_eqn/linearSOE/sparseGEN/DistributedSuperLU.cpp:71: multiple definition of `DistributedSuperLU::~DistributedSuperLU()'
/home/panitha/lib/libOpenSees.a(DistributedSuperLU.o):/home/panitha/OpenSees/SRC/system_of_eqn/linearSOE/sparseGEN/DistributedSuperLU.cpp:71: first defined here
/home/panitha/OpenSees/SRC/system_of_eqn/linearSOE/sparseGEN/DistributedSuperLU.o: In function `~DistributedSuperLU':
/home/panitha/OpenSees/SRC/system_of_eqn/linearSOE/sparseGEN/DistributedSuperLU.cpp:71: multiple definition of `DistributedSuperLU::~DistributedSuperLU()'
/home/panitha/lib/libOpenSees.a(DistributedSuperLU.o):/home/panitha/OpenSees/SRC/system_of_eqn/linearSOE/sparseGEN/DistributedSuperLU.cpp:71: first defined here
/home/panitha/OpenSees/SRC/system_of_eqn/linearSOE/sparseGEN/DistributedSuperLU.o: In function `~DistributedSuperLU':
/home/panitha/OpenSees/SRC/system_of_eqn/linearSOE/sparseGEN/DistributedSuperLU.cpp:71: multiple definition of `DistributedSuperLU::~DistributedSuperLU()'
/home/panitha/lib/libOpenSees.a(DistributedSuperLU.o):/home/panitha/OpenSees/SRC/system_of_eqn/linearSOE/sparseGEN/DistributedSuperLU.cpp:71: first defined here
/home/panitha/OpenSees/SRC/system_of_eqn/linearSOE/sparseGEN/DistributedSuperLU.o: In function `DistributedSuperLU':
/home/panitha/OpenSees/SRC/system_of_eqn/linearSOE/sparseGEN/DistributedSuperLU.cpp:62: multiple definition of `DistributedSuperLU::DistributedSuperLU()'
/home/panitha/lib/libOpenSees.a(DistributedSuperLU.o):/home/panitha/OpenSees/SRC/system_of_eqn/linearSOE/sparseGEN/DistributedSuperLU.cpp:62: first defined here
/home/panitha/OpenSees/SRC/system_of_eqn/linearSOE/sparseGEN/DistributedSuperLU.o: In function `DistributedSuperLU':
/home/panitha/OpenSees/SRC/system_of_eqn/linearSOE/sparseGEN/DistributedSuperLU.cpp:62: multiple definition of `DistributedSuperLU::DistributedSuperLU()'
/home/panitha/lib/libOpenSees.a(DistributedSuperLU.o):/home/panitha/OpenSees/SRC/system_of_eqn/linearSOE/sparseGEN/DistributedSuperLU.cpp:62: first defined here
/home/panitha/OpenSees/SRC/system_of_eqn/linearSOE/sparseGEN/DistributedSuperLU.o: In function `DistributedSuperLU':
/home/panitha/OpenSees/SRC/system_of_eqn/linearSOE/sparseGEN/DistributedSuperLU.cpp:53: multiple definition of `DistributedSuperLU::DistributedSuperLU(int, int)'
/home/panitha/lib/libOpenSees.a(DistributedSuperLU.o):/home/panitha/OpenSees/SRC/system_of_eqn/linearSOE/sparseGEN/DistributedSuperLU.cpp:53: first defined here
/home/panitha/OpenSees/SRC/system_of_eqn/linearSOE/sparseGEN/DistributedSuperLU.o: In function `DistributedSuperLU':
/home/panitha/OpenSees/SRC/system_of_eqn/linearSOE/sparseGEN/DistributedSuperLU.cpp:53: multiple definition of `DistributedSuperLU::DistributedSuperLU(int, int)'
/home/panitha/lib/libOpenSees.a(DistributedSuperLU.o):/home/panitha/OpenSees/SRC/system_of_eqn/linearSOE/sparseGEN/DistributedSuperLU.cpp:53: first defined here
/home/panitha/OpenSees/SRC/system_of_eqn/linearSOE/sparseGEN/DistributedSparseGenColLinSOE.o: In function `DistributedSparseGenColLinSOE::addA(Matrix const&, ID const&, double)':
/home/panitha/OpenSees/SRC/system_of_eqn/linearSOE/LinearSOE.h:77: multiple definition of `DistributedSparseGenColLinSOE::addA(Matrix const&, ID const&, double)'
/home/panitha/lib/libOpenSees.a(DistributedSparseGenColLinSOE.o):/home/panitha/OpenSees/SRC/system_of_eqn/linearSOE/LinearSOE.h:77: first defined here
/home/panitha/OpenSees/SRC/system_of_eqn/linearSOE/sparseGEN/DistributedSparseGenColLinSOE.o: In function `DistributedSparseGenColLinSOE::addB(Vector const&, ID const&, double)':
/home/panitha/OpenSees/SRC/system_of_eqn/linearSOE/sparseGEN/DistributedSparseGenColLinSOE.cpp:427: multiple definition of `DistributedSparseGenColLinSOE::addB(Vector const&, ID const&, double)'
/home/panitha/lib/libOpenSees.a(DistributedSparseGenColLinSOE.o):/home/panitha/OpenSees/SRC/system_of_eqn/linearSOE/sparseGEN/DistributedSparseGenColLinSOE.cpp:427: first defined here
/home/panitha/OpenSees/SRC/system_of_eqn/linearSOE/sparseGEN/DistributedSparseGenColLinSOE.o: In function `DistributedSparseGenColLinSOE::setB(Vector const&, double)':
/home/panitha/OpenSees/SRC/system_of_eqn/linearSOE/sparseGEN/DistributedSparseGenColLinSOE.cpp:464: multiple definition of `DistributedSparseGenColLinSOE::setB(Vector const&, double)'
/home/panitha/lib/libOpenSees.a(DistributedSparseGenColLinSOE.o):/home/panitha/OpenSees/SRC/system_of_eqn/linearSOE/sparseGEN/DistributedSparseGenColLinSOE.cpp:464: first defined here
/home/panitha/OpenSees/SRC/system_of_eqn/linearSOE/sparseGEN/DistributedSparseGenColLinSOE.o: In function `DistributedSparseGenColLinSOE::zeroB()':
/home/panitha/OpenSees/SRC/system_of_eqn/linearSOE/sparseGEN/DistributedSparseGenColLinSOE.cpp:493: multiple definition of `DistributedSparseGenColLinSOE::zeroB()'
/home/panitha/lib/libOpenSees.a(DistributedSparseGenColLinSOE.o):/home/panitha/OpenSees/SRC/system_of_eqn/linearSOE/sparseGEN/DistributedSparseGenColLinSOE.cpp:493: first defined here
/home/panitha/OpenSees/SRC/system_of_eqn/linearSOE/sparseGEN/DistributedSparseGenColLinSOE.o: In function `DistributedSparseGenColLinSOE::setProcessID(int)':
/home/panitha/OpenSees/SRC/system_of_eqn/linearSOE/sparseGEN/DistributedSparseGenColLinSOE.cpp:733: multiple definition of `DistributedSparseGenColLinSOE::setProcessID(int)'
/home/panitha/lib/libOpenSees.a(DistributedSparseGenColLinSOE.o):/home/panitha/OpenSees/SRC/system_of_eqn/linearSOE/sparseGEN/DistributedSparseGenColLinSOE.cpp:733: first defined here
/home/panitha/OpenSees/SRC/system_of_eqn/linearSOE/sparseGEN/DistributedSparseGenColLinSOE.o: In function `DistributedSparseGenColLinSOE::setChannels(int, Channel**)':
/home/panitha/OpenSees/SRC/system_of_eqn/linearSOE/sparseGEN/DistributedSparseGenColLinSOE.cpp:740: multiple definition of `DistributedSparseGenColLinSOE::setChannels(int, Channel**)'
/home/panitha/lib/libOpenSees.a(DistributedSparseGenColLinSOE.o):/home/panitha/OpenSees/SRC/system_of_eqn/linearSOE/sparseGEN/DistributedSparseGenColLinSOE.cpp:740: first defined here
/home/panitha/OpenSees/SRC/system_of_eqn/linearSOE/sparseGEN/DistributedSparseGenColLinSOE.o: In function `DistributedSparseGenColLinSOE::recvSelf(int, Channel&, FEM_ObjectBroker&)':
/home/panitha/OpenSees/SRC/system_of_eqn/linearSOE/sparseGEN/DistributedSparseGenColLinSOE.cpp:704: multiple definition of `DistributedSparseGenColLinSOE::recvSelf(int, Channel&, FEM_ObjectBroker&)'
/home/panitha/lib/libOpenSees.a(DistributedSparseGenColLinSOE.o):/home/panitha/OpenSees/SRC/system_of_eqn/linearSOE/sparseGEN/DistributedSparseGenColLinSOE.cpp:704: first defined here
/home/panitha/OpenSees/SRC/system_of_eqn/linearSOE/sparseGEN/DistributedSparseGenColLinSOE.o: In function `DistributedSparseGenColLinSOE::sendSelf(int, Channel&)':
/home/panitha/OpenSees/SRC/system_of_eqn/linearSOE/sparseGEN/DistributedSparseGenColLinSOE.cpp:632: multiple definition of `DistributedSparseGenColLinSOE::sendSelf(int, Channel&)'
/home/panitha/lib/libOpenSees.a(DistributedSparseGenColLinSOE.o):/home/panitha/OpenSees/SRC/system_of_eqn/linearSOE/sparseGEN/DistributedSparseGenColLinSOE.cpp:632: first defined here
/home/panitha/OpenSees/SRC/system_of_eqn/linearSOE/sparseGEN/DistributedSparseGenColLinSOE.o: In function `DistributedSparseGenColLinSOE::getB()':
/home/panitha/OpenSees/SRC/system_of_eqn/linearSOE/sparseGEN/DistributedSparseGenColLinSOE.cpp:591: multiple definition of `DistributedSparseGenColLinSOE::getB()'
/home/panitha/lib/libOpenSees.a(DistributedSparseGenColLinSOE.o):/home/panitha/OpenSees/SRC/system_of_eqn/linearSOE/sparseGEN/DistributedSparseGenColLinSOE.cpp:591: first defined here
/home/panitha/OpenSees/SRC/system_of_eqn/linearSOE/sparseGEN/DistributedSparseGenColLinSOE.o: In function `DistributedSparseGenColLinSOE::solve()':
/home/panitha/OpenSees/SRC/system_of_eqn/linearSOE/sparseGEN/DistributedSparseGenColLinSOE.cpp:501: multiple definition of `DistributedSparseGenColLinSOE::solve()'
/home/panitha/lib/libOpenSees.a(DistributedSparseGenColLinSOE.o):/home/panitha/OpenSees/SRC/system_of_eqn/linearSOE/sparseGEN/DistributedSparseGenColLinSOE.cpp:501: first defined here
/home/panitha/OpenSees/SRC/system_of_eqn/linearSOE/sparseGEN/DistributedSparseGenColLinSOE.o: In function `DistributedSparseGenColLinSOE::setSize(Graph&)':
/home/panitha/OpenSees/SRC/system_of_eqn/linearSOE/sparseGEN/DistributedSparseGenColLinSOE.cpp:84: multiple definition of `DistributedSparseGenColLinSOE::setSize(Graph&)'
/home/panitha/lib/libOpenSees.a(DistributedSparseGenColLinSOE.o):/home/panitha/OpenSees/SRC/system_of_eqn/linearSOE/sparseGEN/DistributedSparseGenColLinSOE.cpp:84: first defined here
/home/panitha/OpenSees/SRC/system_of_eqn/linearSOE/sparseGEN/DistributedSparseGenColLinSOE.o: In function `~DistributedSparseGenColLinSOE':
/home/panitha/OpenSees/SRC/system_of_eqn/linearSOE/sparseGEN/DistributedSparseGenColLinSOE.cpp:62: multiple definition of `DistributedSparseGenColLinSOE::~DistributedSparseGenColLinSOE()'
/home/panitha/lib/libOpenSees.a(DistributedSparseGenColLinSOE.o):/home/panitha/OpenSees/SRC/system_of_eqn/linearSOE/sparseGEN/DistributedSparseGenColLinSOE.cpp:62: first defined here
/home/panitha/OpenSees/SRC/system_of_eqn/linearSOE/sparseGEN/DistributedSparseGenColLinSOE.o: In function `~DistributedSparseGenColLinSOE':
/home/panitha/OpenSees/SRC/system_of_eqn/linearSOE/sparseGEN/DistributedSparseGenColLinSOE.cpp:62: multiple definition of `DistributedSparseGenColLinSOE::~DistributedSparseGenColLinSOE()'
/home/panitha/lib/libOpenSees.a(DistributedSparseGenColLinSOE.o):/home/panitha/OpenSees/SRC/system_of_eqn/linearSOE/sparseGEN/DistributedSparseGenColLinSOE.cpp:62: first defined here
/home/panitha/OpenSees/SRC/system_of_eqn/linearSOE/sparseGEN/DistributedSparseGenColLinSOE.o: In function `~DistributedSparseGenColLinSOE':
/home/panitha/OpenSees/SRC/system_of_eqn/linearSOE/sparseGEN/DistributedSparseGenColLinSOE.cpp:62: multiple definition of `DistributedSparseGenColLinSOE::~DistributedSparseGenColLinSOE()'
/home/panitha/lib/libOpenSees.a(DistributedSparseGenColLinSOE.o):/home/panitha/OpenSees/SRC/system_of_eqn/linearSOE/sparseGEN/DistributedSparseGenColLinSOE.cpp:62: first defined here
/home/panitha/OpenSees/SRC/system_of_eqn/linearSOE/sparseGEN/DistributedSparseGenColLinSOE.o: In function `DistributedSparseGenColLinSOE':
/home/panitha/OpenSees/SRC/system_of_eqn/linearSOE/sparseGEN/DistributedSparseGenColLinSOE.cpp:52: multiple definition of `DistributedSparseGenColLinSOE::DistributedSparseGenColLinSOE()'
/home/panitha/lib/libOpenSees.a(DistributedSparseGenColLinSOE.o):/home/panitha/OpenSees/SRC/system_of_eqn/linearSOE/sparseGEN/DistributedSparseGenColLinSOE.cpp:52: first defined here
/home/panitha/OpenSees/SRC/system_of_eqn/linearSOE/sparseGEN/DistributedSparseGenColLinSOE.o: In function `DistributedSparseGenColLinSOE':
/home/panitha/OpenSees/SRC/system_of_eqn/linearSOE/sparseGEN/DistributedSparseGenColLinSOE.cpp:52: multiple definition of `DistributedSparseGenColLinSOE::DistributedSparseGenColLinSOE()'
/home/panitha/lib/libOpenSees.a(DistributedSparseGenColLinSOE.o):/home/panitha/OpenSees/SRC/system_of_eqn/linearSOE/sparseGEN/DistributedSparseGenColLinSOE.cpp:52: first defined here
/home/panitha/OpenSees/SRC/system_of_eqn/linearSOE/sparseGEN/DistributedSparseGenColLinSOE.o: In function `DistributedSparseGenColLinSOE':
/home/panitha/OpenSees/SRC/system_of_eqn/linearSOE/sparseGEN/DistributedSparseGenColLinSOE.cpp:43: multiple definition of `DistributedSparseGenColLinSOE::DistributedSparseGenColLinSOE(SparseGenColLinSolver&)'
/home/panitha/lib/libOpenSees.a(DistributedSparseGenColLinSOE.o):/home/panitha/OpenSees/SRC/system_of_eqn/linearSOE/sparseGEN/DistributedSparseGenColLinSOE.cpp:43: first defined here
/home/panitha/OpenSees/SRC/system_of_eqn/linearSOE/sparseGEN/DistributedSparseGenColLinSOE.o: In function `DistributedSparseGenColLinSOE':
/home/panitha/OpenSees/SRC/system_of_eqn/linearSOE/sparseGEN/DistributedSparseGenColLinSOE.cpp:43: multiple definition of `DistributedSparseGenColLinSOE::DistributedSparseGenColLinSOE(SparseGenColLinSolver&)'
/home/panitha/lib/libOpenSees.a(DistributedSparseGenColLinSOE.o):/home/panitha/OpenSees/SRC/system_of_eqn/linearSOE/sparseGEN/DistributedSparseGenColLinSOE.cpp:43: first defined here
/home/panitha/OpenSees/SRC/system_of_eqn/linearSOE/sparseGEN/SparseGenColLinSolver.o: In function `SparseGenColLinSolver::setLinearSOE(SparseGenColLinSOE&)':
/home/panitha/OpenSees/SRC/system_of_eqn/linearSOE/LinearSOESolver.h:51: multiple definition of `SparseGenColLinSolver::setLinearSOE(SparseGenColLinSOE&)'
/home/panitha/lib/libOpenSees.a(SparseGenColLinSolver.o):/home/panitha/OpenSees/SRC/system_of_eqn/linearSOE/LinearSOESolver.h:51: first defined here
/home/panitha/OpenSees/SRC/system_of_eqn/linearSOE/sparseGEN/SparseGenColLinSolver.o: In function `~SparseGenColLinSolver':
/home/panitha/OpenSees/SRC/system_of_eqn/linearSOE/sparseGEN/SparseGenColLinSolver.cpp:46: multiple definition of `SparseGenColLinSolver::~SparseGenColLinSolver()'
/home/panitha/lib/libOpenSees.a(SparseGenColLinSolver.o):/home/panitha/OpenSees/SRC/system_of_eqn/linearSOE/sparseGEN/SparseGenColLinSolver.cpp:46: first defined here
/home/panitha/OpenSees/SRC/system_of_eqn/linearSOE/sparseGEN/SparseGenColLinSolver.o: In function `~SparseGenColLinSolver':
/home/panitha/OpenSees/SRC/system_of_eqn/linearSOE/sparseGEN/SparseGenColLinSolver.cpp:46: multiple definition of `SparseGenColLinSolver::~SparseGenColLinSolver()'
/home/panitha/lib/libOpenSees.a(SparseGenColLinSolver.o):/home/panitha/OpenSees/SRC/system_of_eqn/linearSOE/sparseGEN/SparseGenColLinSolver.cpp:46: first defined here
/home/panitha/OpenSees/SRC/system_of_eqn/linearSOE/sparseGEN/SparseGenColLinSolver.o: In function `~SparseGenColLinSolver':
/home/panitha/OpenSees/SRC/system_of_eqn/linearSOE/sparseGEN/SparseGenColLinSolver.cpp:46: multiple definition of `SparseGenColLinSolver::~SparseGenColLinSolver()'
/home/panitha/lib/libOpenSees.a(SparseGenColLinSolver.o):/home/panitha/OpenSees/SRC/system_of_eqn/linearSOE/sparseGEN/SparseGenColLinSolver.cpp:46: first defined here
/home/panitha/OpenSees/SRC/system_of_eqn/linearSOE/sparseGEN/SparseGenColLinSolver.o: In function `SparseGenColLinSolver':
/home/panitha/OpenSees/SRC/system_of_eqn/linearSOE/sparseGEN/SparseGenColLinSolver.cpp:39: multiple definition of `SparseGenColLinSolver::SparseGenColLinSolver(int)'
/home/panitha/lib/libOpenSees.a(SparseGenColLinSolver.o):/home/panitha/OpenSees/SRC/system_of_eqn/linearSOE/sparseGEN/SparseGenColLinSolver.cpp:39: first defined here
/home/panitha/OpenSees/SRC/system_of_eqn/linearSOE/sparseGEN/SparseGenColLinSolver.o: In function `SparseGenColLinSolver':
/home/panitha/OpenSees/SRC/system_of_eqn/linearSOE/sparseGEN/SparseGenColLinSolver.cpp:39: multiple definition of `SparseGenColLinSolver::SparseGenColLinSolver(int)'
/home/panitha/lib/libOpenSees.a(SparseGenColLinSolver.o):/home/panitha/OpenSees/SRC/system_of_eqn/linearSOE/sparseGEN/SparseGenColLinSolver.cpp:39: first defined here
/home/panitha/lib/libOpenSees.a(Metis.o): In function `Metis::number(Graph&, int)':
/home/panitha/OpenSees/SRC/graph/partitioner/Metis.cpp:466: undefined reference to `METIS_PartGraphKway'
/home/panitha/OpenSees/SRC/graph/partitioner/Metis.cpp:463: undefined reference to `METIS_PartGraphRecursive'
/home/panitha/lib/libOpenSees.a(Metis.o): In function `Metis::partitionGraph(int*, int*, int*, int*, int*, int*, int*, int*, int*, int*, int*, bool)':
/home/panitha/OpenSees/SRC/graph/partitioner/Metis.cpp:334: undefined reference to `METIS_PartGraphKway'
/home/panitha/OpenSees/SRC/graph/partitioner/Metis.cpp:331: undefined reference to `METIS_PartGraphRecursive'
/home/panitha/lib/libOpenSees.a(Metis.o): In function `Metis::partition(Graph&, int)':
/home/panitha/OpenSees/SRC/graph/partitioner/Metis.cpp:301: undefined reference to `METIS_PartGraphKway'
/home/panitha/OpenSees/SRC/graph/partitioner/Metis.cpp:285: undefined reference to `METIS_PartGraphRecursive'
/home/panitha/lib/libOpenSees.a(Metis.o): In function `Metis::partitionHexMesh(int*, int*, int*, int, int, int, bool)':
/home/panitha/OpenSees/SRC/graph/partitioner/Metis.cpp:354: undefined reference to `METIS_PartMeshDual'
/home/panitha/OpenSees/SRC/graph/partitioner/Metis.cpp:352: undefined reference to `METIS_PartMeshNodal'
/home/panitha/lib/libDistributedSuperLU.a(get_perm_c.o): In function `get_metis':
/home/panitha/OpenSees/OTHER/SuperLU_DIST_2.5/SRC/get_perm_c.c:63: undefined reference to `METIS_NodeND'
collect2: ld returned 1 exit status
make: *** [tcl] Error 1

Please give me the solution for this error.
Advance thank you
Regards,
Anitha

Post Reply