Hello all,
I am trying to compile ISSM on a Ubuntu 16.04 OS. I followed carefully the instructions from the webpage and I set the following configuration:
./configure --prefix=$ISSM_DIR --with-matlab-dir=$MATLAB_DIR --with-triangle-dir="$ISSM_DIR/externalpackages/triangle/install" --with-mpi-include="$ISSM_DIR/externalpackages/mpich/install/include" --with-mpi-libflags="-L$ISSM_DIR/externalpackages/mpich/install/lib -lmpich" --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-m1qn3-dir="$ISSM_DIR/externalpackages/m1qn3/install" --with-numthreads=8
Then in the terminal I used "make" which gave the following errors:
CXXLD libISSMCore.la
*** Warning: Linking the shared library libISSMCore.la against the
*** static library /home/xauen/trunk/externalpackages/m1qn3/install/libm1qn3.a is not portable!
*** Warning: Linking the shared library libISSMCore.la against the
*** static library /home/xauen/trunk/externalpackages/m1qn3/install//libddot.a is not portable!
CXX shared/String/ApiPrintf.lo
CXXLD libISSMOverload.la
CXX modules/KMLMeshWritex/libISSMModules_la-KMLMeshWritex.lo
./modules/KMLMeshWritex/KMLMeshWritex.cpp: In function 'KML_Folder* KMLMeshElem(int*, int, int, int*, int, int, double*, double*, double*, double*, int, int)':
./modules/KMLMeshWritex/KMLMeshWritex.cpp: warning: zero-length gnu_printf format string
sprintf(kplace->descript ,"");
^
CXXLD libISSMModules.la
*** Warning: Linking the shared library libISSMModules.la against the
*** static library /home/xauen/trunk/externalpackages/triangle/install/triangle.a is not portable!
CXX main/issm-issm.o
Obviously, it is not possible to "make install" the program. There was a further problem before the configuration when installing one of the basic external packages casting a problem with "hydra".
I hope you can give me a hint on how to solve this issue when installing ISSM on my computer.
Regards.