Changes between Version 7 and Version 8 of frontera


Ignore:
Timestamp:
01/19/24 13:11:35 (4 months ago)
Author:
Cheng Gong
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • frontera

    v7 v8  
    6969}}}
    7070
     71== Installing ISSM with Matlab on frontera ==
    7172
     73If 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
     76You can check out ISSM and install the following packages:
     77 - triangle
     78 - m1qn3
     79
     80You will need to use interactive mode to compile ISSM with Matlab: https://docs.tacc.utexas.edu/software/idev/
     81
     82
     83Use 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
     104You need to compile ISSM serially with `make install`.
     105
     106Remember frontera is a remote cluster, use `matlab -nodesktop -nosplash -r "addpath $ISSM_DIR/src/m/dev; devpath;` when running Matlab.
     107
     108Before downloading the `.outbin`, you will need to set
     109```
     110md.cluster.name = oshostname()
     111md.miscellaneous.name = the_file_name_of_outbin
     112```
     113Then, run `md=loadresultsfromcluster(md, 'runtimename', the_folder_name_in_execution)`
    72114== frontera_settings.m ==
    73115