Compiling OpenSees on NCSA ABE
Moderators: silvia, selimgunay, Moderators
Compiling OpenSees on NCSA ABE
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
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
Rocket French
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
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
Re: Compiling OpenSees on NCSA ABE
I found a workable solution by deleting " $(FE)/system_of_eqn/linearSOE/sparseGEN/SparseGenColLinSolver.o \ " (Line 349) from PARALLEL_LIB in Makefile.def
-
- Posts: 1
- Joined: Fri Feb 25, 2011 2:23 am
Re: Compiling OpenSees on NCSA ABE
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()'
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()'
Achat Viagra sur internet
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.