[petsc-users] Petsc/3.5.0 make test failed

Kai Song ksong at lbl.gov
Thu Jul 24 17:09:31 CDT 2014


Hi Petsc community,

I just installed petsc/3.5.0 on our RHEL-6 system, with gcc/4.4.7 and
openmpi/1.6.5

The program built and installed fine, but make test failed on the following
error:
================
...
mpicc -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3
-O0  -o ex19  ex19.o
-L/clusterfs/voltaire/home/software/modules/petsc/3.5.0/lib  -lpetsc
-Wl,-rpath,/clusterfs/voltaire/home/software/modules/petsc/3.5.0/lib
-lcmumps -ldmumps -lsmumps -lzmumps -lmumps_common -lpord -lscalapack
-lflapack -lfblas -lparmetis -lmetis -lX11 -lssl -lcrypto -lpthread
-L/global/software/sl-6.x86_64/modules/gcc/4.4.7/openmpi/1.6.5-gcc/lib
-L/usr/lib/gcc/x86_64-redhat-linux/4.4.7 -lmpi_f90 -lmpi_f77 -lgfortran -lm
-lmpi_cxx -lstdc++ -lmpi_cxx -lstdc++ -ldl -lmpi -lnuma -lrt -lnsl -lutil
-lgcc_s -lpthread -ldl
/clusterfs/voltaire/home/software/modules/petsc/3.5.0/lib/libpetsc.so:
undefined reference to `MatGetFactor_aij_mumps'
/clusterfs/voltaire/home/software/modules/petsc/3.5.0/lib/libpetsc.so:
undefined reference to `MatGetFactor_baij_mumps'
/clusterfs/voltaire/home/software/modules/petsc/3.5.0/lib/libpetsc.so:
undefined reference to `MatPartitioningCreate_Parmetis'
/clusterfs/voltaire/home/software/modules/petsc/3.5.0/lib/libpetsc.so:
undefined reference to `MatGetFactor_sbaij_mumps'
collect2: ld returned 1 exit status
gmake[3]: [ex19] Error 1 (ignored)
...
================

I used the following configure line:
./configure --prefix=/software/modules/petsc/3.5.0
 --download-fblaslapack=1 --download-mumps=1 --download-parmetis=1
--download-scalapack --download-metis=1
--with-mpi-dir=/global/software/sl-6.x86_64/modules/gcc/4.4.7/openmpi/1.6.5-gcc/

Is there anything that I am missing in the built process? Any help would be
great appreciated!

Thanks in advance!

Kai

-- 
Kai Song
<ksong at lbl.gov> 1.510.495.2180
1 Cyclotron Rd. Berkeley, CA94720, MS-50B 3209
High Performance Computing Services (HPCS)
Lawrence Berkeley National Laboratory - http://scs.lbl.gov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20140724/46b88b30/attachment.html>


More information about the petsc-users mailing list