Fortran error - OpenSeesMP on cluster

This forum is for issues related to parallel processing
and OpenSees using the new interpreters OpenSeesSP and OpenSeesMP

Moderator: selimgunay

Post Reply
brag006
Posts: 173
Joined: Wed Feb 15, 2012 1:26 pm
Location: University of Auckland

Fortran error - OpenSeesMP on cluster

Post by brag006 » 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.

fmk
Site Admin
Posts: 5883
Joined: Fri Jun 11, 2004 2:33 pm
Location: UC Berkeley
Contact:

Re: Fortran error - OpenSeesMP on cluster

Post by fmk » Mon Nov 18, 2013 9:10 am

not sure about all the other missing functions, but idamax is a blas function found in OTHER/BLAS if you are using the blas provided as opposed to what is on your system .. you are including libBlas.a above .. it could be that the blas is not generating the correct function name (fgrep the lib for the idamax_, if not there that is the problem) OR this could be a matter of reordering the lib routines (welcome to linking OpenSees on linux!) .. try placing the Blas lib after the umfpack library (sometimes suplicating the librarary where it is and again after the lib that thinks it is missing it works as well!)

Post Reply