| | 79 | |
| | 80 | == Installing ISSM with CoDiPack (AD) == |
| | 81 | |
| | 82 | You will need to install the following *additional* packages: |
| | 83 | * codipack |
| | 84 | * medipack |
| | 85 | |
| | 86 | Use the following configuration script (adapt to your needs, make sure to NOT include --with-petsc-dir): |
| | 87 | {{{ |
| | 88 | #!sh |
| | 89 | ./configure \ |
| | 90 | CC=gcc CXX=g++ F90=gfortran FC=gfortran CXXFLAGS="-g -O3 -fPIC -std=c++11 -DCODI_ForcedInlines" \ |
| | 91 | --prefix=$ISSM_DIR \ |
| | 92 | --without-kriging \ |
| | 93 | --without-kml \ |
| | 94 | --without-Love \ |
| | 95 | --without-Sealevelchange \ |
| | 96 | --with-matlab-dir="/thayerfs/apps/matlab/" \ |
| | 97 | --with-mpi-include="$ISSM_DIR/externalpackages/petsc/install/include" \ |
| | 98 | --with-mpi-libflags="-L$ISSM_DIR/externalpackages/petsc/install/lib -lmpi -lmpifort" \ |
| | 99 | --with-metis-dir="$ISSM_DIR/externalpackages/petsc/install" \ |
| | 100 | --with-mumps-dir="$ISSM_DIR/externalpackages/petsc/install" \ |
| | 101 | --with-parmetis-dir="${ISSM_DIR}/externalpackages/petsc/install" \ |
| | 102 | --with-blas-lapack-dir="$ISSM_DIR/externalpackages/petsc/install" \ |
| | 103 | --with-scalapack-dir="$ISSM_DIR/externalpackages/petsc/install" \ |
| | 104 | --with-triangle-dir="$ISSM_DIR/externalpackages/triangle/install" \ |
| | 105 | --with-m1qn3-dir="$ISSM_DIR/externalpackages/m1qn3/install" \ |
| | 106 | --with-codipack-dir="$ISSM_DIR/externalpackages/codipack/install" \ |
| | 107 | --with-medipack-dir="$ISSM_DIR/externalpackages/medipack/install" \ |
| | 108 | --with-fortran-lib="-L/usr/lib/x86_64-linux-gnu -lgfortran" \ |
| | 109 | --with-numthreads=32 \ |
| | 110 | --enable-tape-alloc \ |
| | 111 | --enable-development \ |
| | 112 | --enable-debugging |
| | 113 | }}} |