[petsc-users] [error] [petsc-3.1-p8]

Barry Smith bsmith at mcs.anl.gov
Wed Jul 27 22:30:27 CDT 2011


  Edit $PETSC_DIR/$PETSC_ARCH/conf/petscvariables and remove all mention of -lPEPCF90  then run make test again



   Barry

On Jul 27, 2011, at 9:56 PM, 游手好闲 wrote:

> when i execute "make PETSC_DIR=/home/chengwl/opt/petsc-3.1-p8 test"
>  
> ld: cannot find -lPEPCF90
> make[3]: [ex5f] error1 (ignore)
>  
> but in fact lPEPCF90 That library was from Intel Fortran 7.0 and earlier, as you note. That is no longer available. 
>  you can check the source :
> http://software.intel.com/en-us/forums/showthread.php?t=78989
>  
> ps:
> 1  --------------------------------  detail  -------------------------------------------------------------
> [chengwl at hksbs-s13 petsc-3.1-p8]$ make PETSC_DIR=/home/chengwl/opt/petsc-3.1-p8 test
> Running test examples to verify correct installation
> C/C++ example src/snes/examples/tutorials/ex19 run successfully with 1 MPI process
> C/C++ example src/snes/examples/tutorials/ex19 run successfully with 2 MPI processes
> --------------Error detected during compile or link!-----------------------
> See http://www.mcs.anl.gov/petsc/petsc-2/documentation/troubleshooting.html
> /opt/mpich2x-1.2.1p1/bin/mpif90 -c  -g   -I/home/chengwl/opt/petsc-3.1-p8/include -I/home/chengwl/opt/petsc-3.1-p8/include -I/opt/mpich2x-1.2.1p1/include   -I/home/chengwl/opt/petsc-3.1-p8/include -I/opt/mpich2x-1.2.1p1/include    -o ex5f.o ex5f.F
> /opt/mpich2x-1.2.1p1/bin/mpif90 -g   -o ex5f ex5f.o -Wl,-rpath,/home/chengwl/opt/petsc-3.1-p8/lib -L/home/chengwl/opt/petsc-3.1-p8/lib -lpetsc  -lX11 -Wl,-rpath,/opt/intel/composerxe-2011.4.191/mkl -L/opt/intel/composerxe-2011.4.191/mkl -lmkl_intel_lp64 -lmkl_intel_thread -lmkl_core -liomp5 -lpthread -lPEPCF90 -ldl -L/opt/mpich2x-1.2.1p1/lib -lmpich -lopa -lpthread -lrt -L/opt/intel/composerxe-2011.4.191/compiler/lib/intel64 -L/opt/intel/composerxe-2011.4.191/mkl/lib/intel64 -L/opt/intel/Compiler/11.1/064/lib/intel64 -L/opt/intel/cce/10.1.018/lib -L/usr/lib/gcc/x86_64-redhat-linux/4.1.2 -limf -lsvml -lipgo -lirc -lgcc_s -lirc_s -lmpichf90 -lifport -lifcore -lm -lm -ldl -lmpich -lopa -lpthread -lrt -limf -lsvml -lipgo -lirc -lgcc_s -lirc_s -ldl
> ld: cannot find -lPEPCF90
> make[3]: [ex5f] error1 (ignore)
> /bin/rm -f ex5f.o
> Completed test examples
>  
> 2 ----------------------------------
>  
>  ./config/configure.py --prefix=/home/chengwl/o                                pt/petsc-3.1-p8 --with-mpi-dir=/opt/mpich2x-1.2.1p1/ --with-blas-lapack-dir=/opt                                /intel/composerxe-2011.4.191/mkl
> ===============================================================================
>              Configuring PETSc to compile on your system
> ===============================================================================
> TESTING: alternateConfigureLibrary from PETSc.packages.petsc4py(config/PETSc/pac                                Compilers:
>   C Compiler:         /opt/mpich2x-1.2.1p1/bin/mpicc  -g
>   Fortran Compiler:   /opt/mpich2x-1.2.1p1/bin/mpif90  -g
> Linkers:
>   Static linker:   /usr/bin/ar cr
> MPI:
>   Includes: -I/opt/mpich2x-1.2.1p1/include
> X11:
>   Includes:
>   Library:  -lX11
> BLAS/LAPACK: -Wl,-rpath,/opt/intel/composerxe-2011.4.191/mkl -L/opt/intel/compos                                erxe-2011.4.191/mkl -lmkl_intel_lp64 -lmkl_intel_thread -lmkl_core -liomp5 -lpth                                read
> PETSc:
>   PETSC_ARCH: linux-gnu-intel
>   PETSC_DIR: /home/chengwl/software/petsc-3.1-p8
>   Clanguage: C
>   Memory alignment: 16
>   Scalar type: real
>   Precision: double
>   shared libraries: disabled
>   dynamic libraries: disabled
> xxx=========================================================================xxx
>    Configure stage complete. Now build PETSc libraries with:
>    make PETSC_DIR=/home/chengwl/software/petsc-3.1-p8 PETSC_ARCH=linux-gnu-intel                                 all
> xxx=========================================================================xxx
>  
> it is odd.



More information about the petsc-users mailing list