[petsc-users] PETSc with MUMPS

Satish Balay balay at mcs.anl.gov
Wed Dec 9 15:26:53 CST 2020


Likely you've recently updated xcode [but have brew from prior install]

Its best to reinstall brew (packages) and retry.

Satish

On Wed, 9 Dec 2020, Mark Adams wrote:

> These just look like warnings. They all look successful.
> 
> But look at the warnings. It looks like you have some old libraries that
> might give you hard to diagnose errors. I would rebuild with the same OS.
> 
> On Wed, Dec 9, 2020 at 4:19 PM Luo Chenyi <cheluo at ethz.ch> wrote:
> 
> > 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
> > <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
> >
> >
> 


More information about the petsc-users mailing list