Changes between Version 1 and Version 2 of babylon


Ignore:
Timestamp:
08/24/21 08:15:15 (3 years ago)
Author:
seroussi
Comment:

Added petsc specification

Legend:

Unmodified
Added
Removed
Modified
  • babylon

    v1 v2  
    4747Babylon has both Intel and GNU compilers. Installation should be done with the Intel compilers. You can follow the instructions on the website [http://issm.jpl.nasa.gov/download/unix/]. Choose Petsc v3.15 or later. You should not need Python.
    4848
     49Petsc uses GNU compilers by default, so you need to specify to use the Intel compilers. Make sure this is specified in the installation file:
     50
     51{{{
     52# Configure
     53cd ${PETSC_DIR}
     54./config/configure.py \
     55   --with-cc=icc --with-cxx=icpc --with-fc=ifort \
     56   --prefix="${PREFIX}" \
     57   --PETSC_DIR="${PETSC_DIR}" \
     58   --with-debugging=0 \
     59   --with-valgrind=0 \
     60   --with-x=0 \
     61   --with-ssl=0 \
     62   --with-pic=1 \
     63   --download-fblaslapack=1 \
     64   --download-mpich=1 \
     65   --download-metis=1 \
     66   --download-parmetis=1 \
     67   --download-scalapack=1 \
     68   --download-mumps=1 \
     69   --download-zlib=1 \
     70   --download-hdf5=1
     71}}}
     72
    4973Use the following configuration script (adapt to your needs):
    5074
     
    6993   --enable-development
    7094}}}
    71