Hello All,
I have been struggling compiling the parallel version of opensees I have been trying to use intelmpi and MKL. Here it the most recent error I get and below I am copying the Makefile.def:
[...]
Making TclModelBuilderDamageModelCommand.o from TclModelBuilderDamageModelCommand.cpp TclModelBuilderDamageModelCommand.o with /u/local/compilers/intel-cs/2013.0.028/mpi/intel64/bin/mpiicpc -D_NOGRAPHICS -O2 -D_PARALLEL_INTERPRETERS -D_MUMPS -D_TCL85 -D_BLAS -D_LINUX -D_UNIX -I/u/local/compilers/intel-cs/2013.0.028/mpi/intel64/include -I/usr/include/mysql -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/OTHER/UMFPACK -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/OTHER/SuperLU_4.1/SRC -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/OTHER/SuperLU_DIST_2.5/SRC -I/u/local/apps/mumps/4.10.0/intel-13.cs/intelmpi/include -I/u/local/apps/metis/5.1.0/intel-13.cs/intelmpi/include/ -I/u/local/apps/parmetis/4.0.3/intel-13.cs/intelmpi/include -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/matrix -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/nDarray -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/tagged -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/damage -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/tcl -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/material -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/material/wall -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/material/uniaxial -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/material/uniaxial/fedeas -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/material/uniaxial/drain -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/material/uniaxial/snap -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/material/uniaxial/PY -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/material/uniaxial/limitState -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/material/uniaxial/limitState/limitCurve -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/material/uniaxial/backbone -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/material/state -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/material/state/stiffness -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/material/state/unloading -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/material/state/strength -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/material/nD -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/material/nD/soil -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/material/nD/feap -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/material/nD/Template3Dep -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/material/nD/NewTemplate3Dep -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/material/nD/FiniteDeformation -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/material/nD/FiniteDeformation/fdFlow -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/material/nD/FiniteDeformation/fdYield -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/material/nD/FiniteDeformation/fdEvolution -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/material/nD/cyclicSoil -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/material/nD/UWmaterials -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/material/section -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/material/section/repres/cell -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/material/section/repres/patch -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/material/section/repres/reinfBar -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/material/section/repres/reinfLayer -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/material/section/repres/section -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/material/section/fiber -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/material/section/integration -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/material/section/yieldSurface -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/material/yieldSurface/evolution -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/material/yieldSurface/plasticHardeningMaterial -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/material/yieldSurface/yieldSurfaceBC -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/material/ce234 -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/recorder -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/recorder/response -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/handler -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/database -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/renderer -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/convergenceTest -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/utility -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/actor -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/actor/channel -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/actor/message -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/actor/machineBroker -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/actor/objectBroker -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/actor/actor -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/actor/shadow -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/actor/address -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/tagged/storage -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/domain -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/domain/domain -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/domain/domain/single -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/domain/component -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/domain/component/storage -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/domain/domain/partitioned -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/domain/partitioner -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/domain/loadBalancer -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/domain/subdomain -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/domain/region -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/domain/node -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/domain/load -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/domain/pattern -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/domain/pattern/drm -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/domain/groundMotion -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/domain/constraints -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/domain/region -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/element -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/element/beam2d -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/element/beam3d -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/element/truss -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/element/fortran -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/element/feap -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/element/zeroLength -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/element/fourNodeQuad -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/element/triangle -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/element/PFEMElement -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/element/beamWithHinges -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/element/dispBeamColumn -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/element/dispBeamColumnInt -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/element/forceBeamColumn -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/element/generic -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/element/elasticBeamColumn -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/element/8nbrick -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/element/20nbrick -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/element/27nbrick -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/element/upU -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/element/UP_ucdavis -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/element/UP-ucsd -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/element/TotalLagrangianFD20NodeBrick -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/element/brick -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/element/shell -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/element/joint -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/element/elastomericBearing -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/element/frictionBearing -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/element/frictionBearing/frictionModel -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/element/adapter -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/element/twoNodeLink -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/element/updatedLagrangianBeamColumn -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/element/UWelements -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/element/HUelements -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/analysis -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/analysis/analysis -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/analysis/handler -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/analysis/numberer -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/analysis/algorithm -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/analysis/algorithm/eigenAlgo -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/analysis/algorithm/equiSolnAlgo -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/analysis/algorithm/equiSolnAlgo/accelerator -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/analysis/algorithm/domainDecompAlgo -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/analysis/model -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/analysis/model/simple -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/analysis/method -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/analysis/fe_ele -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/analysis/fe_ele/penalty -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/analysis/fe_ele/lagrange -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/analysis/fe_ele/transformation -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/analysis/dof_grp -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/analysis/integrator -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/modelbuilder -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/modelbuilder/triangle -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/modelbuilder/tcl -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/system_of_eqn -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/system_of_eqn/eigenSOE -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/system_of_eqn/linearSOE -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/system_of_eqn/linearSOE/slowMatrix -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/system_of_eqn/linearSOE/bandSPD -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/system_of_eqn/linearSOE/profileSPD -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/system_of_eqn/linearSOE/fullGEN -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/system_of_eqn/linearSOE/bandGEN -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/system_of_eqn/linearSOE/sparseGEN -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/system_of_eqn/linearSOE/sparseSYM -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/system_of_eqn/linearSOE/petsc -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/system_of_eqn/linearSOE/umfGEN -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/system_of_eqn/linearSOE/diagonal -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/system_of_eqn/linearSOE/cg -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/system_of_eqn/linearSOE/BJsolvers -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/system_of_eqn/linearSOE/itpack -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/system_of_eqn/linearSOE/mumps -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/system_of_eqn/eigenSOE -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/graph/graph -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/graph/numberer -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/graph/partitioner -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/element/nonlinearBeamColumn/element -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/element/nonlinearBeamColumn/fiber -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/element/nonlinearBeamColumn/matrixutil -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/element/nonlinearBeamColumn/quadrule -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/coordTransformation -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/reliability/analysis -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/reliability/analysis/analysis -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/reliability/analysis/analysis/system -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/reliability/analysis/convergenceCheck -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/reliability/analysis/curvature -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/reliability/analysis/designPoint -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/reliability/analysis/direction -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/reliability/analysis/gFunction -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/reliability/analysis/gradient -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/reliability/analysis/hessian -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/reliability/analysis/meritFunction -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/reliability/analysis/misc -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/reliability/analysis/randomNumber -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/reliability/analysis/rootFinding -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/reliability/analysis/sensitivity -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/reliability/analysis/stepSize -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/reliability/analysis/transformation -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/reliability/analysis/telm -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/reliability/domain -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/reliability/domain/components -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/reliability/domain/distributions -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/reliability/domain/filter -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/reliability/domain/modulatingFunction -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/reliability/domain/spectrum -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/reliability/domain/storage -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/reliability/domain/functionEvaluator -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/reliability/domain/performanceFunction -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/optimization/tcl -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/optimization/domain -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/optimization/domain/component -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/optimization/SNOPT -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/reliability/FEsensitivity -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/reliability/tcl -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/unittest -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/api -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/OTHER/SuperLU_4.1/SRC -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/package -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/../OTHER/AMD -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/../OTHER/CSPARSE -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/../OTHER/Triangle -I/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/../OTHER/tetgen1.4.3 -c TclModelBuilderDamageModelCommand.cpp
make[3]: Entering directory `/u/home/systems/downloads/opensees/2.4.4/parallel/OpenSees/SRC/recorder/response'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/u/home/systems/downloads/opensees/2.4.4/parallel/OpenSees/SRC/recorder/response'
make[2]: Leaving directory `/u/home/systems/downloads/opensees/2.4.4/parallel/OpenSees/SRC/damage'
make[2]: Entering directory `/u/home/systems/downloads/opensees/2.4.4/parallel/OpenSees/SRC/api'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/u/home/systems/downloads/opensees/2.4.4/parallel/OpenSees/SRC/api'
make[1]: Leaving directory `/u/home/systems/downloads/opensees/2.4.4/parallel/OpenSees/SRC'
LIBRARIES BUILT ... NOW LINKING OpenSees PROGRAM
make[1]: Entering directory `/u/home/systems/downloads/opensees/2.4.4/parallel/OpenSees/SRC/tcl'
make[1]: Nothing to be done for `tcl'.
make[1]: Leaving directory `/u/home/systems/downloads/opensees/2.4.4/parallel/OpenSees/SRC/tcl'
make[1]: Entering directory `/u/home/systems/downloads/opensees/2.4.4/parallel/OpenSees/SRC/modelbuilder/tcl'
Makefile:45: warning: overriding commands for target `tcl'
Makefile:13: warning: ignoring old commands for target `tcl'
make[2]: Entering directory `/u/home/systems/downloads/opensees/2.4.4/parallel/OpenSees/SRC/tcl'
make[2]: Nothing to be done for `tcl'.
make[2]: Leaving directory `/u/home/systems/downloads/opensees/2.4.4/parallel/OpenSees/SRC/tcl'
/bin/sh: line 0: cd: /u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/system_of_eqn/diagonal: No such file or directory
make[2]: Entering directory `/u/home/systems/downloads/opensees/2.4.4/parallel/OpenSees/SRC/modelbuilder/tcl'
Makefile:45: warning: overriding commands for target `tcl'
Makefile:13: warning: ignoring old commands for target `tcl'
Unknown target mpi, try: make help
make[2]: Leaving directory `/u/home/systems/downloads/opensees/2.4.4/parallel/OpenSees/SRC/modelbuilder/tcl'
make[2]: Entering directory `/u/home/systems/downloads/opensees/2.4.4/parallel/OpenSees/SRC/actor/channel'
make[2]: Nothing to be done for `mpi'.
make[2]: Leaving directory `/u/home/systems/downloads/opensees/2.4.4/parallel/OpenSees/SRC/actor/channel'
echo /u/local/compilers/intel-cs/2013.0.028/mpi/intel64/bin/mpiicpc -Wl,-rpath /u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/tcl/tclMain.o /u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/tcl/mpiParameterMain.o /u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/tcl/commands.o /u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/modelbuilder/tcl/myCommands.o /u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/actor/channel/MPI_Channel.o /u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/actor/machineBroker/MPI_MachineBroker.o /u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/system_of_eqn/linearSOE/diagonal/MPIDiagonalSOE.o /u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/system_of_eqn/linearSOE/diagonal/MPIDiagonalSolver.o /u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/domain/subdomain/ActorSubdomain.o /u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/domain/subdomain/ShadowSubdomain.o /u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/tcl/TclFeViewer.o /u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/tcl/TclVideoPlayer.o \
/u/local/apps/opensees/2.4.4/intel-13.cs/intelmpi/lib/libOpenSees.a -L/u/local/compilers/intel-cs/2013.0.028/mpi/intel64/lib -L/u/local/downloads/opensees/2.4.4/parallel/OpenSees/lib -L/usr/lib64 -L/usr/lib64 -ldl -lm \
-L/usr/lib64 -ldl -lm /u/local/apps/opensees/2.4.4/intel-13.cs/intelmpi/lib/libSuperLU.a /u/local/apps/opensees/2.4.4/intel-13.cs/intelmpi/lib/libUmfpack.a /u/local/apps/opensees/2.4.4/intel-13.cs/intelmpi/lib/libArpack.a /u/local/apps/opensees/2.4.4/intel-13.cs/intelmpi/lib/libAMD.a /u/local/apps/opensees/2.4.4/intel-13.cs/intelmpi/lib/libDistributedSuperLU.a /u/local/apps/opensees/2.4.4/intel-13.cs/intelmpi/lib/libCSparse.a /u/local/apps/parmetis/4.0.3/intel-13.cs/intelmpi/lib/libparmetis.a /u/local/apps/opensees/2.4.4/intel-13.cs/intelmpi/lib/libDistributedSuperLU.a /u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/system_of_eqn/linearSOE/mumps/MumpsSOE.o /u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/system_of_eqn/linearSOE/mumps/MumpsSolver.o /u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/system_of_eqn/linearSOE/mumps/MumpsParallelSOE.o /u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/system_of_eqn/linearSOE/mumps/MumpsParallelSolver.o /u/local/compilers/intel-cs/2013.0.028/composer_xe/mkl/lib/intel64/libmkl_scalapack_lp64.a -Wl,--start-group /u/local/compilers/intel-cs/2013.0.028/composer_xe/mkl/lib/intel64/libmkl_intel_lp64.a /u/local/compilers/intel-cs/2013.0.028/composer_xe/mkl/lib/intel64/libmkl_sequential.a /u/local/compilers/intel-cs/2013.0.028/composer_xe/mkl/lib/intel64/libmkl_core.a /u/local/compilers/intel-cs/2013.0.028/composer_xe/mkl/lib/intel64/libmkl_blacs_intelmpi_lp64.a -Wl,--end-group -lpthread -lm /u/local/apps/mumps/4.10.0/intel-13.cs/intelmpi/lib/libdmumps.a /u/local/apps/mumps/4.10.0/intel-13.cs/intelmpi/lib/libmumps_common.a /u/local/apps/mumps/4.10.0/intel-13.cs/intelmpi/lib/libpord.a /u/local/apps/parmetis/4.0.3/intel-13.cs/intelmpi/lib/libparmetis.a /u/local/apps/metis/5.1.0/intel-13.cs/intelmpi/lib/libmetis.a /u/local/compilers/intel-cs/2013.0.028/composer_xe/mkl/lib/intel64/libmkl_scalapack_lp64.a -Wl,--start-group /u/local/compilers/intel-cs/2013.0.028/composer_xe/mkl/lib/intel64/libmkl_intel_lp64.a /u/local/compilers/intel-cs/2013.0.028/composer_xe/mkl/lib/intel64/libmkl_sequential.a /u/local/compilers/intel-cs/2013.0.028/composer_xe/mkl/lib/intel64/libmkl_core.a /u/local/compilers/intel-cs/2013.0.028/composer_xe/mkl/lib/intel64/libmkl_blacs_intelmpi_lp64.a -Wl,--end-group -lpthread -lm /usr/lib64/libdl.so /u/local/compilers/intel-cs/2013.0.028/composer_xe/mkl/lib/intel64/libmkl_scalapack_lp64.a -Wl,--start-group /u/local/compilers/intel-cs/2013.0.028/composer_xe/mkl/lib/intel64/libmkl_intel_lp64.a /u/local/compilers/intel-cs/2013.0.028/composer_xe/mkl/lib/intel64/libmkl_sequential.a /u/local/compilers/intel-cs/2013.0.028/composer_xe/mkl/lib/intel64/libmkl_core.a /u/local/compilers/intel-cs/2013.0.028/composer_xe/mkl/lib/intel64/libmkl_blacs_intelmpi_lp64.a -Wl,--end-group -lpthread -lm /u/local/apps/parmetis/4.0.3/intel-13.cs/intelmpi/lib/libparmetis.a /u/local/apps/metis/5.1.0/intel-13.cs/intelmpi/lib/libmetis.a /u/local/compilers/intel-cs/2013.0.028/composer_xe/mkl/lib/intel64/libmkl_scalapack_lp64.a -Wl,--start-group /u/local/compilers/intel-cs/2013.0.028/composer_xe/mkl/lib/intel64/libmkl_intel_lp64.a /u/local/compilers/intel-cs/2013.0.028/composer_xe/mkl/lib/intel64/libmkl_sequential.a /u/local/compilers/intel-cs/2013.0.028/composer_xe/mkl/lib/intel64/libmkl_core.a /u/local/compilers/intel-cs/2013.0.028/composer_xe/mkl/lib/intel64/libmkl_blacs_intelmpi_lp64.a -Wl,--end-group -lpthread -lm -L/usr/lib64 -lssl -lcrypto /usr/lib64/libtk8.5.so /usr/lib64/libtcl8.5.so \
-L/u/local/compilers/intel-cs/2013.0.028/composer_xe/compiler/lib/intel64 -lifcore -o /u/local/apps/opensees/2.4.4/intel-13.cs/intelmpi/bin/OpenSeesMP
/u/local/compilers/intel-cs/2013.0.028/mpi/intel64/bin/mpiicpc -Wl,-rpath /u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/tcl/tclMain.o /u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/tcl/mpiParameterMain.o /u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/tcl/commands.o /u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/modelbuilder/tcl/myCommands.o /u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/actor/channel/MPI_Channel.o /u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/actor/machineBroker/MPI_MachineBroker.o /u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/system_of_eqn/linearSOE/diagonal/MPIDiagonalSOE.o /u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/system_of_eqn/linearSOE/diagonal/MPIDiagonalSolver.o /u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/domain/subdomain/ActorSubdomain.o /u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/domain/subdomain/ShadowSubdomain.o /u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/tcl/TclFeViewer.o /u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/tcl/TclVideoPlayer.o /u/local/apps/opensees/2.4.4/intel-13.cs/intelmpi/lib/libOpenSees.a -L/u/local/compilers/intel-cs/2013.0.028/mpi/intel64/lib -L/u/local/downloads/opensees/2.4.4/parallel/OpenSees/lib -L/usr/lib64 -L/usr/lib64 -ldl -lm -L/usr/lib64 -ldl -lm /u/local/apps/opensees/2.4.4/intel-13.cs/intelmpi/lib/libSuperLU.a /u/local/apps/opensees/2.4.4/intel-13.cs/intelmpi/lib/libUmfpack.a /u/local/apps/opensees/2.4.4/intel-13.cs/intelmpi/lib/libArpack.a /u/local/apps/opensees/2.4.4/intel-13.cs/intelmpi/lib/libAMD.a /u/local/apps/opensees/2.4.4/intel-13.cs/intelmpi/lib/libDistributedSuperLU.a /u/local/apps/opensees/2.4.4/intel-13.cs/intelmpi/lib/libCSparse.a /u/local/apps/parmetis/4.0.3/intel-13.cs/intelmpi/lib/libparmetis.a /u/local/apps/opensees/2.4.4/intel-13.cs/intelmpi/lib/libDistributedSuperLU.a /u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/system_of_eqn/linearSOE/mumps/MumpsSOE.o /u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/system_of_eqn/linearSOE/mumps/MumpsSolver.o /u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/system_of_eqn/linearSOE/mumps/MumpsParallelSOE.o /u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/system_of_eqn/linearSOE/mumps/MumpsParallelSolver.o /u/local/compilers/intel-cs/2013.0.028/composer_xe/mkl/lib/intel64/libmkl_scalapack_lp64.a -Wl,--start-group /u/local/compilers/intel-cs/2013.0.028/composer_xe/mkl/lib/intel64/libmkl_intel_lp64.a /u/local/compilers/intel-cs/2013.0.028/composer_xe/mkl/lib/intel64/libmkl_sequential.a /u/local/compilers/intel-cs/2013.0.028/composer_xe/mkl/lib/intel64/libmkl_core.a /u/local/compilers/intel-cs/2013.0.028/composer_xe/mkl/lib/intel64/libmkl_blacs_intelmpi_lp64.a -Wl,--end-group -lpthread -lm /u/local/apps/mumps/4.10.0/intel-13.cs/intelmpi/lib/libdmumps.a /u/local/apps/mumps/4.10.0/intel-13.cs/intelmpi/lib/libmumps_common.a /u/local/apps/mumps/4.10.0/intel-13.cs/intelmpi/lib/libpord.a /u/local/apps/parmetis/4.0.3/intel-13.cs/intelmpi/lib/libparmetis.a /u/local/apps/metis/5.1.0/intel-13.cs/intelmpi/lib/libmetis.a /u/local/compilers/intel-cs/2013.0.028/composer_xe/mkl/lib/intel64/libmkl_scalapack_lp64.a -Wl,--start-group /u/local/compilers/intel-cs/2013.0.028/composer_xe/mkl/lib/intel64/libmkl_intel_lp64.a /u/local/compilers/intel-cs/2013.0.028/composer_xe/mkl/lib/intel64/libmkl_sequential.a /u/local/compilers/intel-cs/2013.0.028/composer_xe/mkl/lib/intel64/libmkl_core.a /u/local/compilers/intel-cs/2013.0.028/composer_xe/mkl/lib/intel64/libmkl_blacs_intelmpi_lp64.a -Wl,--end-group -lpthread -lm /usr/lib64/libdl.so /u/local/compilers/intel-cs/2013.0.028/composer_xe/mkl/lib/intel64/libmkl_scalapack_lp64.a -Wl,--start-group /u/local/compilers/intel-cs/2013.0.028/composer_xe/mkl/lib/intel64/libmkl_intel_lp64.a /u/local/compilers/intel-cs/2013.0.028/composer_xe/mkl/lib/intel64/libmkl_sequential.a /u/local/compilers/intel-cs/2013.0.028/composer_xe/mkl/lib/intel64/libmkl_core.a /u/local/compilers/intel-cs/2013.0.028/composer_xe/mkl/lib/intel64/libmkl_blacs_intelmpi_lp64.a -Wl,--end-group -lpthread -lm /u/local/apps/parmetis/4.0.3/intel-13.cs/intelmpi/lib/libparmetis.a /u/local/apps/metis/5.1.0/intel-13.cs/intelmpi/lib/libmetis.a /u/local/compilers/intel-cs/2013.0.028/composer_xe/mkl/lib/intel64/libmkl_scalapack_lp64.a -Wl,--start-group /u/local/compilers/intel-cs/2013.0.028/composer_xe/mkl/lib/intel64/libmkl_intel_lp64.a /u/local/compilers/intel-cs/2013.0.028/composer_xe/mkl/lib/intel64/libmkl_sequential.a /u/local/compilers/intel-cs/2013.0.028/composer_xe/mkl/lib/intel64/libmkl_core.a /u/local/compilers/intel-cs/2013.0.028/composer_xe/mkl/lib/intel64/libmkl_blacs_intelmpi_lp64.a -Wl,--end-group -lpthread -lm -L/usr/lib64 -lssl -lcrypto /usr/lib64/libtk8.5.so /usr/lib64/libtcl8.5.so -L/u/local/compilers/intel-cs/2013.0.028/composer_xe/compiler/lib/intel64 -lifcore -o /u/local/apps/opensees/2.4.4/intel-13.cs/intelmpi/bin/OpenSeesMP
/u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC/tcl/mpiParameterMain.o: In function `main':
mpiParameterMain.cpp:(.text+0x4a0): undefined reference to `g3TclMain(int, char**, int (*)(Tcl_Interp*), int, int)'
/u/local/apps/opensees/2.4.4/intel-13.cs/intelmpi/lib/libOpenSees.a(TclModelBuilderFrictionModelCommand.o): In function `TclModelBuilderFrictionModelCommand(void*, Tcl_Interp*, int, char const**, Domain*)':
TclModelBuilderFrictionModelCommand.cpp:(.text+0x10d1): undefined reference to `VelNormalFrcDep::VelNormalFrcDep(int, double, double, double, double, double, double, double, double)'
make[1]: *** [tcl] Error 1
make[1]: Leaving directory `/u/home/systems/downloads/opensees/2.4.4/parallel/OpenSees/SRC/modelbuilder/tcl'
Problem building parallel opensees
Moderator: selimgunay
Re: Problem building parallel opensees
This is the Makefile.def
############################################################################
#
# Program: OpenSees
#
# Purpose: A Top-level Makefile to create the libraries needed
# to use the OpenSees framework. Works on Linux version 6.1
# and below.
#
# Written: fmk
# Created: 10/99
#
# Send bug reports, comments or suggestions to fmckenna@ce.berkeley.edu
#
############################################################################
# copy /opt/ActiveTcl-8.5/lib/tcl8.5/init.tcl to tcl library location
###################################################################
# CHANGE THIS SECTION AND HAVE A LOOK AT THE SECTION HAVING
#!!!!!!!!!!!!!USE MACHINES SPECIFIC LOCATIONS!!!!!!!!!!!!! MARK
###################################################################
DOWNDIR = /u/local/downloads/opensees/2.4.4/parallel/OpenSees
INSTDIR = /u/local/apps/opensees/2.4.4/intel-13.cs/intelmpi
#TCLdir = /app/ActiveTcl-8.5
#BERKLEYDir=$(DOWNDIR)/bdb
MPIdir = /u/local/compilers/intel-cs/2013.0.028/mpi/intel64
##################################################################
#PARALLELdir=$(DOWNDIR)/PARALLEL
##TCL
#TCL_BIN = $(TCLdir)/bin
#TCL_INC = $(TCLdir)/include
#TCL_LIB = -L$(TCLdir)/lib
######################################################################################
# %---------------------------------%
# | SECTION 1: PROGRAM |
# %---------------------------------%
#
# Specify the location and name of the OpenSees interpreter program
# that will be created (if this all works!)
#PROGRAMMING_MODE = SEQUENTIAL
#PROGRAMMING_MODE = PARALLEL
PROGRAMMING_MODE = PARALLEL_INTERPRETERS
OpenSees_PROGRAM = $(INSTDIR)/bin/OpenSees
ifeq ($(PROGRAMMING_MODE), PARALLEL)
OpenSees_PROGRAM = $(INSTDIR)/bin/OpenSeesSP
endif
ifeq ($(PROGRAMMING_MODE), PARALLEL_INTERPRETERS)
OpenSees_PROGRAM = $(INSTDIR)/bin/OpenSeesMP
endif
# %---------------------------------%
# | SECTION 2: MAKEFILE CONSTANTS |
# %---------------------------------%
#
# Specify the constants the are used as control structure variables in the Makefiles.
OPERATING_SYSTEM = LINUX
#DEBUG_MODE = DEBUG, NO_DEBUG
DEBUG_MODE = NO_DEBUG
#RELIABILITY = YES_RELIABILITY
RELIABILITY = NO_RELIABILITY
GRAPHICS = NONE
# %---------------------------------%
# | SECTION 3: PATHS |
# %---------------------------------%
#
# Note: if vendor supplied BLAS and LAPACK libraries or if you have
# any of the libraries already leave the directory location blank AND
# remove the directory from DIRS.
FE = /u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC
AMDdir = $(DOWNDIR)/OTHER/AMD
BLASdir =
CBLASdir = $(DOWNDIR)/OTHER/CBLAS
LAPACKdir =
SUPERLUdir = $(DOWNDIR)/OTHER/SuperLU_4.1/SRC
ARPACKdir = $(DOWNDIR)/OTHER/ARPACK
UMFPACKdir = $(DOWNDIR)/OTHER/UMFPACK
METISdir = $(DOWNDIR)/OTHER/METIS
SRCdir = $(DOWNDIR)/SRC
ITPACKdir = $(DOWNDIR)/OTHER/ITPACK
SUPERLU_DISTdir = $(DOWNDIR)/OTHER/SuperLU_DIST_2.5/SRC
CSPARSEdir = $(DOWNDIR)/OTHER/CSPARSE
DIRS = $(AMDdir) $(CBLASdir) $(ITPACKdir) $(CSPARSEdir) $(METISdir) \
$(SUPERLUdir) $(SUPERLU_DISTdir) $(ARPACKdir) $(UMFPACKdir) $(FE)
#DIRS = $(AMDdir) $(BLASdir) $(CBLASdir) $(LAPACKdir) $(ITPACKdir)\
# $(SUPERLUdir) $(SUPERLU_DISTdir) $(ARPACKdir) $(UMFPACKdir) $(METISdir) $(FE)
# %-------------------------------------------------------%
# | SECTION 4: LIBRARIES |
# | |
# | The following section defines the libraries that will |
# | be created and/or linked with when the libraries are |
# | being created or linked with. |
# %-------------------------------------------------------%
#
# Note: if vendor supplied BLAS and LAPACK libraries leave the
# libraries blank. You have to get your own copy of the tcl/tk
# library!!
#
# Note: For libraries that will be created (any in DIRS above)
# make sure the directory exsists whee you want the library to go!
#Dir definition
FE_LIBRARY = $(INSTDIR)/lib/libOpenSees.a
NDARRAY_LIBRARY = $(INSTDIR)/lib/libndarray.a # BJ_UCD jeremic@ucdavis.edu
MATMOD_LIBRARY = $(INSTDIR)/lib/libmatmod.a # BJ_UCD jeremic@ucdavis.edu
BJMISC_LIBRARY = $(INSTDIR)/lib/libBJmisc.a # BJ_UCD jeremic@ucdavis.edu
#LAPACK_LIBRARY = $(PARALLELdir)/lapack/liblapack.a #!!!!!!!!!!!!!!!!!!!!!
#BLAS_LIBRARY = $(PARALLELdir)/blas/blas.a #!!!!!!!!!!!!!!!!!!!!!!!!!!
LAPACK_LIBRARY =
BLAS_LIBRARY =
SUPERLU_LIBRARY = $(INSTDIR)/lib/libSuperLU.a
CBLAS_LIBRARY = $(INSTDIR)/lib/libCBlas.a
ARPACK_LIBRARY = $(INSTDIR)/lib/libArpack.a
AMD_LIBRARY = $(INSTDIR)/lib/libAMD.a
UMFPACK_LIBRARY = $(INSTDIR)/lib/libUmfpack.a
ITPACK_LIBRARY = $(INSTDIR)/lib/libItpack.a
CSPARSE_LIBRARY = $(INSTDIR)/lib/libCSparse.a
METIS_LIBRARY = /u/local/apps/parmetis/4.0.3/intel-13.cs/intelmpi/lib/libparmetis.a #PARMETIS USED
#METIS_LIBRARY = $(INSTDIR)/lib/libMetis.a
#TCL_LIBRARY = $(TCLdir)/lib/libtcl8.5.a
#TCL_LIBRARY = -L/usr/lib64/ -ltcl8.5
TCL_LIBRARY = /usr/lib64/libtk8.5.so /usr/lib64/libtcl8.5.so
BLITZ_LIBRARY =
# $(INSTDIR)/blitz/lib/libblitz.a#
DISTRIBUTED_SUPERLU_LIBRARY = $(INSTDIR)/lib/libDistributedSuperLU.a
GRAPHIC_LIBRARY =
ifeq ($(RELIABILITY), YES_RELIABILITY)
RELIABILITY_LIBRARY = $(DOWNDIR)/lib/libReliability.a
else
RELIABILITY_LIBRARY =
endif
# WATCH OUT .. These libraries are removed when 'make wipe' is invoked.
WIPE_LIBS = $(FE_LIBRARY) \
$(CBLAS_LIBRARY) \
$(SUPERLU_LIBRARY) \
$(DISTRIBUTED_SUPERLU_LIBRARY) \
$(ARPACK_LIBRARY) \
$(UMFPACK_LIBRARY) \
$(NDARRAY_LIBRARY) \
$(MATMOD_LIBRARY) \
$(ITPACK_LIBRARY)\
$(AMD_LIBRARY)
# %---------------------------------------------------------%
# | SECTION 5: COMPILERS |
# | |
# | The following macros specify compilers, linker/loaders, |
# | the archiver, and their options. You need to make sure |
# | these are correct for your system. |
# %---------------------------------------------------------%
# ###################################################
# # Compilers
# ###################################################
MPI_BIN = $(MPIdir)/bin
MPI_INC = -I$(MPIdir)/include
MPI_LIB = -L$(MPIdir)/lib
#CC++ = $(MPI_BIN)/mpicxx
#CC = $(MPI_BIN)/mpicc
#FC = $(MPI_BIN)/mpif90
#FC90 = $(MPI_BIN)/mpif90
#FC77 = $(MPI_BIN)/mpif90
CC++ = $(MPI_BIN)/mpiicpc
CC = $(MPI_BIN)/mpiicc
FC = $(MPI_BIN)/mpiifort
FC90 = $(MPI_BIN)/mpiifort
FC77 = $(MPI_BIN)/mpiifort
FORTRAN = $(FC)
LINKER = $(CC++)
#FORTRAN = /usr/bin/gfortran
#CC++ = /usr/bin/g++
#CC = /usr/bin/gcc
#FC = /usr/bin/gfortran
#FORTRAN = /usr/bin/gfortran
#LINKER = /usr/bin/mpicxx
AR = ar
ARFLAGS = cqls
RANLIB = ranlib
RANLIBFLAGS =
GRAPHIC_FLAG = -D_NOGRAPHICS
PROGRAMMING_FLAG =
ifeq ($(PROGRAMMING_MODE), PARALLEL)
PROGRAMMING_FLAG = -D_PARALLEL_PROCESSING
endif
ifeq ($(PROGRAMMING_MODE), PARALLEL_INTERPRETERS)
PROGRAMMING_FLAG = -D_PARALLEL_INTERPRETERS
endif
#RELIABILITY_FLAG = -D_RELIABILITY
RELIABILITY_FLAG =
ifeq ($(RELIABILITY), YES_RELIABILITY)
RELIABILITY_FLAG = -D_RELIABILITY
else
RELIABILITY_FLAG =
endif
#DEBUG_FLAG = -D_G3DEBUG
#DEBUG_FLAG = -g -p -pg
#DEBUG_FLAG = -p -g
DEBUG_FLAG =
ifeq ($(DEBUG_MODE), DEBUG)
DEBUG_FLAG = -D_G3DEBUG
else
DEBUG_FLAG =
endif
MUMPS_FLAG =
PETSC_FLAG =
OPT_FLAG = -O2
#OPT_FLAG = -O0
#COMP_FLAG = -DMPICH_IGNORE_CXX_SEEK
COMP_FLAG =
C++FLAGS = $(GRAPHIC_FLAG) $(RELIABILITY_FLAG) $(DEBUG_FLAG) $(OPT_FLAG) $(COMP_FLAG) $(PROGRAMMING_FLAG) $(PETSC_FLAG) $(MUMPS_FLAG) -D_TCL85 -D_BLAS -D_LINUX -D_UNIX
CFLAGS = $(GRAPHIC_FLAG) $(RELIABILITY_FLAG) $(DEBUG_FLAG)$(PROGRAMMING_FLAG) $(OPT_FLAG) $(COMP_FLAG) -D_TCL85 -D_BLAS
FFLAGS = $(OPT_FLAG) $(COMP_FLAG)
LINKFLAGS = -Wl,-rpath
#C++FLAGS = -D_LINUX -D_UNIX $(GRAPHIC_FLAG) $(RELIABILITY_FLAG) $(DEBUG_FLAG) $(OPT_FLAG) $(COMP_FLAG)\
#$(PROGRAMMING_FLAG) $(PETSC_FLAG) $(MUMPS_FLAG) \
#-D_TCL85 -D_BLAS
#CFLAGS = $(GRAPHIC_FLAG) $(RELIABILITY_FLAG) $(DEBUG_FLAG)$(PROGRAMMING_FLAG) $(OPT_FLAG) $(COMP_FLAG) -D_TCL85 -D_BLAS
#FFLAGS = $(OPT_FLAG) $(COMP_FLAG)
#LINKFLAGS = -Wl,-rpath
# Misc
MAKE = make
CD = cd
ECHO = echo
RM = rm
RMFLAGS = -f
SHELL = /bin/sh
# %---------------------------------------------------------%
# | SECTION 6: COMPILATION |
# | |
# | The following macros specify the macros used in |
# | to compile the source code into object code. |
# %---------------------------------------------------------%
.SUFFIXES:
.SUFFIXES: .C .c .f .f77 .f90 .cpp .o .cpp
#
# %------------------%
# | Default command. |
# %------------------%
.DEFAULT:
@$(ECHO) "Unknown target $@, try: make help"
#
# %-----------------------------------------------%
# | Command to build .o files from source files. |
# %-----------------------------------------------%
.cpp.o:
@$(ECHO) Making $@ from $< $@ with $(CC++) $(C++FLAGS) $(INCLUDES) -c $<
@$(CC++) $(C++FLAGS) $(INCLUDES) -c $<
.C.o:
@$(ECHO) Making $@ from $<
$(CC++) $(C++FLAGS) $(INCLUDES) -c $<
.c.o:
@$(ECHO) Making $@ from $<
$(CC) $(CFLAGS) -c $<
.f.o:
@$(ECHO) Making $@ from $<
$(FC) $(FFLAGS) -c $<
.f77.o:
@$(ECHO) Making $@ from $<
$(FC77) $(FFLAGS) -c $<
.f90.o:
@$(ECHO) Making $@ from $<
$(FC90) $(FFLAGS) -c $<
# %---------------------------------------------------------%
# | SECTION 7: OTHER LIBRARIES |
# | |
# | The following macros specify other libraries that must |
# | be linked with when creating executables. These are |
# | platform specific and typically order does matter!! |
# %---------------------------------------------------------%
MKLROOT = /u/local/compilers/intel-cs/2013.0.028/composer_xe/mkl
MACHINE_LINKLIBS = $(MPI_LIB)\
-L$(DOWNDIR)/lib -L/usr/lib64 \
-L/usr/lib64 -ldl -lm
#/usr/lib/gcc/x86_64-redhat-linux/4.4.4/libgfortran.a #!!!!!!!!!!!!!USE MACHINES SPECIFIC LOCATIONS!!!!!!!!
# PETSC
HAVEPETSC = NO
PETSCINC =
PETSC_LIB =
ifeq ($(PROGRAMMMING_MODE), SEQUENTIAL)
HAVEPETSC = NO
endif
ifeq ($(HAVEPETSC), YES)
PETSC = YES
PETSC_FLAG = -D_PETSC
PETSC_DIR = $(DOWNDIR)/OpenSees/parlibs/petsc-3.3-p2/1#customized
PETSC_ARCH = $(DOWNDIR)/OpenSees/parlibs/petsc-3.3-p2/arch-linux2-c-debug#customized
BOPT = O
PETSC_INC = -I$(PETSC_DIR)/include \
-I$(PETSC_ARCH)/include \
# -D_PETSC
#
PETSC_LIB = $(FE)/system_of_eqn/linearSOE/petsc/PetscSOE.o \
$(FE)/system_of_eqn/linearSOE/petsc/PetscSolver.o \
$(FE)/system_of_eqn/linearSOE/petsc/PetscSparseSeqSolver.o \
-L$(PETSC_DIR)/lib \
#-L/usr/X11/lib -lX11 -lGL
endif
HAVEMUMPS = YES
MUMPS_INCLUDE =
MUMPS_LIB =
ifeq ($(PROGRAMMMING_MODE), SEQUENTIAL)
HAVEMUMPS = NO
endif
ifeq ($(HAVEMUMPS), YES)
MUMPS = YES
MUMPS_FLAG = -D_MUMPS
#BLAS
#BLASdir = $(PARALLELdir)/blas
#BLAS_LIB = $(BLASdir)/blas.a
BLAS_LIB = -Wl,--start-group $(MKLROOT)/lib/intel64/libmkl_intel_lp64.a $(MKLROOT)/lib/intel64/libmkl_sequential.a $(MKLROOT)/lib/intel64/libmkl_core.a -Wl,--end-group -lpthread -lm
#XBLAS
XBLAS_LIB = $(PARALLELdir)/xblas/libxblas.a
#SCALAPACK
#SCALAPACK_LIB = $(PARALLELdir)/scalapack/libscalapack.a
SCALAPACK_LIB = $(MKLROOT)/lib/intel64/libmkl_scalapack_lp64.a -Wl,--start-group $(MKLROOT)/lib/intel64/libmkl_intel_lp64.a $(MKLROOT)/lib/intel64/libmkl_sequential.a $(MKLROOT)/lib/intel64/libmkl_core.a $(MKLROOT)/lib/intel64/libmkl_blacs_intelmpi_lp64.a -Wl,--end-group -lpthread -lm
#BLACS
#BLACSdir = $(PARALLELdir)/blacs
#BLACS_LIB = -L$(BLACSdir)/LIB
BLACS_LIB = -Wl,--start-group $(MKLROOT)/lib/intel64/libmkl_intel_lp64.a $(MKLROOT)/lib/intel64/libmkl_sequential.a $(MKLROOT)/lib/intel64/libmkl_core.a $(MKLROOT)/lib/intel64/libmkl_blacs_intelmpi_lp64.a -Wl,--end-group -lpthread -lm
#LAPACK
#LAPACKdir = $(PARALLELdir)/lapack
#LAPACK_LIB = -L$(LAPACKdir)
LAPACK_LIB = -Wl,--start-group $(MKLROOT)/lib/intel64/libmkl_intel_lp64.a $(MKLROOT)/lib/intel64/libmkl_sequential.a $(MKLROOT)/lib/intel64/libmkl_core.a -Wl,--end-group -lpthread -lm
#MUMPS
MUMPSdir = /u/local/apps/mumps/4.10.0/intel-13.cs/intelmpi
MUMPSLIB = /u/local/apps/mumps/4.10.0/intel-13.cs/intelmpi/lib/
MUMPS_INC = /u/local/apps/mumps/4.10.0/intel-13.cs/intelmpi/include
#ParMETIS
parmetis_lib = /u/local/apps/parmetis/4.0.3/intel-13.cs/intelmpi/lib/libparmetis.a
parmetis_inc = -I/u/local/apps/parmetis/4.0.3/intel-13.cs/intelmpi/include
metis_lib = /u/local/apps/metis/5.1.0/intel-13.cs/intelmpi/lib/libmetis.a
metis_inc = -I/u/local/apps/metis/5.1.0/intel-13.cs/intelmpi/include/
#SCALAP = $(SCALAPACK_LIB) \
# $(BLACSdir)/LIB/blacsF77init.a \
# $(BLACSdir)/LIB/blacs.a \
# $(BLACSdir)/LIB/blacsCinit.a \
# $(LAPACKdir)/liblapack.a \
# $(XBLAS_LIB) \
# $(BLASdir)/blas.a
SCALAP = $(SCALAPACK_LIB)
#-L/usr/lib/x86_64-linux-gnu/gcc/x86_64-linux-gnu/4.5/libgfortran.a $(BLACS_LIB) $(BLAS_LIB)
#$(LAPACK_LIB) $(BLACS_LIB) $(BLAS_LIB) $(BLACS_LIB)
PLAT = LINUX
MUMPS_LIB = $(FE)/system_of_eqn/linearSOE/mumps/MumpsSOE.o \
$(FE)/system_of_eqn/linearSOE/mumps/MumpsSolver.o \
$(FE)/system_of_eqn/linearSOE/mumps/MumpsParallelSOE.o \
$(FE)/system_of_eqn/linearSOE/mumps/MumpsParallelSolver.o \
$(SCALAP) \
/u/local/apps/mumps/4.10.0/intel-13.cs/intelmpi/lib/libdmumps.a /u/local/apps/mumps/4.10.0/intel-13.cs/intelmpi/lib/libmumps_common.a /u/local/apps/mumps/4.10.0/intel-13.cs/intelmpi/lib/libpord.a \
$(parmetis_lib) $(metis_lib) \
$(SCALAP) \
/usr/lib64/libdl.so #!!!!!!!!!!!!!USE MACHINES SPECIFIC LOCATIONS!!!!!!!!
#/usr/lib/gcc/x86_64-redhat-linux/4.4.4/libgfortran.a \ #!!!!!!!!!!!!!USE MACHINES SPECIFIC LOCATIONS!!!!!!!!
MUMPS_INCLUDE = -I$(MUMPS_INC)
endif
PARALLEL_LIB =
HPM_LIB =
#MACHINE_NUMERICAL_LIBS = /usr/lib/gcc/x86_64-redhat-linux/4.4.4/libgfortran.a \ #!!!!!!!!!!!!!USE MACHINES SPECIFIC LOCATIONS!!!!!!!!
MACHINE_NUMERICAL_LIBS = -L/usr/lib64 -ldl -lm\
$(SUPERLU_LIBRARY) \
$(UMFPACK_LIBRARY) \
$(ARPACK_LIBRARY) \
$(AMD_LIBRARY) \
$(GRAPHIC_LIBRARY)\
$(RELIABILITY_LIBRARY) \
$(DISTRIBUTED_SUPERLU_LIBRARY) \
$(CSPARSE_LIBRARY) \
$(METIS_LIBRARY) $(PARALLEL_LIB) $(DISTRIBUTED_SUPERLU_LIBRARY) $(PETSC_LIB) \
$(MUMPS_LIB) \
$(SCALAP) $(parmetis_lib) $(metis_lib) $(SCALAP) \
-L/usr/lib64 -lssl -lcrypto
# /u/local/apps/mumps/4.10.0/intel-13.cs/intelmpi/lib/libdmumps.a /u/local/apps/mumps/4.10.0/intel-13.cs/intelmpi/lib/libmumps_common.a /u/local/apps/mumps/4.10.0/intel-13.cs/intelmpi/lib/libpord.a \
# $(SCALAP) $(parmetis_lib) $(metis_lib) $(SCALAP) \
# -L/usr/lib64 -lssl -lcrypto\
MACHINE_SPECIFIC_LIBS = -L/u/local/compilers/intel-cs/2013.0.028/composer_xe/compiler/lib/intel64 -lifcore
# $(FE)/tcl/tclMain.o
# %---------------------------------------------------------%
# | SECTION 8: INCLUDE FILES |
# | |
# | The following macros specify include files needed for |
# | compilation. |
# %---------------------------------------------------------%
MACHINE_INCLUDES = $(MPI_INC) \
-I/usr/include/mysql \
-I$(UMFPACKdir) \
-I$(SUPERLUdir) \
-I$(SUPERLU_DISTdir) \
$(MUMPS_INCLUDE) \
$(metis_inc)\
$(parmetis_inc)
# this file contains all the OpenSees/SRC includes
include $(FE)/Makefile.incl
#TCL_INCLUDES = -I$(TCLdir)/include
#TCL_INCLUDES = -I/usr/include
#-I$(FE)/tcl/include
#INCLUDES = $(TCL_INCLUDES) $(FE_INCLUDES) $(MACHINE_INCLUDES)
INCLUDES = $(TCL_INCLUDES) $(MACHINE_INCLUDES) $(FE_INCLUDES)
####################################################################################################
############################################################################
#
# Program: OpenSees
#
# Purpose: A Top-level Makefile to create the libraries needed
# to use the OpenSees framework. Works on Linux version 6.1
# and below.
#
# Written: fmk
# Created: 10/99
#
# Send bug reports, comments or suggestions to fmckenna@ce.berkeley.edu
#
############################################################################
# copy /opt/ActiveTcl-8.5/lib/tcl8.5/init.tcl to tcl library location
###################################################################
# CHANGE THIS SECTION AND HAVE A LOOK AT THE SECTION HAVING
#!!!!!!!!!!!!!USE MACHINES SPECIFIC LOCATIONS!!!!!!!!!!!!! MARK
###################################################################
DOWNDIR = /u/local/downloads/opensees/2.4.4/parallel/OpenSees
INSTDIR = /u/local/apps/opensees/2.4.4/intel-13.cs/intelmpi
#TCLdir = /app/ActiveTcl-8.5
#BERKLEYDir=$(DOWNDIR)/bdb
MPIdir = /u/local/compilers/intel-cs/2013.0.028/mpi/intel64
##################################################################
#PARALLELdir=$(DOWNDIR)/PARALLEL
##TCL
#TCL_BIN = $(TCLdir)/bin
#TCL_INC = $(TCLdir)/include
#TCL_LIB = -L$(TCLdir)/lib
######################################################################################
# %---------------------------------%
# | SECTION 1: PROGRAM |
# %---------------------------------%
#
# Specify the location and name of the OpenSees interpreter program
# that will be created (if this all works!)
#PROGRAMMING_MODE = SEQUENTIAL
#PROGRAMMING_MODE = PARALLEL
PROGRAMMING_MODE = PARALLEL_INTERPRETERS
OpenSees_PROGRAM = $(INSTDIR)/bin/OpenSees
ifeq ($(PROGRAMMING_MODE), PARALLEL)
OpenSees_PROGRAM = $(INSTDIR)/bin/OpenSeesSP
endif
ifeq ($(PROGRAMMING_MODE), PARALLEL_INTERPRETERS)
OpenSees_PROGRAM = $(INSTDIR)/bin/OpenSeesMP
endif
# %---------------------------------%
# | SECTION 2: MAKEFILE CONSTANTS |
# %---------------------------------%
#
# Specify the constants the are used as control structure variables in the Makefiles.
OPERATING_SYSTEM = LINUX
#DEBUG_MODE = DEBUG, NO_DEBUG
DEBUG_MODE = NO_DEBUG
#RELIABILITY = YES_RELIABILITY
RELIABILITY = NO_RELIABILITY
GRAPHICS = NONE
# %---------------------------------%
# | SECTION 3: PATHS |
# %---------------------------------%
#
# Note: if vendor supplied BLAS and LAPACK libraries or if you have
# any of the libraries already leave the directory location blank AND
# remove the directory from DIRS.
FE = /u/local/downloads/opensees/2.4.4/parallel/OpenSees/SRC
AMDdir = $(DOWNDIR)/OTHER/AMD
BLASdir =
CBLASdir = $(DOWNDIR)/OTHER/CBLAS
LAPACKdir =
SUPERLUdir = $(DOWNDIR)/OTHER/SuperLU_4.1/SRC
ARPACKdir = $(DOWNDIR)/OTHER/ARPACK
UMFPACKdir = $(DOWNDIR)/OTHER/UMFPACK
METISdir = $(DOWNDIR)/OTHER/METIS
SRCdir = $(DOWNDIR)/SRC
ITPACKdir = $(DOWNDIR)/OTHER/ITPACK
SUPERLU_DISTdir = $(DOWNDIR)/OTHER/SuperLU_DIST_2.5/SRC
CSPARSEdir = $(DOWNDIR)/OTHER/CSPARSE
DIRS = $(AMDdir) $(CBLASdir) $(ITPACKdir) $(CSPARSEdir) $(METISdir) \
$(SUPERLUdir) $(SUPERLU_DISTdir) $(ARPACKdir) $(UMFPACKdir) $(FE)
#DIRS = $(AMDdir) $(BLASdir) $(CBLASdir) $(LAPACKdir) $(ITPACKdir)\
# $(SUPERLUdir) $(SUPERLU_DISTdir) $(ARPACKdir) $(UMFPACKdir) $(METISdir) $(FE)
# %-------------------------------------------------------%
# | SECTION 4: LIBRARIES |
# | |
# | The following section defines the libraries that will |
# | be created and/or linked with when the libraries are |
# | being created or linked with. |
# %-------------------------------------------------------%
#
# Note: if vendor supplied BLAS and LAPACK libraries leave the
# libraries blank. You have to get your own copy of the tcl/tk
# library!!
#
# Note: For libraries that will be created (any in DIRS above)
# make sure the directory exsists whee you want the library to go!
#Dir definition
FE_LIBRARY = $(INSTDIR)/lib/libOpenSees.a
NDARRAY_LIBRARY = $(INSTDIR)/lib/libndarray.a # BJ_UCD jeremic@ucdavis.edu
MATMOD_LIBRARY = $(INSTDIR)/lib/libmatmod.a # BJ_UCD jeremic@ucdavis.edu
BJMISC_LIBRARY = $(INSTDIR)/lib/libBJmisc.a # BJ_UCD jeremic@ucdavis.edu
#LAPACK_LIBRARY = $(PARALLELdir)/lapack/liblapack.a #!!!!!!!!!!!!!!!!!!!!!
#BLAS_LIBRARY = $(PARALLELdir)/blas/blas.a #!!!!!!!!!!!!!!!!!!!!!!!!!!
LAPACK_LIBRARY =
BLAS_LIBRARY =
SUPERLU_LIBRARY = $(INSTDIR)/lib/libSuperLU.a
CBLAS_LIBRARY = $(INSTDIR)/lib/libCBlas.a
ARPACK_LIBRARY = $(INSTDIR)/lib/libArpack.a
AMD_LIBRARY = $(INSTDIR)/lib/libAMD.a
UMFPACK_LIBRARY = $(INSTDIR)/lib/libUmfpack.a
ITPACK_LIBRARY = $(INSTDIR)/lib/libItpack.a
CSPARSE_LIBRARY = $(INSTDIR)/lib/libCSparse.a
METIS_LIBRARY = /u/local/apps/parmetis/4.0.3/intel-13.cs/intelmpi/lib/libparmetis.a #PARMETIS USED
#METIS_LIBRARY = $(INSTDIR)/lib/libMetis.a
#TCL_LIBRARY = $(TCLdir)/lib/libtcl8.5.a
#TCL_LIBRARY = -L/usr/lib64/ -ltcl8.5
TCL_LIBRARY = /usr/lib64/libtk8.5.so /usr/lib64/libtcl8.5.so
BLITZ_LIBRARY =
# $(INSTDIR)/blitz/lib/libblitz.a#
DISTRIBUTED_SUPERLU_LIBRARY = $(INSTDIR)/lib/libDistributedSuperLU.a
GRAPHIC_LIBRARY =
ifeq ($(RELIABILITY), YES_RELIABILITY)
RELIABILITY_LIBRARY = $(DOWNDIR)/lib/libReliability.a
else
RELIABILITY_LIBRARY =
endif
# WATCH OUT .. These libraries are removed when 'make wipe' is invoked.
WIPE_LIBS = $(FE_LIBRARY) \
$(CBLAS_LIBRARY) \
$(SUPERLU_LIBRARY) \
$(DISTRIBUTED_SUPERLU_LIBRARY) \
$(ARPACK_LIBRARY) \
$(UMFPACK_LIBRARY) \
$(NDARRAY_LIBRARY) \
$(MATMOD_LIBRARY) \
$(ITPACK_LIBRARY)\
$(AMD_LIBRARY)
# %---------------------------------------------------------%
# | SECTION 5: COMPILERS |
# | |
# | The following macros specify compilers, linker/loaders, |
# | the archiver, and their options. You need to make sure |
# | these are correct for your system. |
# %---------------------------------------------------------%
# ###################################################
# # Compilers
# ###################################################
MPI_BIN = $(MPIdir)/bin
MPI_INC = -I$(MPIdir)/include
MPI_LIB = -L$(MPIdir)/lib
#CC++ = $(MPI_BIN)/mpicxx
#CC = $(MPI_BIN)/mpicc
#FC = $(MPI_BIN)/mpif90
#FC90 = $(MPI_BIN)/mpif90
#FC77 = $(MPI_BIN)/mpif90
CC++ = $(MPI_BIN)/mpiicpc
CC = $(MPI_BIN)/mpiicc
FC = $(MPI_BIN)/mpiifort
FC90 = $(MPI_BIN)/mpiifort
FC77 = $(MPI_BIN)/mpiifort
FORTRAN = $(FC)
LINKER = $(CC++)
#FORTRAN = /usr/bin/gfortran
#CC++ = /usr/bin/g++
#CC = /usr/bin/gcc
#FC = /usr/bin/gfortran
#FORTRAN = /usr/bin/gfortran
#LINKER = /usr/bin/mpicxx
AR = ar
ARFLAGS = cqls
RANLIB = ranlib
RANLIBFLAGS =
GRAPHIC_FLAG = -D_NOGRAPHICS
PROGRAMMING_FLAG =
ifeq ($(PROGRAMMING_MODE), PARALLEL)
PROGRAMMING_FLAG = -D_PARALLEL_PROCESSING
endif
ifeq ($(PROGRAMMING_MODE), PARALLEL_INTERPRETERS)
PROGRAMMING_FLAG = -D_PARALLEL_INTERPRETERS
endif
#RELIABILITY_FLAG = -D_RELIABILITY
RELIABILITY_FLAG =
ifeq ($(RELIABILITY), YES_RELIABILITY)
RELIABILITY_FLAG = -D_RELIABILITY
else
RELIABILITY_FLAG =
endif
#DEBUG_FLAG = -D_G3DEBUG
#DEBUG_FLAG = -g -p -pg
#DEBUG_FLAG = -p -g
DEBUG_FLAG =
ifeq ($(DEBUG_MODE), DEBUG)
DEBUG_FLAG = -D_G3DEBUG
else
DEBUG_FLAG =
endif
MUMPS_FLAG =
PETSC_FLAG =
OPT_FLAG = -O2
#OPT_FLAG = -O0
#COMP_FLAG = -DMPICH_IGNORE_CXX_SEEK
COMP_FLAG =
C++FLAGS = $(GRAPHIC_FLAG) $(RELIABILITY_FLAG) $(DEBUG_FLAG) $(OPT_FLAG) $(COMP_FLAG) $(PROGRAMMING_FLAG) $(PETSC_FLAG) $(MUMPS_FLAG) -D_TCL85 -D_BLAS -D_LINUX -D_UNIX
CFLAGS = $(GRAPHIC_FLAG) $(RELIABILITY_FLAG) $(DEBUG_FLAG)$(PROGRAMMING_FLAG) $(OPT_FLAG) $(COMP_FLAG) -D_TCL85 -D_BLAS
FFLAGS = $(OPT_FLAG) $(COMP_FLAG)
LINKFLAGS = -Wl,-rpath
#C++FLAGS = -D_LINUX -D_UNIX $(GRAPHIC_FLAG) $(RELIABILITY_FLAG) $(DEBUG_FLAG) $(OPT_FLAG) $(COMP_FLAG)\
#$(PROGRAMMING_FLAG) $(PETSC_FLAG) $(MUMPS_FLAG) \
#-D_TCL85 -D_BLAS
#CFLAGS = $(GRAPHIC_FLAG) $(RELIABILITY_FLAG) $(DEBUG_FLAG)$(PROGRAMMING_FLAG) $(OPT_FLAG) $(COMP_FLAG) -D_TCL85 -D_BLAS
#FFLAGS = $(OPT_FLAG) $(COMP_FLAG)
#LINKFLAGS = -Wl,-rpath
# Misc
MAKE = make
CD = cd
ECHO = echo
RM = rm
RMFLAGS = -f
SHELL = /bin/sh
# %---------------------------------------------------------%
# | SECTION 6: COMPILATION |
# | |
# | The following macros specify the macros used in |
# | to compile the source code into object code. |
# %---------------------------------------------------------%
.SUFFIXES:
.SUFFIXES: .C .c .f .f77 .f90 .cpp .o .cpp
#
# %------------------%
# | Default command. |
# %------------------%
.DEFAULT:
@$(ECHO) "Unknown target $@, try: make help"
#
# %-----------------------------------------------%
# | Command to build .o files from source files. |
# %-----------------------------------------------%
.cpp.o:
@$(ECHO) Making $@ from $< $@ with $(CC++) $(C++FLAGS) $(INCLUDES) -c $<
@$(CC++) $(C++FLAGS) $(INCLUDES) -c $<
.C.o:
@$(ECHO) Making $@ from $<
$(CC++) $(C++FLAGS) $(INCLUDES) -c $<
.c.o:
@$(ECHO) Making $@ from $<
$(CC) $(CFLAGS) -c $<
.f.o:
@$(ECHO) Making $@ from $<
$(FC) $(FFLAGS) -c $<
.f77.o:
@$(ECHO) Making $@ from $<
$(FC77) $(FFLAGS) -c $<
.f90.o:
@$(ECHO) Making $@ from $<
$(FC90) $(FFLAGS) -c $<
# %---------------------------------------------------------%
# | SECTION 7: OTHER LIBRARIES |
# | |
# | The following macros specify other libraries that must |
# | be linked with when creating executables. These are |
# | platform specific and typically order does matter!! |
# %---------------------------------------------------------%
MKLROOT = /u/local/compilers/intel-cs/2013.0.028/composer_xe/mkl
MACHINE_LINKLIBS = $(MPI_LIB)\
-L$(DOWNDIR)/lib -L/usr/lib64 \
-L/usr/lib64 -ldl -lm
#/usr/lib/gcc/x86_64-redhat-linux/4.4.4/libgfortran.a #!!!!!!!!!!!!!USE MACHINES SPECIFIC LOCATIONS!!!!!!!!
# PETSC
HAVEPETSC = NO
PETSCINC =
PETSC_LIB =
ifeq ($(PROGRAMMMING_MODE), SEQUENTIAL)
HAVEPETSC = NO
endif
ifeq ($(HAVEPETSC), YES)
PETSC = YES
PETSC_FLAG = -D_PETSC
PETSC_DIR = $(DOWNDIR)/OpenSees/parlibs/petsc-3.3-p2/1#customized
PETSC_ARCH = $(DOWNDIR)/OpenSees/parlibs/petsc-3.3-p2/arch-linux2-c-debug#customized
BOPT = O
PETSC_INC = -I$(PETSC_DIR)/include \
-I$(PETSC_ARCH)/include \
# -D_PETSC
#
PETSC_LIB = $(FE)/system_of_eqn/linearSOE/petsc/PetscSOE.o \
$(FE)/system_of_eqn/linearSOE/petsc/PetscSolver.o \
$(FE)/system_of_eqn/linearSOE/petsc/PetscSparseSeqSolver.o \
-L$(PETSC_DIR)/lib \
#-L/usr/X11/lib -lX11 -lGL
endif
HAVEMUMPS = YES
MUMPS_INCLUDE =
MUMPS_LIB =
ifeq ($(PROGRAMMMING_MODE), SEQUENTIAL)
HAVEMUMPS = NO
endif
ifeq ($(HAVEMUMPS), YES)
MUMPS = YES
MUMPS_FLAG = -D_MUMPS
#BLAS
#BLASdir = $(PARALLELdir)/blas
#BLAS_LIB = $(BLASdir)/blas.a
BLAS_LIB = -Wl,--start-group $(MKLROOT)/lib/intel64/libmkl_intel_lp64.a $(MKLROOT)/lib/intel64/libmkl_sequential.a $(MKLROOT)/lib/intel64/libmkl_core.a -Wl,--end-group -lpthread -lm
#XBLAS
XBLAS_LIB = $(PARALLELdir)/xblas/libxblas.a
#SCALAPACK
#SCALAPACK_LIB = $(PARALLELdir)/scalapack/libscalapack.a
SCALAPACK_LIB = $(MKLROOT)/lib/intel64/libmkl_scalapack_lp64.a -Wl,--start-group $(MKLROOT)/lib/intel64/libmkl_intel_lp64.a $(MKLROOT)/lib/intel64/libmkl_sequential.a $(MKLROOT)/lib/intel64/libmkl_core.a $(MKLROOT)/lib/intel64/libmkl_blacs_intelmpi_lp64.a -Wl,--end-group -lpthread -lm
#BLACS
#BLACSdir = $(PARALLELdir)/blacs
#BLACS_LIB = -L$(BLACSdir)/LIB
BLACS_LIB = -Wl,--start-group $(MKLROOT)/lib/intel64/libmkl_intel_lp64.a $(MKLROOT)/lib/intel64/libmkl_sequential.a $(MKLROOT)/lib/intel64/libmkl_core.a $(MKLROOT)/lib/intel64/libmkl_blacs_intelmpi_lp64.a -Wl,--end-group -lpthread -lm
#LAPACK
#LAPACKdir = $(PARALLELdir)/lapack
#LAPACK_LIB = -L$(LAPACKdir)
LAPACK_LIB = -Wl,--start-group $(MKLROOT)/lib/intel64/libmkl_intel_lp64.a $(MKLROOT)/lib/intel64/libmkl_sequential.a $(MKLROOT)/lib/intel64/libmkl_core.a -Wl,--end-group -lpthread -lm
#MUMPS
MUMPSdir = /u/local/apps/mumps/4.10.0/intel-13.cs/intelmpi
MUMPSLIB = /u/local/apps/mumps/4.10.0/intel-13.cs/intelmpi/lib/
MUMPS_INC = /u/local/apps/mumps/4.10.0/intel-13.cs/intelmpi/include
#ParMETIS
parmetis_lib = /u/local/apps/parmetis/4.0.3/intel-13.cs/intelmpi/lib/libparmetis.a
parmetis_inc = -I/u/local/apps/parmetis/4.0.3/intel-13.cs/intelmpi/include
metis_lib = /u/local/apps/metis/5.1.0/intel-13.cs/intelmpi/lib/libmetis.a
metis_inc = -I/u/local/apps/metis/5.1.0/intel-13.cs/intelmpi/include/
#SCALAP = $(SCALAPACK_LIB) \
# $(BLACSdir)/LIB/blacsF77init.a \
# $(BLACSdir)/LIB/blacs.a \
# $(BLACSdir)/LIB/blacsCinit.a \
# $(LAPACKdir)/liblapack.a \
# $(XBLAS_LIB) \
# $(BLASdir)/blas.a
SCALAP = $(SCALAPACK_LIB)
#-L/usr/lib/x86_64-linux-gnu/gcc/x86_64-linux-gnu/4.5/libgfortran.a $(BLACS_LIB) $(BLAS_LIB)
#$(LAPACK_LIB) $(BLACS_LIB) $(BLAS_LIB) $(BLACS_LIB)
PLAT = LINUX
MUMPS_LIB = $(FE)/system_of_eqn/linearSOE/mumps/MumpsSOE.o \
$(FE)/system_of_eqn/linearSOE/mumps/MumpsSolver.o \
$(FE)/system_of_eqn/linearSOE/mumps/MumpsParallelSOE.o \
$(FE)/system_of_eqn/linearSOE/mumps/MumpsParallelSolver.o \
$(SCALAP) \
/u/local/apps/mumps/4.10.0/intel-13.cs/intelmpi/lib/libdmumps.a /u/local/apps/mumps/4.10.0/intel-13.cs/intelmpi/lib/libmumps_common.a /u/local/apps/mumps/4.10.0/intel-13.cs/intelmpi/lib/libpord.a \
$(parmetis_lib) $(metis_lib) \
$(SCALAP) \
/usr/lib64/libdl.so #!!!!!!!!!!!!!USE MACHINES SPECIFIC LOCATIONS!!!!!!!!
#/usr/lib/gcc/x86_64-redhat-linux/4.4.4/libgfortran.a \ #!!!!!!!!!!!!!USE MACHINES SPECIFIC LOCATIONS!!!!!!!!
MUMPS_INCLUDE = -I$(MUMPS_INC)
endif
PARALLEL_LIB =
HPM_LIB =
#MACHINE_NUMERICAL_LIBS = /usr/lib/gcc/x86_64-redhat-linux/4.4.4/libgfortran.a \ #!!!!!!!!!!!!!USE MACHINES SPECIFIC LOCATIONS!!!!!!!!
MACHINE_NUMERICAL_LIBS = -L/usr/lib64 -ldl -lm\
$(SUPERLU_LIBRARY) \
$(UMFPACK_LIBRARY) \
$(ARPACK_LIBRARY) \
$(AMD_LIBRARY) \
$(GRAPHIC_LIBRARY)\
$(RELIABILITY_LIBRARY) \
$(DISTRIBUTED_SUPERLU_LIBRARY) \
$(CSPARSE_LIBRARY) \
$(METIS_LIBRARY) $(PARALLEL_LIB) $(DISTRIBUTED_SUPERLU_LIBRARY) $(PETSC_LIB) \
$(MUMPS_LIB) \
$(SCALAP) $(parmetis_lib) $(metis_lib) $(SCALAP) \
-L/usr/lib64 -lssl -lcrypto
# /u/local/apps/mumps/4.10.0/intel-13.cs/intelmpi/lib/libdmumps.a /u/local/apps/mumps/4.10.0/intel-13.cs/intelmpi/lib/libmumps_common.a /u/local/apps/mumps/4.10.0/intel-13.cs/intelmpi/lib/libpord.a \
# $(SCALAP) $(parmetis_lib) $(metis_lib) $(SCALAP) \
# -L/usr/lib64 -lssl -lcrypto\
MACHINE_SPECIFIC_LIBS = -L/u/local/compilers/intel-cs/2013.0.028/composer_xe/compiler/lib/intel64 -lifcore
# $(FE)/tcl/tclMain.o
# %---------------------------------------------------------%
# | SECTION 8: INCLUDE FILES |
# | |
# | The following macros specify include files needed for |
# | compilation. |
# %---------------------------------------------------------%
MACHINE_INCLUDES = $(MPI_INC) \
-I/usr/include/mysql \
-I$(UMFPACKdir) \
-I$(SUPERLUdir) \
-I$(SUPERLU_DISTdir) \
$(MUMPS_INCLUDE) \
$(metis_inc)\
$(parmetis_inc)
# this file contains all the OpenSees/SRC includes
include $(FE)/Makefile.incl
#TCL_INCLUDES = -I$(TCLdir)/include
#TCL_INCLUDES = -I/usr/include
#-I$(FE)/tcl/include
#INCLUDES = $(TCL_INCLUDES) $(FE_INCLUDES) $(MACHINE_INCLUDES)
INCLUDES = $(TCL_INCLUDES) $(MACHINE_INCLUDES) $(FE_INCLUDES)
####################################################################################################
Re: Problem building parallel opensees
i have updated the source code repository. that error should no longer pop up if you update your code.