Compiling OpenSees on NCSA ABE

For developers writing C++, Fortran, Java, code who have questions or comments to make.

Moderators: silvia, selimgunay, Moderators

Post Reply
denavit
Posts: 15
Joined: Mon Nov 13, 2006 1:33 pm
Location: University of Tennessee, Knoxville

Compiling OpenSees on NCSA ABE

Post by denavit »

I am trying to compile OpenSees on NCSA ABE and running into trouble.

I copied over Makefile.def.ABE from the Makes directory and made the following changes:
1. PROGRAMMING_MODE = SEQUENTIAL
2. Home Directory
3. HAVEMUMPS = NO

It works fine until linking where I get error "multiple definition of" errors:
LIBRARIES BUILT ... NOW LINKING OpenSees PROGRAM
gmake[1]: Entering directory `/u/ac/denavit/workspace/OpenSees/OpenSees/SRC/tcl'
gmake[1]: Nothing to be done for `tcl'.
gmake[1]: Leaving directory `/u/ac/denavit/workspace/OpenSees/OpenSees/SRC/tcl'
gmake[1]: Entering directory `/u/ac/denavit/workspace/OpenSees/OpenSees/SRC/modelbuilder/tcl'
gmake[2]: Entering directory `/u/ac/denavit/workspace/OpenSees/OpenSees/SRC/tcl'
gmake[2]: Nothing to be done for `tcl'.
gmake[2]: Leaving directory `/u/ac/denavit/workspace/OpenSees/OpenSees/SRC/tcl'
/u/ac/denavit/workspace/OpenSees/OpenSees/SRC/system_of_eqn/linearSOE/sparseGEN/SparseGenColLinSolver.o(.text+0x0): In function `SparseGenColLinSolver::~SparseGenColLinSolver()':
: multiple definition of `SparseGenColLinSolver::~SparseGenColLinSolver()'
/u/ac/denavit/workspace/OpenSees/lib/libOpenSees.a(SparseGenColLinSolver.o)(.text+0x0): first defined here
/u/ac/denavit/workspace/OpenSees/OpenSees/SRC/system_of_eqn/linearSOE/sparseGEN/SparseGenColLinSolver.o(.text+0x10): In function `_ZN21SparseGenColLinSolverD9Ev':
: multiple definition of `_ZN21SparseGenColLinSolverD9Ev'
/u/ac/denavit/workspace/OpenSees/lib/libOpenSees.a(SparseGenColLinSolver.o)(.text+0x10): first defined here
/u/ac/denavit/workspace/OpenSees/OpenSees/SRC/system_of_eqn/linearSOE/sparseGEN/SparseGenColLinSolver.o(.text+0x42): In function `SparseGenColLinSolver::~SparseGenColLinSolver()':
: multiple definition of `SparseGenColLinSolver::~SparseGenColLinSolver()'
/u/ac/denavit/workspace/OpenSees/lib/libOpenSees.a(SparseGenColLinSolver.o)(.text+0x42): first defined here
/u/ac/denavit/workspace/OpenSees/OpenSees/SRC/system_of_eqn/linearSOE/sparseGEN/SparseGenColLinSolver.o(.text+0x62): In function `SparseGenColLinSolver::setLinearSOE(SparseGenColLinSOE&)':
: multiple definition of `SparseGenColLinSolver::setLinearSOE(SparseGenColLinSOE&)'
/u/ac/denavit/workspace/OpenSees/lib/libOpenSees.a(SparseGenColLinSolver.o)(.text+0x62): first defined here
/u/ac/denavit/workspace/OpenSees/OpenSees/SRC/system_of_eqn/linearSOE/sparseGEN/SparseGenColLinSolver.o(.text+0x6a): In function `SparseGenColLinSolver::~SparseGenColLinSolver()':
: multiple definition of `SparseGenColLinSolver::~SparseGenColLinSolver()'
/u/ac/denavit/workspace/OpenSees/lib/libOpenSees.a(SparseGenColLinSolver.o)(.text+0x6a): first defined here
/u/ac/denavit/workspace/OpenSees/OpenSees/SRC/system_of_eqn/linearSOE/sparseGEN/SparseGenColLinSolver.o(.text+0x7a): In function `SparseGenColLinSolver::SparseGenColLinSolver(int)':
: multiple definition of `SparseGenColLinSolver::SparseGenColLinSolver(int)'
/u/ac/denavit/workspace/OpenSees/lib/libOpenSees.a(SparseGenColLinSolver.o)(.text+0x7a): first defined here
/u/ac/denavit/workspace/OpenSees/OpenSees/SRC/system_of_eqn/linearSOE/sparseGEN/SparseGenColLinSolver.o(.text+0x98): In function `_ZN21SparseGenColLinSolverC9Ei':
: multiple definition of `_ZN21SparseGenColLinSolverC9Ei'
/u/ac/denavit/workspace/OpenSees/lib/libOpenSees.a(SparseGenColLinSolver.o)(.text+0x98): first defined here
/u/ac/denavit/workspace/OpenSees/OpenSees/SRC/system_of_eqn/linearSOE/sparseGEN/SparseGenColLinSolver.o(.text+0xb6): In function `SparseGenColLinSolver::SparseGenColLinSolver(int)':
: multiple definition of `SparseGenColLinSolver::SparseGenColLinSolver(int)'
/u/ac/denavit/workspace/OpenSees/lib/libOpenSees.a(SparseGenColLinSolver.o)(.text+0xb6): first defined here
gmake[1]: *** [tcl] Error 1
gmake[1]: Leaving directory `/u/ac/denavit/workspace/OpenSees/OpenSees/SRC/modelbuilder/tcl'
make: *** [all] Error 2

