[petsc-users] Petsc/3.5.0 make test failed

Satish Balay balay at mcs.anl.gov
Thu Jul 24 17:17:29 CDT 2014


Perhaps there were errors during the build. Can you send us make.log
for this build?

Satish

On Thu, 24 Jul 2014, Kai Song wrote:

> 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
> 
> 



More information about the petsc-users mailing list