Problem compiling fem module
Posted: 12 Aug 2014, 15:25
Hi there, I am trying to compile the latest SVN version of Elmer (6822), however it is failing when trying to compile the fem module. The problem seems to be related to Trilinos, which appears to have compiled properly. The error I am getting is:
There are several of these errors during compilation. I am running the latest version of Linux Mint.
The script I am using to compile Elmer is here. I also uploaded the full output when compiling here.
Code: Select all
make[2]: Entering directory `/home/evan/FROZEN/Elmer/elmerfem/fem/src'
gfortran -m64 -fPIC -Wl,-rpath=/usr/local/ElmerRev6822/lib -L. -L/usr/lib -L/usr/include/trilinos/lib -lbelostpetra -lbelosepetra -lbelos -lml -lifpack -lamesos -lgaleri -lisorropia -lepetraext -ltpetrainout -ltpetra -ltriutils -lzoltan -lepetra -lkokkoslinalg -lkokkosnodeapi -lkokkos -lteuchosremainder -lteuchoscomm -lteuchoscore -lteuchosnumerics -lteuchosparameterlist -L/usr/local/ElmerRev6822/lib \
-o ElmerSolver Solver.o mpi_stubs.o \
-L. -lelmersolver
./libelmersolver.so: undefined reference to `Epetra_MpiComm::Epetra_MpiComm(int)'
collect2: error: ld returned 1 exit status
The script I am using to compile Elmer is here. I also uploaded the full output when compiling here.