| 73 | If you want to use frontera to process the model after running it and keep the data on frontera, you can install ISSM with Matlab interface. Before doing the following steps, you should check with TACC to make sure you have the access to Matlab on frontera, see: https://docs.tacc.utexas.edu/software/matlab/ |
| 74 | |
| 75 | |
| 76 | You can check out ISSM and install the following packages: |
| 77 | - triangle |
| 78 | - m1qn3 |
| 79 | |
| 80 | You will need to use interactive mode to compile ISSM with Matlab: https://docs.tacc.utexas.edu/software/idev/ |
| 81 | |
| 82 | |
| 83 | Use the following configuration script (adapt to your needs): |
| 84 | |
| 85 | {{{ |
| 86 | #!sh |
| 87 | ./configure \ |
| 88 | --prefix=$ISSM_DIR \ |
| 89 | --with-matlab-dir="/home1/apps/matlab/2023a/" \ |
| 90 | --with-triangle-dir=$ISSM_DIR/externalpackages/triangle/install \ |
| 91 | --with-mpi-include="$TACC_IMPI_INC" \ |
| 92 | --with-mpi-libflags="-L$TACC_IMPI_LIB/release_mt -lmpi" \ |
| 93 | --with-petsc-dir="$TACC_PETSC_DIR" \ |
| 94 | --with-petsc-arch=$ISSM_ARCH \ |
| 95 | --with-metis-dir="$TACC_PETSC_DIR/$PETSC_ARCH" \ |
| 96 | --with-mkl-libflags="-L$TACC_MKL_LIB -mkl=parallel" \ |
| 97 | --with-mumps-dir="$TACC_PETSC_DIR/$PETSC_ARCH" \ |
| 98 | --with-scalapack-dir="$TACC_PETSC_DIR/$PETSC_ARCH" \ |
| 99 | --with-m1qn3-dir="$ISSM_DIR/externalpackages/m1qn3/install" \ |
| 100 | --enable-debugging \ |
| 101 | --enable-development |
| 102 | }}} |
| 103 | |
| 104 | You need to compile ISSM serially with `make install`. |
| 105 | |
| 106 | Remember frontera is a remote cluster, use `matlab -nodesktop -nosplash -r "addpath $ISSM_DIR/src/m/dev; devpath;` when running Matlab. |
| 107 | |
| 108 | Before downloading the `.outbin`, you will need to set |
| 109 | ``` |
| 110 | md.cluster.name = oshostname() |
| 111 | md.miscellaneous.name = the_file_name_of_outbin |
| 112 | ``` |
| 113 | Then, run `md=loadresultsfromcluster(md, 'runtimename', the_folder_name_in_execution)` |