Any advice would be appreciated.

Thanks,
Mark
MyncUnded
Posts: 1
Joined: Tue Feb 22, 2011 8:25 pm

Rocket French

Post by MyncUnded »

Hi,

The information you're looking actually existing within opensees.berkeley.edu.
I remember i saw it some where, some one must have posted it.


Lydia
MyncUnded
denavit
Posts: 15
Joined: Mon Nov 13, 2006 1:33 pm
Location: University of Tennessee, Knoxville

Re: Compiling OpenSees on NCSA ABE

Post by denavit »

I found a workable solution by deleting " $(FE)/system_of_eqn/linearSOE/sparseGEN/SparseGenColLinSolver.o \ " (Line 349) from PARALLEL_LIB in Makefile.def
denavit
Posts: 15
Joined: Mon Nov 13, 2006 1:33 pm
Location: University of Tennessee, Knoxville

Re: Compiling OpenSees on NCSA ABE

Post by denavit »

losebellytr
Posts: 1
Joined: Fri Feb 25, 2011 2:23 am

Re: Compiling OpenSees on NCSA ABE

Post by losebellytr »

I accept with information: make[1]: Entering directory `/u/ac/denavit/workspace/OpenSees/OpenSees/SRC/tcl'
gmake[1]: Nothing to be done for `tcl'.
gmake[1]: Leaving directory `/u/ac/denavit/workspace/OpenSees/OpenSees/SRC/tcl'
gmake[1]: Entering directory `/u/ac/denavit/workspace/OpenSees/OpenSees/SRC/modelbuilder/tcl'
gmake[2]: Entering directory `/u/ac/denavit/workspace/OpenSees/OpenSees/SRC/tcl'
gmake[2]: Nothing to be done for `tcl'.
gmake[2]: Leaving directory `/u/ac/denavit/workspace/OpenSees/OpenSees/SRC/tcl'
/u/ac/denavit/workspace/OpenSees/OpenSees/SRC/system_of_eqn/linearSOE/sparseGEN/SparseGenColLinSolver.o(.text+0x0): In function `SparseGenColLinSolver::~SparseGenColLinSolver()':
: multiple definition of `SparseGenColLinSolver::~SparseGenColLinSolver()'
Acbarionn
Posts: 1
Joined: Sat Feb 26, 2011 3:36 pm

Achat Viagra sur internet

Post by Acbarionn »

Really a educative and informative post. Cialis livraison rapide <a href="http://www.archive.org/details/CialisLi ... de">Cialis livraison discrete</a> Achat Viagra sur internet [url=http://www.archive.org/details/CialisLi ... rnetRapide]Viagra Cialis sur internet[/url] en ligne.
Post Reply