[CIG-LONG] Compiling Gale/Underworld

Mark Fleharty mark.fleharty at gmail.com
Mon Mar 22 20:46:24 PDT 2010


Hello,

I've been trying to compile Gale off the mercurial repository.  I'm
getting the following error.

Any ideas on what I'm doing wrong?

Thanks.

Mark

ranlib build/lib/libStgDomain.a
mpicc -o build/bin/StGermain
-Wl,-rpath=/scratch/fleharty/petsc-2.3.2-p10/lib
-Wl,-rpath=/scratch/fleharty/petsc-2.3.2-p10/lib/linux-gnu-c-opt
-Wl,-rpath=/scratch/fleharty/uworld/uworld/build/lib
StGermain/src/main.o build/StGermain/stg_static_modules.o
-L/scratch/fleharty/petsc-2.3.2-p10/lib
-L/scratch/fleharty/petsc-2.3.2-p10/lib/linux-gnu-c-opt
-L/usr/local/mpich2-1.1/lib -L/usr/lib/gcc/x86_64-redhat-linux/4.1.2
-L/usr/lib64 -L/lib64 -L/usr/lib64 -Lbuild/lib -lUnderworld
-lPICellerator -lStgFEM -lStgDomain -lStGermain -lpcu -lpetscsnes
-lpetscksp -lpetscdm -lpetscmat -lpetscvec -lpetsc -lxml2 -llapack
-lblas -lm -ldl -lmpich -lopa -lpthread -lrt -lgcc_s -lmpichf90
-lgfortranbegin -lgfortran
build/lib/libStgFEM.a(SystemLinearEquations.os): In function
`SystemLinearEquations_PicardExecute':
/scratch/fleharty/uworld/uworld/StgFEM/SLE/SystemSetup/src/SystemLinearEquations.c:1210:
undefined reference to `CHKERRV'
/scratch/fleharty/uworld/uworld/StgFEM/SLE/SystemSetup/src/SystemLinearEquations.c:1229:
undefined reference to `CHKERRV'
/scratch/fleharty/uworld/uworld/StgFEM/SLE/SystemSetup/src/SystemLinearEquations.c:1234:
undefined reference to `CHKERRV'
/scratch/fleharty/uworld/uworld/StgFEM/SLE/SystemSetup/src/SystemLinearEquations.c:1243:
undefined reference to `CHKERRV'
collect2: ld returned 1 exit status
scons: *** [build/bin/StGermain] Error 1
scons: building terminated because of errors.


More information about the CIG-LONG mailing list