[petsc-users] PETSc with MUMPS

Luo Chenyi cheluo at ethz.ch
Wed Dec 9 15:16:20 CST 2020


Hi

I am installing PETSC together with MUMPS. When I run the comman “make …… checked “. I get the following messages

"luochengyi at macbook-pro-2 petsc % make PETSC_DIR=/Users/luochengyi/Downloads/petsc PETSC_ARCH=arch-darwin-c-debug check
Running check examples to verify correct installation
Using PETSC_DIR=/Users/luochengyi/Downloads/petsc and PETSC_ARCH=arch-darwin-c-debug
C/C++ example src/snes/tutorials/ex19 run successfully with 1 MPI process
C/C++ example src/snes/tutorials/ex19 run successfully with 2 MPI processes
C/C++ example src/snes/tutorials/ex19 run successfully with mumps
*******************Error detected during compile or link!*******************
See http://www.mcs.anl.gov/petsc/documentation/faq.html
/Users/luochengyi/Downloads/petsc/src/snes/tutorials ex5f
*********************************************************
mpif90 -Wl,-multiply_defined,suppress -Wl,-multiply_defined -Wl,suppress -Wl,-commons,use_dylibs -Wl,-search_paths_first -Wl,-no_compact_unwind  -Wall -ffree-line-length-0 -Wno-unused-dummy-argument -g   -Wall -ffree-line-length-0 -Wno-unused-dummy-argument -g    -I/Users/luochengyi/Downloads/petsc/include -I/Users/luochengyi/Downloads/petsc/arch-darwin-c-debug/include -I/opt/X11/include     ex5f.F90  -Wl,-rpath,/Users/luochengyi/Downloads/petsc/arch-darwin-c-debug/lib -L/Users/luochengyi/Downloads/petsc/arch-darwin-c-debug/lib -Wl,-rpath,/Users/luochengyi/Downloads/petsc/arch-darwin-c-debug/lib -L/Users/luochengyi/Downloads/petsc/arch-darwin-c-debug/lib -Wl,-rpath,/opt/X11/lib -L/opt/X11/lib -Wl,-rpath,/usr/local/Cellar/mpich/3.3.2_1/lib -L/usr/local/Cellar/mpich/3.3.2_1/lib -Wl,-rpath,/usr/local/lib -L/usr/local/lib -Wl,-rpath,/usr/local/Cellar/gcc/10.2.0/lib/gcc/10/gcc/x86_64-apple-darwin19/10.2.0 -L/usr/local/Cellar/gcc/10.2.0/lib/gcc/10/gcc/x86_64-apple-darwin19/10.2.0 -Wl,-rpath,/usr/local/Cellar/gcc/10.2.0/lib/gcc/10 -L/usr/local/Cellar/gcc/10.2.0/lib/gcc/10 -lpetsc -lcmumps -ldmumps -lsmumps -lzmumps -lmumps_common -lpord -lscalapack -llapack -lblas -lptesmumps -lptscotchparmetis -lptscotch -lptscotcherr -lesmumps -lscotch -lscotcherr -lX11 -lparmetis -lmetis -lc++ -ldl -lmpifort -lmpi -lpmpi -lgfortran -lquadmath -lm -lc++ -ldl -o ex5f
ld: warning: dylib (/Users/luochengyi/Downloads/petsc/arch-darwin-c-debug/lib/libpetsc.dylib) was built for newer macOS version (11.0) than being linked (10.16)
ld: warning: dylib (/Users/luochengyi/Downloads/petsc/arch-darwin-c-debug/lib/libparmetis.dylib) was built for newer macOS version (11.0) than being linked (10.16)
ld: warning: dylib (/Users/luochengyi/Downloads/petsc/arch-darwin-c-debug/lib/libmetis.dylib) was built for newer macOS version (11.0) than being linked (10.16)
Fortran example src/snes/tutorials/ex5f run successfully with 1 MPI process
Completed test examples”

Does it mean the installation of MUMPS is not complete? What I should do next?

Thanks a lot!

Best,
Chenyi

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20201209/afa3a5db/attachment.html>


More information about the petsc-users mailing list