59 | | #!sh |
60 | | ./configure \ |
61 | | --prefix=$ISSM_DIR \ |
62 | | --enable-standalone-libraries \ |
63 | | --with-wrappers=no \ |
64 | | --with-m1qn3-dir=$ISSM_DIR/externalpackages/m1qn3/install \ |
65 | | --with-metis-dir=$ISSM_DIR/externalpackages/petsc/install \ |
66 | | --with-petsc-dir=$ISSM_DIR/externalpackages/petsc/install \ |
67 | | --with-scalapack-lib="-L/nasa/intel/Compiler/2018.3.222/compilers_and_libraries_2018.3.222/linux/mkl/lib/intel64/libmkl_scalapack_lp64.so" \ |
68 | | --with-mpi-include=" " \ |
69 | | --with-mpi-libflags=" -lmpi" \ |
70 | | --with-mkl-libflags="-L/nasa/intel/Compiler/2018.3.222/compilers_and_libraries_2018.3.222/linux/mkl/lib/intel64 -lmkl_intel_lp64 -lmkl_sequential -lmkl_core -lpthread -lm" \ |
71 | | --with-mumps-dir=$ISSM_DIR/externalpackages/petsc/install \ |
72 | | --with-fortran-lib="-L/nasa/intel/Compiler/2018.3.222/compilers_and_libraries_2018.3.222/linux/compiler/lib/intel64_lin/ -lifcore -lifport -lgfortran" \ |
73 | | --with-cxxoptflags="-O3 " \ |
74 | | --with-vendor="intel-pleiades-mpi" \ |
75 | | --enable-development |
| 59 | export CXXFLAGS="-g -Ofast" |
| 60 | export CFLAGS="-g -Ofast" |
| 61 | ./configure \ |
| 62 | --prefix=$ISSM_DIR \ |
| 63 | --with-wrappers=yes \ |
| 64 | --with-matlab-dir="/nasa/matlab/2022b/" \ |
| 65 | --with-mpi-include="-I${MPI_ROOT}/include " \ |
| 66 | --with-mpi-libflags="-L${MPI_ROOT}/lib -lmpi" \ |
| 67 | --with-petsc-dir=${PETSC_DIR} \ |
| 68 | --with-parmetis-dir=${PETSC_DIR} \ |
| 69 | --with-metis-dir=${PETSC_DIR} \ |
| 70 | --with-mumps-dir=${PETSC_DIR} \ |
| 71 | --with-mkl-libflags="-L${MKLROOT}/lib/intel64 -lmkl_intel_lp64 -lmkl_sequential -lmkl_core -lpthread -lm" \ |
| 72 | --with-m1qn3-dir="${ISSM_DIR}/externalpackages/m1qn3/install" \ |
| 73 | --with-fortran-lib="-L${MKLROOT}/../compiler/lib/intel64_lin -lifcore -lifport -lgfortran" \ |
| 74 | --with-cxxoptflags="-g -Ofast -axCORE-AVX2,AVX -xSSE4.2" \ |
| 75 | --enable-development |