Hi,
when I do ./configure , I don't get any error msg,
then when I make, I get these errors:
./classes/IoModel.cpp: In member function 'void IoModel:(IssmDouble**, int*, int*, const char*)':
./classes/IoModel.cpp: error: 'uint8_t' was not declared in this scope
./classes/IoModel.cpp: error: 'rawmatrix' was not declared in this scope
./classes/IoModel.cpp: error: 'uint8_t' cannot appear in a constant-expression
./classes/IoModel.cpp: error: no matching function for call to 'xNew(int)'
./classes/IoModel.cpp: error: 'uint8_t' cannot appear in a constant-expression
So, I tried to do make with these configuration settings:
./configure \
--prefix=$ISSM_DIR \
--with-matlab-dir="$ISSM_DIR/externalpackages/matlab/install" \
--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=24
Then, make gives two types of Warnings,
*** Warning: Linking the shared library libISSMCore.la against the
*** static library /home/shkim/software/issm/trunk/externalpackages/m1qn3/install/libm1qn3.a is not portable!
*** Warning: Linking the shared library libISSMCore.la against the
*** static library /home/shkim/software/issm/trunk/externalpackages/m1qn3/install//libddot.a is not portable!
*** Warning: Linking the shared library libISSMModules.la against the
*** static library /home/shkim/software/issm/trunk/externalpackages/triangle/install/triangle.a is not portable!
*** Warning: Linking the shared library M1qn3_matlab.la against the
*** static library /home/shkim/software/issm/trunk/externalpackages/m1qn3/install/libm1qn3.a is not portable!
*** Warning: Linking the shared library M1qn3_matlab.la against the
*** static library /home/shkim/software/issm/trunk/externalpackages/m1qn3/install//libddot.a is not portable!
*** Warning: Linking the shared library TriMesh_matlab.la against the
*** static library /home/shkim/software/issm/trunk/externalpackages/triangle/install/triangle.a is not portable!
and
libtool: link: warning: '/home/shkim/software/issm/trunk/externalpackages/mpich/install/lib//libmpich.la' seems to be moved