New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
install_dir.sh in branches/2015/dev_r5092_CNRS_SETTE/NEMOGCM/TRUST – NEMO

source: branches/2015/dev_r5092_CNRS_SETTE/NEMOGCM/TRUST/install_dir.sh @ 5672

Last change on this file since 5672 was 5672, checked in by nicolasmartin, 9 years ago

dev_r5092_CNRS_SETTE Trusting functions: bugfix & rebuild all restart files

  • Property svn:executable set to *
File size: 752 bytes
Line 
1#!/bin/bash
2
3#settings
4/ccc/work/cont003/gen7451/martin/NEMO/
5NEMO_BRAN=branches/2015/nemo_v3_6_STABLE
6
7X64_CURIE_cron
8
9cd /ccc/work/cont003/gen7451/martin/NEMO
10mkdir -p ${}/NEMOGCM
11
12for elmt in 'ARCH' 'CONFIG' 'NEMO' 'EXTERNAL/IOIPSL' 'EXTERNAL/fcm' 'TOOLS' 'TRUST'; do
13    svn_bran=${NEMO_BRAN}; rev=''
14    [ "$elmt" == 'TRUST' ] && svn_bran='branches/2015/dev_r5092_CNRS_SETTE' && rev='-r 5671'
15    svn co $rev http://forge.ipsl.jussieu.fr/nemo/svn/${svn_bran}/NEMOGCM/$elmt ${}/NEMOGCM/$elmt
16
17done
18
19cd NEMOGCM/TOOLS
20
21for elmt in $( ls * ); do
22    if [ ! $( echo $elmt | grep "COMPILE\|maketools\|REBUILD_NEMO" ) ]; then
23   echo $elmt && rm -rf $elmt > /dev/null
24    fi
25done
26
27if [ find ../ARCH -name  ]
28./maketools -m ${} -n REBUILD_NEMO > /dev/null
29
Note: See TracBrowser for help on using the repository browser.