GEM 4.8.LTS usage : Différence entre versions

Un article de Informaticiens département des sciences de la Terre et l'atmosphère
Aller à: navigation, charcher
m (how to access the software)
m
 
(5 révisions intermédiaires par le même utilisateur non affichées)
Ligne 1: Ligne 1:
== GEM 4.8.LTS ==
+
== GEM 4.8.LTS ===== how to get access to the software ===
  
=== how to access the software ===
+
  . s.ssmuse.dot GEM/x/4.8.lts12    #  publicly available version,as released by Environment Canada
 
 
  . s.ssmuse.dot GEM/x/4.8.lts12    #  as released by Environment Canada
 
 
   
 
   
 
  . s.ssmuse.dot GEM/x/4.8.lts12.u  #  UQAM version, also includes sps
 
  . s.ssmuse.dot GEM/x/4.8.lts12.u  #  UQAM version, also includes sps
 
   
 
   
 
  NOTE: environment variable '''storage_model''' MUST be defined and point to usable disk storage
 
  NOTE: environment variable '''storage_model''' MUST be defined and point to usable disk storage
 +
this should work on guillimin as well as on systems at UQAM (servers and workstations)
  
 
=== how to create a 'vanilla' model executable ===
 
=== how to create a 'vanilla' model executable ===
Ligne 26: Ligne 25:
 
  make dep
 
  make dep
 
  # add my own code  
 
  # add my own code  
 +
vi blah_blah.F90
 +
# get a source file from the GEM installation
 +
rde co rdrstrt.F90
 
  make dep
 
  make dep
 
  make obj
 
  make obj
Ligne 41: Ligne 43:
 
  make obj
 
  make obj
 
  make gemdm
 
  make gemdm
 +
 +
=== how to run one of the demo configurations ===
 +
 +
mkdir my_directory
 +
cd my_directory
 +
get_gem_demo_configs -f  # get available set names
 +
get_gem_demo_configs  THE_SET_DESIRED
 +
# tune GEM_ptopo=
 +
# point GEM_xfer= to an existent location
 +
# to run interactively
 +
Um_lance . -BACKEND_nosubmit 2>&1 | tee listings_S.txt
 +
./*_M  2>&1 | tee listings_M.txt
 +
# these runs are usually very short
 +
# to run in batch
 +
Um_lance
 +
# and find the listings in the usual places
 +
 +
=== environment and make variables ===

Version actuelle datée du 20 d'août 2019 à 17:37

GEM 4.8.LTS ===== how to get access to the software =

. s.ssmuse.dot GEM/x/4.8.lts12     #  publicly available version,as released by Environment Canada

. s.ssmuse.dot GEM/x/4.8.lts12.u   #  UQAM version, also includes sps

NOTE: environment variable storage_model MUST be defined and point to usable disk storage
this should work on guillimin as well as on systems at UQAM (servers and workstations)

how to create a 'vanilla' model executable

mkdir my_directory
cd my_directory
ouv_exp_gem
rdemklink
make dep
make gemdm

how to create a modified model executable

mkdir my_directory
cd my_directory
ouv_exp_gem
rdemklink
make dep
# add my own code 
vi blah_blah.F90
# get a source file from the GEM installation
rde co rdrstrt.F90
make dep
make obj
make gemdm

how to create a 'coupled with nemo' model executable

mkdir my_directory
cd my_directory
ouv_exp_gem
rdemklink
make dep
get_gem_nemo_cpl.sh
make dep
make obj
make gemdm

how to run one of the demo configurations

mkdir my_directory
cd my_directory
get_gem_demo_configs -f   # get available set names
get_gem_demo_configs  THE_SET_DESIRED
# tune GEM_ptopo=
# point GEM_xfer= to an existent location
# to run interactively
Um_lance . -BACKEND_nosubmit 2>&1 | tee listings_S.txt
./*_M  2>&1 | tee listings_M.txt
# these runs are usually very short
# to run in batch
Um_lance
# and find the listings in the usual places

environment and make variables