Fortran error - OpenSeesMP on cluster
Posted: Sun Nov 17, 2013 5:13 pm
I am having lots of trouble with compiling openseesMP on a cluster. I am having one issue that seems easy to solve but don't know how. Here is one example of the error:
umd2f2.f:(.text+0x103d): undefined reference to `idamax_'
But obviously I get lots of them, all related to issues with linking the fortran code when I come to build OpenSeesMP after this command is called:
mpicxx -lgfortran -rdynamic -pg -g /gpfs1m/projects/uoa00174/opensees/ver5572/SRC/tcl/tclMain.o /gpfs1m/projects/uoa00174/opensees/ver5572/SRC/tcl/mpiParameterMain.o /gpfs1m/projects/uoa00174/opensees/ver5572/SRC/tcl/commands.o /gpfs1m/projects/uoa00174/opensees/ver5572/SRC/modelbuilder/tcl/myCommands.o /gpfs1m/projects/uoa00174/opensees/ver5572/SRC/actor/channel/MPI_Channel.o /gpfs1m/projects/uoa00174/opensees/ver5572/SRC/actor/machineBroker/MPI_MachineBroker.o /gpfs1m/projects/uoa00174/opensees/ver5572/SRC/system_of_eqn/linearSOE/diagonal/MPIDiagonalSOE.o /gpfs1m/projects/uoa00174/opensees/ver5572/SRC/system_of_eqn/linearSOE/diagonal/MPIDiagonalSolver.o /gpfs1m/projects/uoa00174/opensees/ver5572/SRC/domain/subdomain/ActorSubdomain.o /gpfs1m/projects/uoa00174/opensees/ver5572/SRC/domain/subdomain/ShadowSubdomain.o /gpfs1m/projects/uoa00174/opensees/ver5572/SRC/tcl/TclFeViewer.o /gpfs1m/projects/uoa00174/opensees/ver5572/SRC/tcl/TclVideoPlayer.o /gpfs1m/projects/uoa00174/opensees/ver5572/lib/libOpenSees.a -L/lib -L/gpfs1m/projects/uoa00174/lib -lm /gpfs1m/projects/uoa00174/opensees/ver5572/lib/libBlas.a /gpfs1m/projects/uoa00174/opensees/ver5572/lib/libLapack.a /gpfs1m/projects/uoa00174/opensees/ver5572/lib/libArpack.a /gpfs1m/projects/uoa00174/opensees/ver5572/lib/libSuperLU.a /gpfs1m/projects/uoa00174/opensees/ver5572/lib/libUmfpack.a /gpfs1m/projects/uoa00174/opensees/ver5572/lib/libCSparse.a /gpfs1m/projects/uoa00174/opensees/ver5572/lib/libDistributedSuperLU.a /gpfs1m/projects/uoa00174/opensees/ver5572/lib/libMetis.a /home/bver018/.local/easybuild/software/./Tk/8.5.12-gmpolf-1.4.8/lib/libtk8.5.so /home/bver018/.local/easybuild/software/./Tcl/8.5.12-gmpolf-1.4.8/lib/libtcl8.5.so -o /gpfs1m/projects/uoa00174/opensees/ver5572/bin/OpenSeesMP
Anyhelp will be much appreciated.
umd2f2.f:(.text+0x103d): undefined reference to `idamax_'
But obviously I get lots of them, all related to issues with linking the fortran code when I come to build OpenSeesMP after this command is called:
mpicxx -lgfortran -rdynamic -pg -g /gpfs1m/projects/uoa00174/opensees/ver5572/SRC/tcl/tclMain.o /gpfs1m/projects/uoa00174/opensees/ver5572/SRC/tcl/mpiParameterMain.o /gpfs1m/projects/uoa00174/opensees/ver5572/SRC/tcl/commands.o /gpfs1m/projects/uoa00174/opensees/ver5572/SRC/modelbuilder/tcl/myCommands.o /gpfs1m/projects/uoa00174/opensees/ver5572/SRC/actor/channel/MPI_Channel.o /gpfs1m/projects/uoa00174/opensees/ver5572/SRC/actor/machineBroker/MPI_MachineBroker.o /gpfs1m/projects/uoa00174/opensees/ver5572/SRC/system_of_eqn/linearSOE/diagonal/MPIDiagonalSOE.o /gpfs1m/projects/uoa00174/opensees/ver5572/SRC/system_of_eqn/linearSOE/diagonal/MPIDiagonalSolver.o /gpfs1m/projects/uoa00174/opensees/ver5572/SRC/domain/subdomain/ActorSubdomain.o /gpfs1m/projects/uoa00174/opensees/ver5572/SRC/domain/subdomain/ShadowSubdomain.o /gpfs1m/projects/uoa00174/opensees/ver5572/SRC/tcl/TclFeViewer.o /gpfs1m/projects/uoa00174/opensees/ver5572/SRC/tcl/TclVideoPlayer.o /gpfs1m/projects/uoa00174/opensees/ver5572/lib/libOpenSees.a -L/lib -L/gpfs1m/projects/uoa00174/lib -lm /gpfs1m/projects/uoa00174/opensees/ver5572/lib/libBlas.a /gpfs1m/projects/uoa00174/opensees/ver5572/lib/libLapack.a /gpfs1m/projects/uoa00174/opensees/ver5572/lib/libArpack.a /gpfs1m/projects/uoa00174/opensees/ver5572/lib/libSuperLU.a /gpfs1m/projects/uoa00174/opensees/ver5572/lib/libUmfpack.a /gpfs1m/projects/uoa00174/opensees/ver5572/lib/libCSparse.a /gpfs1m/projects/uoa00174/opensees/ver5572/lib/libDistributedSuperLU.a /gpfs1m/projects/uoa00174/opensees/ver5572/lib/libMetis.a /home/bver018/.local/easybuild/software/./Tk/8.5.12-gmpolf-1.4.8/lib/libtk8.5.so /home/bver018/.local/easybuild/software/./Tcl/8.5.12-gmpolf-1.4.8/lib/libtcl8.5.so -o /gpfs1m/projects/uoa00174/opensees/ver5572/bin/OpenSeesMP
Anyhelp will be much appreciated.