kimyoungjin06
Hi, there is a lot here, so I will try to get to everything.
Q1
That is indeed very strange. In particular, I have never seen a message like this one,
libtool: warning: library '/home/testuser/issm/trunk/externalpackages/mpich/install/lib//libmpi.la' was moved.
specifically, the part where it says the library was moved. The only advice I could give in this case is to try to,
rm -rf $ISSM_DIR/externalpackages/mpich/install
and try reinstalling. But it is probably better to just skip to Q2.
Q2
There should be no need to reinstall the other external packages. From our nightly build that has Dakota, what you will need the following external packages (installed in this order),
autotools install.sh
cmake install.sh
mpich install-3.2-linux64.sh
petsc install-3.7-linux64.sh
triangle install-linux64.sh
boost install-1.55-linux.sh
dakota install-6.2-linux64.sh
chaco install.sh
m1qn3 install.sh
shell2junit install.sh
NOTE: I think you are already aware of this, but be sure to source $ISSM_DIR/etc/environment.sh
after installing each package.
Then, run configure
with the following options,
--prefix=$ISSM_DIR \
--disable-static \
--with-matlab-dir="/usr/local/MATLAB/R2019a" \
--with-mpi-include="$ISSM_DIR/externalpackages/mpich/install/include" \
--with-mpi-libflags="-L$ISSM_DIR/externalpackages/mpich/install/lib -lmpi -lmpicxx -lmpifort" \
--with-fortran-lib="-L/usr/lib/gcc/x86_64-linux-gnu/4.9 -lgfortran" \
--with-cxxoptflags="-std=c++11" \
--with-petsc-dir="$ISSM_DIR/externalpackages/petsc/install" \
--with-metis-dir="$ISSM_DIR/externalpackages/petsc/install" \
--with-blas-lapack-dir="$ISSM_DIR/externalpackages/petsc/install" \
--with-scalapack-dir="$ISSM_DIR/externalpackages/petsc/install" \
--with-mumps-dir="$ISSM_DIR/externalpackages/petsc/install" \
--with-triangle-dir="$ISSM_DIR/externalpackages/triangle/install" \
--with-boost-dir="$ISSM_DIR/externalpackages/boost/install" \
--with-dakota-dir="$ISSM_DIR/externalpackages/dakota/install" \
--with-chaco-dir="$ISSM_DIR/externalpackages/chaco/install" \
--with-m1qn3-dir="$ISSM_DIR/externalpackages/m1qn3/install" \
--with-numthreads=2
NOTE: You may need to modify the path to libgfortran.
That should work, but let me knw if you run into any other issues.