#!/bin/bash # # $Id: setroppenv 6490 2020-09-10 17:36:27Z idculv $ # #****s* Scripts/setroppenv * #------------------------------------------------------------------------------ # SYNOPSIS # setroppenv - set up environment for ROPP # # USAGE # > . setroppenv # # DESCRIPTION # Sets up environment variables used in ROPP development # building, testing and distro package generation, etc. # # Tip 1: Edit this file to suit local/personal use and save # e.g. to ~/.setroppenv and source it from your .profile. # The shared paths should not be changed. (These emendations # may include substituting export commands by setenv commands # if running in a C-shell or T C-shell.) # # Tip 2: the target root directories of any of these # paths could actually be softlinks to somewhere else. # For instance my ROPP_TST translation is to a softlink # to the real location on my LOCALDATA disk, as the # data volume for this componenet is large - so best kept # off HOME - but it's useful to have the (softlink) directory # under the HOME/ropp tree alongside the other components. # # AUTHOR # Dave Offiler #------------------------------------------------------------------------------ #**** # # Short-cuts to ROPP main package root directories # for local SVN working copies # Edit to suit personal and/or platform preferences # export ROPP_HOME=$DATADIR/ropp ###(Linux Desktop) # export ROPP_DEV=$ROPP_HOME/ropp_src/devel export ROPP_DOC=$ROPP_HOME/ropp_doc/trunk export ROPP_SRC=$ROPP_HOME/ropp_src/trunk export ROPP_TST=$ROPP_HOME/ropp_test/trunk # # Short-cuts to ROPP shared locations # Don't alter these without concensus agreement! # Default set for MetO Linux: may need changing # to suit e.g. PC/Cygwin, IBM or non-MetO # ROPP development platforms. # export ROPP_ROOT=$ROPP_HOME ###(Linux Desktop) # export ROPP_ARC=$ROPP_ROOT/archive export ROPP_DIS=$ROPP_ROOT/distro export ROPP_HTM=$ROPP_ROOT/public_html # # Short-cuts to shared compiler builds # (optional, to save typing) # export ROPP_G95=$ROPP_ROOT/g95 export ROPP_GFO=$ROPP_ROOT/gfortran export ROPP_IFO=$ROPP_ROOT/ifort export ROPP_I12=$ROPP_ROOT/ifort12 export ROPP_I17=$ROPP_ROOT/ifort17 export ROPP_NAG=$ROPP_ROOT/nag export ROPP_NFOR=$ROPP_ROOT/nagfor export ROPP_NF52=$ROPP_ROOT/nagfor52 export ROPP_NF61=$ROPP_ROOT/nagfor61 export ROPP_P15=$ROPP_ROOT/pgf15 export ROPP_P95=$ROPP_ROOT/pgf95 export ROPP_SUN=$ROPP_ROOT/sunf95 # # Allow ecCodes to to automatically write missing data values # to BUFR files. (Not needed for those using the eum/ropp2bufr_eccodes # programs, so not set by default.) # #export ECCODES_BUFR_SET_TO_MISSING_IF_OUT_OF_RANGE=1 # # Suppress numerous "Remaining memory" run time messages when running g95. # export G95_MEM_SEGMENTS=0