Problem when compiling SCALAPACK

Thank you!
Now it shows this message:

> ====================================
Install complete.

Now to check if the libraries are working do (in current directory):

make PETSC_DIR=/Users/nabilachour/FreeFem-install/ff-petsc/c PETSC_ARCH="" check

====================================

/usr/bin/make --no-print-directory -f makefile PETSC_ARCH=fc PETSC_DIR=/Users/nabilachour/FF++/FreeFem-sources/3rdparty/ff-petsc/petsc-6f7728a9761c25b7b2c7be97feaf14de71316cbd mpi4py-install petsc4py-install libmesh-install mfem-install slepc-install hpddm-install amrex-install bamg-install

make[4]: Nothing to be done for `mpi4py-install'.

make[4]: Nothing to be done for `petsc4py-install'.

make[4]: Nothing to be done for `libmesh-install'.

make[4]: Nothing to be done for `mfem-install'.

*** Building SLEPc ***

*** Installing SLEPc ***

*** Building and installing HPDDM ***

make[4]: Nothing to be done for `amrex-install'.

make[4]: Nothing to be done for `bamg-install'.

test -x "`type -p otool`" && make changec

diri=/Users/nabilachour/FreeFem-install/ff-petsc/c/lib ; \

libpp=$diri/libslepc.3.13.3.dylib ; \

opblibpp=`otool -L $libpp | awk '/3rdparty/ {print $1}'` ; \

npblibpp=$diri/`basename $opblibpp` ; \

echo -- $opblibpp ; \

echo -- $npblibpp ; \

test -n "$opblibpp" && install_name_tool -change $opblibpp $npblibpp $libpp ; \

otool -L $libpp | awk '/libpetsc/ {print "**",$1}'

/Library/Developer/CommandLineTools/usr/bin/objdump: **error:** '/Users/nabilachour/FreeFem-install/ff-petsc/c/lib/libslepc.3.13.3.dylib': No such file or directory

usage: basename string [suffix]

basename [-a] [-s suffix] string [...]

--

-- /Users/nabilachour/FreeFem-install/ff-petsc/c/lib/

/Library/Developer/CommandLineTools/usr/bin/objdump: **error:** '/Users/nabilachour/FreeFem-install/ff-petsc/c/lib/libslepc.3.13.3.dylib': No such file or directory

test -e /Users/nabilachour/FreeFem-install/ff-petsc/c/include/petsc.h

touch petsc-6f7728a9761c25b7b2c7be97feaf14de71316cbd/tag-install-complex

test -e /Users/nabilachour/FreeFem-install/ff-petsc/c/include/petsc.h

mkdir ../lib

mkdir: ../lib: File exists

make[1]: [../lib/WHERE.PETSc-complex] Error 1 (ignored)

echo 'petsccomplex LD -Wl,-rpath,"/Users/nabilachour/FreeFem-install/ff-petsc/c/lib" -L"/Users/nabilachour/FreeFem-install/ff-petsc/c/lib" -lpetsc' > ../lib/WHERE.PETSc-complex

echo 'petsccomplex INCLUDE -I"/Users/nabilachour/FreeFem-install/ff-petsc/c/include"' >> ../lib/WHERE.PETSc-complex

echo done ../lib/WHERE.PETSc-complex

done ../lib/WHERE.PETSc-complex

test -e /Users/nabilachour/FreeFem-install/ff-petsc/c/include/slepc.h

mkdir ../lib

mkdir: ../lib: File exists

make[1]: [../lib/WHERE.SLEPc-complex] Error 1 (ignored)

echo 'slepccomplex LD -Wl,-rpath,"/Users/nabilachour/FreeFem-install/ff-petsc/c/lib" -L"/Users/nabilachour/FreeFem-install/ff-petsc/c/lib" -lslepc' > ../lib/WHERE.SLEPc-complex

echo 'slepccomplex INCLUDE -I"/Users/nabilachour/FreeFem-install/ff-petsc/c/include"' >> ../lib/WHERE.SLEPc-complex

echo done ../lib/WHERE.SLEPc-complex

done ../lib/WHERE.SLEPc-complex

echo >WHERE-all

test -z '-Wl,-rpath,/Users/nabilachour/FreeFem-install/ff-petsc/r/lib -L/Users/nabilachour/FreeFem-install/ff-petsc/r/lib -lscalapack' || echo scalapack LD -Wl,-rpath,/Users/nabilachour/FreeFem-install/ff-petsc/r/lib -L/Users/nabilachour/FreeFem-install/ff-petsc/r/lib -lscalapack >>WHERE-all

test -z '' || echo scalapack INCLUDE -I >>WHERE-all

test -z '-Wl,-rpath,/Users/nabilachour/FreeFem-install/ff-petsc/r/lib -L/Users/nabilachour/FreeFem-install/ff-petsc/r/lib -lmetis' || echo metis LD -Wl,-rpath,/Users/nabilachour/FreeFem-install/ff-petsc/r/lib -L/Users/nabilachour/FreeFem-install/ff-petsc/r/lib -lmetis >>WHERE-all

test -z '/Users/nabilachour/FreeFem-install/ff-petsc/r/include' || echo metis INCLUDE -I/Users/nabilachour/FreeFem-install/ff-petsc/r/include >>WHERE-all

