Changeset 617


Ignore:
Timestamp:
Apr 3, 2026, 2:42:08 PM (6 days ago)
Author:
htune
Message:

small changes in setup.sh : add some patches to be compatible with previous version (to be worked) and add the old belenos env.sh ; Maelle

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/setup.sh

    r616 r617  
    173173eod
    174174    ;;
     175"oldbel") cat > env.sh <<eod
     176# env.sh used for belenos with gcc - to keep track  for a while
     177# I also kept the export path to najda local dir on belenos !!
     178s config uses software R and pdfjam installed by villefranquen
     179# relevant paths are added to PATH and LD_LIBRARY_PATH
     180set +u  # <module load> can trigger -u
     181# module purge tries to unalias condam but the alias does not exist so it raises an error
     182# so I create a false condam alias so that it can be unaliased...
     183alias condam="ls"
     184module purge
     185module load gcc/14.1.0
     186module load openmpi/gnu/4.1.2.1
     187module load python/3.10.12
     188export PATH=/opt/softs/libraries/GCC_5.3.0/cdo-1.7.0/bin/:\$PATH
     189export LD_LIBRARY_PATH=/opt/softs/gcc/14.1.0/lib64/:/opt/softs/anaconda3/envs/Python310/lib:\$LD_LIBRARY_PATH
     190export PATH=/home/cnrm_other/ge/mrmc/villefranquen/.local/bin:\$PATH
     191export LD_LIBRARY_PATH=/home/cnrm_other/ge/mrmc/villefranquen/.local/lib:\$LD_LIBRARY_PATH
     192export MPLBACKEND='Agg'  # non-interactive plots
     193export TAR=/usr/bin/tar  # for R package install
     194eod
     195    ;;
     196
    175197    *) cat > env.sh <<eod
    176198      # No special environment needed on this computer
     
    324346      if [[ $ExeterUQ = "ExeterUQ_MOGP" ]]; then
    325347        # Install additional required packages
     348        if [[ ${hostname:0:6} = "beleno" ]] ; then listprog="install patsy matplotlib netcdf4 pandas seaborn" ; else listprog="install patsy matplotlib netcdf4 pandas=2.3.1 seaborn" ;fi
    326349        pip install patsy matplotlib netcdf4 pandas seaborn
    327350        # Try pypi, otherwise git commit
Note: See TracChangeset for help on using the changeset viewer.