make test fails

SLIM H.A. h.a.slim at durham.ac.uk
Thu Mar 29 11:43:32 CDT 2007


Dear all

After building pestc-2.3.0 I get the following errors when runing the
tests:
>make test
Running test examples to verify correct installation
--------------Error detected during compile or
link!-----------------------
See
http://www.mcs.anl.gov/petsc/petsc-2/documentation/troubleshooting.html
*********************Warning*************************
Your PETSC_DIR may not match the directory you are in
PETSC_DIR  /data/hamilton/drk1has/_libs/petsc/petsc-2.3.0 Current
directory
/home/stevens/staff/dcl0has/hamilton/_libs/petsc/petsc-2.3.0/src/snes/ex
amples/tutorials
******************************************************
mpicc -c -fPIC -g -I/data/hamilton/drk1has/_libs/petsc/petsc-2.3.0
-I/data/hamilton/drk1has/_libs/petsc/petsc-2.3.0/bmake/linux-gnu-intel
-I/data/hamilton/drk1has/_libs/petsc/petsc-2.3.0/include
-D__SDIR__="src/snes/examples/tutorials/" ex19.c
mpicc -fPIC -g  -o ex19  ex19.o
-Wl,-rpath,/data/hamilton/drk1has/_libs/petsc/petsc-2.3.0/lib/linux-gnu-
intel
-L/data/hamilton/drk1has/_libs/petsc/petsc-2.3.0/lib/linux-gnu-intel
-lpetscsnes -lpetscksp -lpetscdm -lpetscmat -lpetscvec -lpetsc   -lnsl
-lrt -Wl,-rpath,/usr/local/Cluster-Apps/intel/mkl/8.0/lib/em64t
-L/usr/local/Cluster-Apps/intel/mkl/8.0/lib/em64t -lmkl_lapack64
-lmkl_def -lguide
-L/usr/local/Cluster-Apps/mpich/ge/intel/64/1.2.7/lib/shared
-L/usr/local/Cluster-Apps/mpich/ge/intel/64/1.2.7/lib -lmpichf90
-lmpichfarg -lmpich -lpthread -lrt
-Wl,-rpath,"/usr/local/Cluster-Apps/mpich/ge/intel/64/1.2.7/lib/shared"
-L"/usr/local/Cluster-Apps/mpich/ge/intel/64/1.2.7/lib/shared"
-L"/usr/local/Cluster-Apps/mpich/ge/intel/64/1.2.7/lib"
-L/usr/local/Cluster-Apps/intel/fce/9.0/lib
-L/usr/lib64/gcc/x86_64-suse-linux/4.0.2/
-L/usr/lib64/gcc/x86_64-suse-linux/4.0.2/../../../../lib64 -lsvml
-lifport -lifcore -limf -lm -lirc -lgcc_s -lirc_s -ldl
-Wl,-rpath,/usr/local/Cluster-Apps/mpich/ge/intel/64/1.2.7/lib/shared
-L/usr/local/Cluster-Apps/mpich/ge/intel/64/1.2.7/lib/shared
-L/usr/local/Cluster-Apps/mpich/ge/intel/64/1.2.7/lib -lm 
/bin/rm -f ex19.o
C/C++ example src/snes/examples/tutorials/ex19 run successfully with 1
MPI process
Possible error running C/C++ src/snes/examples/tutorials/ex19 with 2 MPI
processes
See
http://www.mcs.anl.gov/petsc/petsc-as/documentation/troubleshooting.html
/home/stevens/staff/dcl0has/hamilton/_libs/petsc/petsc-2.3.0/src/snes/ex
amples/tutorials/./ex19: error while loading shared libraries:
libsvml.so: cannot open shared object file: No such file or directory
p0_26282:  p4_error: Child process exited while making connection to
remote process on node001: 0
p0_26282: (2.242188) net_send: could not write to fd=4, errno = 32
Fortran example src/snes/examples/tutorials/ex5f run successfully with 1
MPI process


The library  libsvml.so in the line
"libsvml.so: cannot open shared object file: No such file or directory"

does actually exist as 
/usr/local/Cluster-Apps/intel/cce/9.0/lib/libsvml.so

ex19 is a c file, so I would expect the cc compiler library path in the
mpicc linking stage, similar to

-L/usr/local/Cluster-Apps/intel/fce/9.0/lib

Thanks 

Henk





More information about the petsc-users mailing list