This ran fine, so it's okay. You won't be able to use the -fp_trap option, however.<br><br>On Thu, Nov 22, 2012 at 5:20 PM, w_ang_temp <span dir="ltr"><<a href="mailto:w_ang_temp@163.com" target="_blank">w_ang_temp@163.com</a>></span> wrote:<br>
<div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="line-height:1.7;font-size:14px;font-family:arial"><div>Hello,</div>
<div> When I install petsc-3.3-p4 in the cluster, I get an error information.</div>
<div> When 'make PETSC_DIR=/public/soft/ddc/soft/petsc/petsc-3.3-p4 PETSC_ARCH=arch-linux2-c-opt test', </div>
<div>the error information is as follows:</div>
<div>[root@node21 petsc-3.3-p4]# make PETSC_DIR=/public/soft/ddc/soft/petsc/petsc-3.3-p4 PETSC_ARCH=arch-linux2-c-opt test<br>Running test examples to verify correct installation<br>Using PETSC_DIR=/public/soft/ddc/soft/petsc/petsc-3.3-p4 and PETSC_ARCH=arch-linux2-c-opt<br>
--------------Error detected during compile or link!-----------------------<br>See <a href="http://www.mcs.anl.gov/petsc/documentation/faq.html" target="_blank">http://www.mcs.anl.gov/petsc/documentation/faq.html</a><br>/public/soft/ddc/soft/petsc/petsc-3.3-p4/src/snes/examples/tutorials ex19<br>
---------------------------------------------------------------------------<br>/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-<br>
linux2-c-opt/include -I/public/soft/ddc/soft/mpich2/include -D__INSDIR__=src/snes/examples/tutorials/ ex19.c<br>/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<br>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/<br>
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<br>m -lmpichcxx -lstdc++ -lmpichcxx -lstdc++ -ldl -lmpich -lopa -lmpl -lrt -lpthread -limf -lsvml -lipgo -ldecimal -lgcc_s -lirc -lirc_s -ldl <br>
/public/soft/compiler/intel/11/056/lib/intel64/libimf.so: warning: warning: feupdateenv is not implemented and will always fail<br>/bin/rm -f ex19.o<br>C/C++ example src/snes/examples/tutorials/ex19 run successfully with 1 MPI process<br>
C/C++ example src/snes/examples/tutorials/ex19 run successfully with 2 MPI processes<br>--------------Error detected during compile or link!-----------------------<br>S
ee <a href="http://www.mcs.anl.gov/petsc/documentation/faq.html" target="_blank">http://www.mcs.anl.gov/petsc/documentation/faq.html</a><br>/public/soft/ddc/soft/petsc/petsc-3.3-p4/src/snes/examples/tutorials ex5f<br>---------------------------------------------------------------------------<br>
/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<br>nclude -I/public/soft/ddc/soft/mpich2/include -o ex5f.o ex5f.F<br>
/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<br>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<br>
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<br>chcxx -lstdc++ -lmpichcxx -lstdc++ -ldl -lmpich -lopa -lmpl -lrt -lpthread -limf -lsvml -lipgo -ldecimal -lgcc_s -lirc -lirc_s -ldl <br>/public/soft/compiler/intel/11/056/lib/intel64/libimf.so: warning: warning: feupdateenv is not implemented and will always fail<br>
</div></div></blockquote><div><br></div><div>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.</div>
<div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="line-height:1.7;font-size:14px;font-family:arial"><div>/bin/rm -f ex5f.o<br>Fortran example src/snes/examples/tutorials/ex5f run successfully with 1 MPI process<br>
Completed test examples<br>[root@node21 petsc-3.3-p4]# </div>
<div> And in order to find the reason, I install 'petsc-3.2-p7.tar.gz' with the same procedure and it is ok.</div>
<div>So what is the reason?</div>
<div> Thanks.<br> Jim</div></div><br><br><span title="neteasefooter"><span></span></span></blockquote></div><br></div>