Changeset 5465


Ignore:
Timestamp:
Jan 3, 2025, 6:14:41 PM (2 days ago)
Author:
fhourdin
Message:

For sequential and debug compilation

Location:
BOL/LMDZ_Setup
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • BOL/LMDZ_Setup/README0_HowTo

    r5429 r5465  
    112112
    113113============================================================
    114 III. Repatriation of input data
     114III. Downloading input data
    115115============================================================
    116116
    117117Installation requires downloading data from
    118118from http://http://lmdz.lmd.jussieu.fr/pub/3DInputData
    119 Repatriation is managed by a series of functions found in
     119Downloading is managed by a series of functions found in
    120120lmdz_env.sh: wget_pub cp_from_pub ln_from_pub get_input_files
    121121
    122 In my opinion, LMDZ_Setup's approach to data management is to be able to perform a complete
    123 installation on any account on any machine, by distributing data from wget http://lmdz....
    124 In the new version, you don't duplicate any of the fields you download, and you only download them once to an account.
     122One specificity of LMDZ_Setup is to enable installation on any account on any machine,
     123downloading data from wget.
     124All data are gathered on a directory $LMDZpub so that the
     125downloading is done once for all for a given account.
     126LMDZsub can be changed on in lmdz_env.sh
     127
    125128This is very small compared to the amount of data generated.
    126129So I think we're very parsimonious in our use of IT resources.
    127 Of course, this has to do with the fact that we don't manage a lot of different configurations in terms of boundary conditions, forcing, etc.
    128 But that's where libiGCM comes in.
     130The counterpart is that LMDZ_Setup doesn't manage a lot of different configurations
     131in terms of boundary conditions, forcing, etc.
     132libiGCM installations should be privileged then.
    129133
    130134
     
    134138
    135139Running zoomed or coarse grid simulations
    136     May cause problems with routing and aerosols
    137     Suggesting to run without aerosols, aerosols="n", in this case
     140May cause problems with routing and aerosols
     141Suggesting to run without aerosols, aerosols="n", in this case
    138142
    139143
     
    142146============================================================
    143147
    144 2024-12 (FH) : retravail de l'accès au données sur http://lmdz...
    145 
    146 2024-11 : Travail de portage multi-machine par Amaury Barral.
     1482025-01 (FH) : retravail de l'accès au données sur http://lmdz...
     149        reactivation options sequential/debug.
     150        Configuration SPLA muti machines
     151
     1522024-11 (AB) : Travail de portage multi-machine par Amaury Barral.
    147153          Précédemment sur jean-zay uniquement.
    148154          Porté sur adastra et machines locales.
  • BOL/LMDZ_Setup/main.sh

    r5441 r5465  
    7878veget=CMIP6    # Orchidee version : CMIP6 / 7983 (orch2.2 ) / more recent svn
    7979
     80# For rapid tests
     81# resol=32x32x39 ; veget=none ; aerosols=n ; rad=oldrad ; freq=mo ; mthend=200101
    8082
    8183#-----------------------------------------------------------
  • BOL/LMDZ_Setup/script_SIMU

    r5438 r5465  
    300300
    301301#@ADS if 1; then
    302 time $MPICMD $ntasks ./gcm.e > listing
     302if [ "$MPICMD" = "" ] ; then mpicmd= ; else mpicmd="$MPICMD $ntasks" ; fi
     303time $mpicmd ./gcm.e > listing
    303304#@ADS else
    304305#@ADS srun --cpu-bind=none --mem-bind=none -- ./slurm_set_cpu_binding.sh ./gcm.e > listing
  • BOL/LMDZ_Setup/setup.sh

    r5464 r5465  
    260260  if [[ -n $svn ]]; then svnopt="-r $svn"; else svnopt=""; fi
    261261
     262  if [[ $PARALLEL == 0 ]] ; then parallel= ; parsuf=seq ; else parallel="-parallel mpi_omp" ; parsuf= ; fi
    262263  version_name=LMDZ$(echo "$version" | sed -e 's/-v//g' -e 's/-unstable//' -e 's/-r/r/' -e 's/ //g')
    263   LMDZname="${version_name}${svn}OR$veget${ins_xios}"
     264  LMDZname="${version_name}${svn}OR$veget${ins_xios}${parsuf}$( echo $optim | sed -e 's/[\ -]//g' )"
    264265  MODEL="$LMDZD/$LMDZname/modipsl/modeles/LMDZ"
    265266
     
    276277     jobcmd="bash"
    277278  fi
    278   if [[ $PARALLEL == 0 ]] ; then parallel= ; else parallel="-parallel mpi_omp" ; fi
    279279  echo "./install_lmdz.sh -noclean $optim -v $version $svnopt -d $resol -rad $rad -bench 0 $parallel $ins_cosp $ins_xios $ins_aero $ins_inlandsis -name $LMDZname -veget $veget -netcdf $netcdf -arch $ARCH -make_j $make_j -jobcmd $jobcmd" >> install_lmdz_options.$$.sh
    280280  chmod +x install_lmdz_options.$$.sh
     
    644644
    645645    # Creation du script d'initialisation
     646  if [ "$MPICMD" = "" ] ; then mpicmd='' ; else mpicmd='OMP_NUM_THREADS=1 '"$MPICMD"' 1' ; fi
    646647    cat << ...eod >| tmp
    647648#!/bin/bash
     
    694695  echo Starting initialisation
    695696  # Runing ce0l.e
    696   OMP_NUM_THREADS=1 $MPICMD 1 $ce0l  # ce0l requires MPI=OMP=1
     697  $mpicmd $ce0l  # ce0l requires MPI=OMP=1
    697698  if [ $climato = 0 ]; then mv limit.nc limit.\$yr.nc; fi
    698699done
Note: See TracChangeset for help on using the changeset viewer.