test -z '-Wl,-rpath,/Users/nabilachour/FreeFem-install/ff-petsc/r/lib -L/Users/nabilachour/FreeFem-install/ff-petsc/r/lib -lcmumps -ldmumps -lsmumps -lzmumps -lmumps_common -lpord' || echo mumps LD -Wl,-rpath,/Users/nabilachour/FreeFem-install/ff-petsc/r/lib -L/Users/nabilachour/FreeFem-install/ff-petsc/r/lib -lcmumps -ldmumps -lsmumps -lzmumps -lmumps_common -lpord >>WHERE-all

test -z '/Users/nabilachour/FreeFem-install/ff-petsc/r/include' || echo mumps INCLUDE -I/Users/nabilachour/FreeFem-install/ff-petsc/r/include >>WHERE-all

test -z '-Wl,-rpath,/Users/nabilachour/FreeFem-install/ff-petsc/r/lib -L/Users/nabilachour/FreeFem-install/ff-petsc/r/lib -lsuperlu' || echo superlu LD -Wl,-rpath,/Users/nabilachour/FreeFem-install/ff-petsc/r/lib -L/Users/nabilachour/FreeFem-install/ff-petsc/r/lib -lsuperlu >>WHERE-all

test -z '/Users/nabilachour/FreeFem-install/ff-petsc/r/include' || echo superlu INCLUDE -I/Users/nabilachour/FreeFem-install/ff-petsc/r/include >>WHERE-all

test -z '-Wl,-rpath,/Users/nabilachour/FreeFem-install/ff-petsc/r/lib -L/Users/nabilachour/FreeFem-install/ff-petsc/r/lib -lptesmumps -lptscotchparmetis -lptscotch -lptscotcherr -lesmumps -lscotch -lscotcherr' || echo ptscotch LD -Wl,-rpath,/Users/nabilachour/FreeFem-install/ff-petsc/r/lib -L/Users/nabilachour/FreeFem-install/ff-petsc/r/lib -lptesmumps -lptscotchparmetis -lptscotch -lptscotcherr -lesmumps -lscotch -lscotcherr >>WHERE-all

test -z '/Users/nabilachour/FreeFem-install/ff-petsc/r/include' || echo ptscotch INCLUDE -I/Users/nabilachour/FreeFem-install/ff-petsc/r/include >>WHERE-all

test -z '-Wl,-rpath,/Users/nabilachour/FreeFem-install/ff-petsc/r/lib -L/Users/nabilachour/FreeFem-install/ff-petsc/r/lib -ltet' || echo tetgen LD -Wl,-rpath,/Users/nabilachour/FreeFem-install/ff-petsc/r/lib -L/Users/nabilachour/FreeFem-install/ff-petsc/r/lib -ltet >>WHERE-all

test -z '/Users/nabilachour/FreeFem-install/ff-petsc/r/include' || echo tetgen INCLUDE -I/Users/nabilachour/FreeFem-install/ff-petsc/r/include >>WHERE-all

test -z '-Wl,-rpath,/Users/nabilachour/FreeFem-install/ff-petsc/r/lib -L/Users/nabilachour/FreeFem-install/ff-petsc/r/lib -lparmetis' || echo parmetis LD -Wl,-rpath,/Users/nabilachour/FreeFem-install/ff-petsc/r/lib -L/Users/nabilachour/FreeFem-install/ff-petsc/r/lib -lparmetis >>WHERE-all

test -z '/Users/nabilachour/FreeFem-install/ff-petsc/r/include' || echo parmetis INCLUDE -I/Users/nabilachour/FreeFem-install/ff-petsc/r/include >>WHERE-all

test -z '' || echo hpddm LD >>WHERE-all

test -z '/Users/nabilachour/FreeFem-install/ff-petsc/r/include' || echo hpddm INCLUDE -I/Users/nabilachour/FreeFem-install/ff-petsc/r/include >>WHERE-all

echo 'petsc LD -Wl,-rpath,"/Users/nabilachour/FreeFem-install/ff-petsc/r/lib" -L"/Users/nabilachour/FreeFem-install/ff-petsc/r/lib" -lpetsc' >>WHERE-all

echo 'petsc INCLUDE -I"/Users/nabilachour/FreeFem-install/ff-petsc/r/include"' >>WHERE-all

echo 'petsccomplex LD -Wl,-rpath,"/Users/nabilachour/FreeFem-install/ff-petsc/c/lib" -L"/Users/nabilachour/FreeFem-install/ff-petsc/c/lib" -lpetsc' >>WHERE-all

echo 'petsccomplex INCLUDE -I"/Users/nabilachour/FreeFem-install/ff-petsc/c/include"' >> WHERE-all

echo 'slepc LD -Wl,-rpath,"/Users/nabilachour/FreeFem-install/ff-petsc/r/lib" -L"/Users/nabilachour/FreeFem-install/ff-petsc/r/lib" -lslepc' >>WHERE-all

echo 'slepc INCLUDE -I"/Users/nabilachour/FreeFem-install/ff-petsc/r/include"' >>WHERE-all

echo 'slepccomplex LD -Wl,-rpath,"/Users/nabilachour/FreeFem-install/ff-petsc/c/lib" -L"/Users/nabilachour/FreeFem-install/ff-petsc/c/lib" -lslepc' >>WHERE-all

echo 'slepccomplex INCLUDE -I"/Users/nabilachour/FreeFem-install/ff-petsc/c/include"' >>WHERE-all

nabilachour@MacBook-Pro-de-Nabil ff-petsc %