FYI, I suspect this is fine but I get some errors in testing 'maint' on Cori (NERSC) KNL:
19:57 nid02516 maint= ~/petsc_install/petsc$ make PETSC_DIR=/global/homes/m/madams/petsc_install/petsc-cori-knl-opt64-intel-omp PETSC_ARCH="" test Running test examples to verify correct installation Using PETSC_DIR=/global/homes/m/madams/petsc_install/petsc-cori-knl-opt64-intel-omp and PETSC_ARCH= *******************Error detected during compile or link!******************* See http://www.mcs.anl.gov/petsc/documentation/faq.html /global/homes/m/madams/petsc_install/petsc/src/snes/examples/tutorials ex19 ********************************************************************************* cc -o ex19.o -c -g -fp-model fast -hcpu=mic-knl -fopenmp -I/global/homes/m/madams/petsc_install/petsc-cori-knl-opt64-intel-omp/include -I/global/homes/m/madams/petsc_install/petsc-cori-knl-opt64-intel-omp/include -I/global/homes/m/madams/petsc_install/petsc-cori-knl-opt64-intel-omp/include `pwd`/ex19.c cc -g -fp-model fast -hcpu=mic-knl -fopenmp -o ex19 ex19.o -L/global/homes/m/madams/petsc_install/petsc-cori-knl-opt64-intel-omp/lib -Wl,-rpath,/global/homes/m/madams/petsc_install/petsc-cori-knl-opt64-intel-omp/lib -L/global/homes/m/madams/petsc_install/petsc-cori-knl-opt64-intel-omp/lib -lpetsc -lHYPRE -lflapack -lfblas -lhdf5hl_fortran -lhdf5_fortran -lhdf5_hl -lhdf5 -lparmetis -lmetis -lstdc++ -ldl /global/homes/m/madams/petsc_install/petsc-cori-knl-opt64-intel-omp/lib/libpetsc.a(dlimpl.o): In function `PetscDLOpen': /global/u2/m/madams/petsc_install/petsc/src/sys/dll/dlimpl.c:108: warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking /global/homes/m/madams/petsc_install/petsc-cori-knl-opt64-intel-omp/lib/libpetsc.a(send.o): In function `PetscSocketEstablish': /global/u2/m/madams/petsc_install/petsc/src/sys/classes/viewer/impls/socket/send.c:189: warning: Using 'gethostbyname' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking /usr/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 3,4c3,6 < 1 SNES Function norm 4.12227e-06 < 2 SNES Function norm 6.098e-11 --- > OMP: Warning #239: KMP_AFFINITY: granularity=fine will be used. > OMP: Warning #239: KMP_AFFINITY: granularity=fine will be used. > 1 SNES Function norm 6.24808e-06 > 2 SNES Function norm 6.777e-11 /global/homes/m/madams/petsc_install/petsc/src/snes/examples/tutorials Possible problem with ex19_hypre, diffs above ========================================= *******************Error detected during compile or link!******************* See http://www.mcs.anl.gov/petsc/documentation/faq.html /global/homes/m/madams/petsc_install/petsc/src/snes/examples/tutorials ex5f ********************************************************* ftn -c -g -fp-model fast -hcpu=mic-knl -fopenmp -I/global/homes/m/madams/petsc_install/petsc-cori-knl-opt64-intel-omp/include -I/global/homes/m/madams/petsc_install/petsc-cori-knl-opt64-intel-omp/include -I/global/homes/m/madams/petsc_install/petsc-cori-knl-opt64-intel-omp/include -o ex5f.o ex5f.F90 ftn -g -fp-model fast -hcpu=mic-knl -fopenmp -o ex5f ex5f.o -L/global/homes/m/madams/petsc_install/petsc-cori-knl-opt64-intel-omp/lib -Wl,-rpath,/global/homes/m/madams/petsc_install/petsc-cori-knl-opt64-intel-omp/lib -L/global/homes/m/madams/petsc_install/petsc-cori-knl-opt64-intel-omp/lib -lpetsc -lHYPRE -lflapack -lfblas -lhdf5hl_fortran -lhdf5_fortran -lhdf5_hl -lhdf5 -lparmetis -lmetis -lstdc++ -ldl /global/homes/m/madams/petsc_install/petsc-cori-knl-opt64-intel-omp/lib/libpetsc.a(dlimpl.o): In function `PetscDLOpen': /global/u2/m/madams/petsc_install/petsc/src/sys/dll/dlimpl.c:108: warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking /global/homes/m/madams/petsc_install/petsc-cori-knl-opt64-intel-omp/lib/libpetsc.a(send.o): In function `PetscSocketEstablish': /global/u2/m/madams/petsc_install/petsc/src/sys/classes/viewer/impls/socket/send.c:189: warning: Using 'gethostbyname' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking /usr/bin/rm -f ex5f.o Fortran example src/snes/examples/tutorials/ex5f run successfully with 1 MPI process Completed test examples 20:01 nid02516 maint= ~/petsc_install/petsc$
