I am trying to build FEniCS 1.2.0 using dorsal with rhel6 platform package (I am using
Scientific Linux 6.4). I successfully compiled the packages through petsc, but
then slepc fails with the message
Checking environment...
Checking PETSc installation...
ERROR: Unable to link with PETSc
ERROR: See "arch-installed-petsc/conf/configure.log" file for details
Failure with exit status: 1
Exit message: There was a problem configuring slepc-3.3-p3.
The file arch-installed-petsc/conf/configure.log shows that the problem was
/home/faculty/arnold/fenics/FEniCS-sl6-1.2.0/lib/libpetsc.so: undefined reference to `_SCOTCHintRandVal'
Any help would be appreciated! Here is the whole arch-installed-petsc/conf/configure.log:
PETSc install directory: /home/faculty/arnold/fenics/FEniCS-sl6-1.2.0
PETSc version: 3.3
PETSc architecture: arch-installed-petsc
SLEPc source directory: /home/faculty/arnold/fenics/FEniCS-sl6-1.2.0/src/slepc-3.3-p3
SLEPc install directory: /home/faculty/arnold/fenics/FEniCS-sl6-1.2.0
================================================================================
Checking PETSc installation...
#include "petscksp.h"
EXTERN_C_BEGIN
EXTERN_C_END
int main() {
PetscInitialize(PETSC_NULL,PETSC_NULL,PETSC_NULL,PETSC_NULL);
VecCreate(PETSC_NULL,PETSC_NULL);
MatCreate(PETSC_NULL,PETSC_NULL);
KSPCreate(PETSC_NULL,PETSC_NULL);
return 0;
}
make: Entering directory `/tmp/slepc-P8ZEaA'
mpicxx -o checklink.o -c -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -O -fPIC -I/home/faculty/arnold/fenics/FEniCS-sl6-1.2.0/include -I/home/faculty/arnold/fenics/FEniCS-sl6-1.2.0/include -I/home/faculty/arnold/fenics/FEniCS-sl6-1.2.0/include/trilinos -I/usr/include/openmpi-i386 -D__INSDIR__=./ checklink.c
mpicxx -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -O -o checklink checklink.o -Wl,-rpath,/home/faculty/arnold/fenics/FEniCS-sl6-1.2.0/lib -L/home/faculty/arnold/fenics/FEniCS-sl6-1.2.0/lib -lpetsc -lX11 -lpthread -Wl,-rpath,/home/faculty/arnold/fenics/FEniCS-sl6-1.2.0/lib -lcmumps -ldmumps -lsmumps -lzmumps -lmumps_common -lpord -lparmetis -lmetis -Wl,-rpath,/home/faculty/arnold/fenics/FEniCS-sl6-1.2.0/lib -L/home/faculty/arnold/fenics/FEniCS-sl6-1.2.0/lib -lml -lscalapack -lblacs -lHYPRE -lptesmumps -lptscotch -lptscotcherr -lumfpack -lamd -llapack -lblas -Wl,-rpath,/usr/lib/openmpi/lib -L/usr/lib/openmpi/lib -Wl,-rpath,/usr/lib/gcc/i686-redhat-linux/4.4.7 -L/usr/lib/gcc/i686-redhat-linux/4.4.7 -lmpi_f90 -lmpi_f77 -lgfortran -lm -lm -lmpi_cxx -lstdc++ -lrt -lm -lz -lz -lmpi_cxx -lstdc++ -ldl -lmpi -lgcc_s -lpthread -ldl
/home/faculty/arnold/fenics/FEniCS-sl6-1.2.0/lib/libpetsc.so: undefined reference to `_SCOTCHintRandVal'
collect2: ld returned 1 exit status
make: *** [checklink] Error 1
make: Leaving directory `/tmp/slepc-P8ZEaA'
ERROR: Unable to link with PETSc