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

Last change on this file since 5545 was 5542, checked in by nicolasmartin, 5 years ago

dev_r5092_CNRS_SETTE Add script to install 'trusting' directory for a branch (checkout requested dirs && compile rebuild_nemo)

  • Property svn:executable set to *
File size: 586 bytes
Line 
1#!/bin/bash
2
3#settings
4/ccc/work/cont003/gen7451/martin/NEMO/
5branches/2015/nemo_v3_6_STABLE
6
7X64_CURIE_trust
8
9cd /ccc/work/cont003/gen7451/martin/NEMO
10mkdir -p ${}/NEMOGCM
11
12for elmt in ARCH CONFIG NEMO EXTERNAL/IOIPSL EXTERNAL/fcm TOOLS ; do
13    svn co http://forge.ipsl.jussieu.fr/nemo/svn/${}/NEMOGCM/$elmt ${}/NEMOGCM/$elmt
14done
15
16cd NEMOGCM/TOOLS
17cp -f ../../../trunk/NEMOGCM/ARCH/CNRS/arch-X64_CURIE_trust.fcm ../ARCH
18./maketools -m ${} -n REBUILD_NEMO > /dev/null
19
20for elmt in $( ls * ); do
21    [ ! $( echo $elmt | grep "COMPILE\|maketools\|REBUILD_NEMO" ) ] && rm -rf $elmt
22done
Note: See TracBrowser for help on using the repository browser.