Changeset 3071 for trunk/LMDZ.MARS/util


Ignore:
Timestamp:
Oct 5, 2023, 11:36:46 AM (15 months ago)
Author:
abierjon
Message:

Mars GCM:
Add an example of setup in util/compile to compile utilitary programs on Adastra supercomputer.
Warning: on Adastra, you need to add the netcdf library path to LD_LIBRARY_PATH before running the executable
(export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$NETCDF_DIR/lib)

AB

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.MARS/util/compile

    r2940 r3071  
    4242# COMPILER="gfortran"
    4343# COMPILER_OPTIONS="-O2"
    44 # And of course the LD_LIBRARY_PATH environement variable should contain
     44# And of course the LD_LIBRARY_PATH environment variable should contain
    4545# path "/home/myaccount/netcdf/lib" to be able to run the executable
    4646#
     
    7272# COMPILER="ifort"
    7373# COMPILER_OPTIONS="-O2 -ip"
     74# And of course modules above need be loaded before running the executable
    7475#
    7576# Example of a setup on the Irene-Rome supercomputer
     
    8283# COMPILER="ifort"
    8384# COMPILER_OPTIONS="-O2 -ip"
     85# And of course modules above need be loaded before running the executable
     86#
     87# Example of a setup on the Adastra supercomputer with ifort
     88# module purge
     89# module load PrgEnv-intel/8.4.0
     90# module load cray-hdf5-parallel/1.12.2.1
     91# module load cray-netcdf-hdf5parallel/4.9.0.1
     92# NETCDF_HOME=$NETCDF_DIR
     93# COMPILER="ifort"
     94# COMPILER_OPTIONS="-O2 -ip"
     95# And of course modules above need be loaded before running the executable
     96# + on Adastra, add the netcdf library path to LD_LIBRARY_PATH before running the executable:
     97# export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$NETCDF_DIR/lib
    8498
Note: See TracChangeset for help on using the changeset viewer.