zrashed First, let's make sure we're using this, to eliminate as many variables as possible,
--with-fortran-lib="-L/usr/lib/x86_64-linux-gnu/libgfortran.so.4
because the paths in the configuration and Makefile are different. Also, just to be clear, you are not manually generating a Makefile, right (it's being generated automatically by running configure
)? You can check that indeed the MPICH libraries exist with ls $ISSM_DIR/externalpackages/petsc/install/lib/libmpi*
. If they are not there, then I would suggest running $ISSM_DIR/externalpackages/petsc; rm -rf ./install; ./install-3.12-linux.sh
, reconfiguring, and recompiling.