[petsc-users] installation error of 3.3

Jed Brown jedbrown at mcs.anl.gov
Thu Nov 22 10:31:56 CST 2012


This ran fine, so it's okay. You won't be able to use the -fp_trap option,
however.

On Thu, Nov 22, 2012 at 5:20 PM, w_ang_temp <w_ang_temp at 163.com> wrote:

> Hello,
>     When I install petsc-3.3-p4 in the cluster, I get an error information.
>     When 'make PETSC_DIR=/public/soft/ddc/soft/petsc/petsc-3.3-p4
> PETSC_ARCH=arch-linux2-c-opt test',
> the error information is as follows:
> [root at node21 petsc-3.3-p4]# make
> PETSC_DIR=/public/soft/ddc/soft/petsc/petsc-3.3-p4
> PETSC_ARCH=arch-linux2-c-opt test
> Running test examples to verify correct installation
> Using PETSC_DIR=/public/soft/ddc/soft/petsc/petsc-3.3-p4 and
> PETSC_ARCH=arch-linux2-c-opt
> --------------Error detected during compile or link!-----------------------
> See http://www.mcs.anl.gov/petsc/documentation/faq.html
> /public/soft/ddc/soft/petsc/petsc-3.3-p4/src/snes/examples/tutorials ex19
> ---------------------------------------------------------------------------
> /public/soft/ddc/soft/mpich2/bin/mpicc -o ex19.o -c -wd1572 -O3
> -I/public/soft/ddc/soft/petsc/petsc-3.3-p4/include
> -I/public/soft/ddc/soft/petsc/petsc-3.3-p4/arch-
> linux2-c-opt/include -I/public/soft/ddc/soft/mpich2/include
> -D__INSDIR__=src/snes/examples/tutorials/ ex19.c
> /public/soft/ddc/soft/mpich2/bin/mpicc -wd1572 -O3  -o ex19  ex19. o
> -L/public/soft/ddc/soft/petsc/petsc-3.3-p4/arch-linux2-c-opt/lib  -lpetsc
> -lX11 -Wl,-rpath,/pub
> lic/soft/ddc/soft/petsc/petsc-3.3-p4/arch-linux2-c-opt/lib -lHYPRE
> -L/public/soft/ddc/soft/mpich2/lib
> -L/public/soft/compiler/intel/11/056/mkl/lib/em64t -L/public/
> soft/compiler/intel/11/056/lib/intel64
> -L/usr/lib/gcc/x86_64-redhat-linux/4.1.2 -lmpichcxx -lstdc++ -lpthread
> -lflapack -lfblas -lmpichf90 -lifport -lifcore -lm -l
> m -lmpichcxx -lstdc++ -lmpichcxx -lstdc++ -ldl -lmpich -lopa -lmpl -lrt
> -lpthread -limf -lsvml -lipgo -ldecimal -lgcc_s -lirc -lirc_s -ldl
> /public/soft/compiler/intel/11/056/lib/intel64/libimf.so: warning:
> warning: feupdateenv is not implemented and will always fail
> /bin/rm -f ex19.o
> 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!-----------------------
> S ee http://www.mcs.anl.gov/petsc/documentation/faq.html
> /public/soft/ddc/soft/petsc/petsc-3.3-p4/src/snes/examples/tutorials ex5f
> ---------------------------------------------------------------------------
> /public/soft/ddc/soft/mpich2/bin/mpif90 -c  -O3
> -I/public/soft/ddc/soft/petsc/petsc-3.3-p4/include
> -I/public/soft/ddc/soft/petsc/petsc-3.3-p4/arch-linux2-c-opt/i
> nclude -I/public/soft/ddc/soft/mpich2/include    -o ex5f.o ex5f.F
> /public/soft/ddc/soft/mpich2/bin/mpif90 -O3   -o ex5f ex5f.o
> -L/public/soft/ddc/soft/petsc/petsc-3.3-p4/arch-linux2-c-opt/lib  -lpetsc
> -lX11 -Wl,-rpath,/public/sof
> t/ddc/soft/petsc/petsc-3.3-p4/arch-linux2-c-opt/lib -lHYPRE
> -L/public/soft/ddc/soft/mpich2/lib
> -L/public/soft/compiler/intel/11/056/mkl/lib/em64t -L/public/soft/co
> mpiler/intel/11/056/lib/intel64 -L/usr/lib/gcc/x86_64-redhat-linux/4.1.2
> -lmpichcxx -lstdc++ - lpthread -lflapack -lfblas -lmpichf90 -lifport
> -lifcore -lm -lm -lmpi
> chcxx -lstdc++ -lmpichcxx -lstdc++ -ldl -lmpich -lopa -lmpl -lrt -lpthread
> -limf -lsvml -lipgo -ldecimal -lgcc_s -lirc -lirc_s -ldl
> /public/soft/compiler/intel/11/056/lib/intel64/libimf.so: warning:
> warning: feupdateenv is not implemented and will always fail
>

These jerks didn't bother to implement a function that is required for
standards compliance, so instead of leaving it out, they made a stub that
fails. One can only assume that this is a malicious scheme to force
projects to test for availability of every function by attempting to link
(not just compile/parse) so that configure tests run slower, thus
decreasing the productivity of both developers and users.

/bin/rm -f ex5f.o
> Fortran example src/snes/examples/tutorials/ex5f run successfully with 1
> MPI process
> Completed test examples
> [root at node21 petsc-3.3-p4]#
>     And in order to find the reason, I install 'petsc-3.2-p7.tar.gz' with
> the same procedure and it is ok.
> So what is the reason?
>     Thanks.
>
> Jim
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20121122/b2840d3d/attachment.html>


More information about the petsc-users mailing list