forked from NOAA-GFDL/SHiELD_build
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CHECKOUT_code
executable file
·48 lines (41 loc) · 1.66 KB
/
CHECKOUT_code
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
#!/bin/sh
#***********************************************************************
#* GNU Lesser General Public License
#*
#* This file is part of the SHiELD Build System.
#*
#* The SHiELD Build System free software: you can redistribute it
#* and/or modify it under the terms of the
#* GNU Lesser General Public License as published by the
#* Free Software Foundation, either version 3 of the License, or
#* (at your option) any later version.
#*
#* The SHiELD Build System distributed in the hope that it will be
#* useful, but WITHOUT ANYWARRANTY; without even the implied warranty
#* of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
#* See the GNU General Public License for more details.
#*
#* You should have received a copy of the GNU Lesser General Public
#* License along with theSHiELD Build System
#* If not, see <http://www.gnu.org/licenses/>.
#***********************************************************************
#
# DISCLAIMER: This script is provided as-is and as such is unsupported.
#
. ${MODULESHOME}/init/sh
module load git
export SHiELD_SRC=${PWD%/*}/SHiELD_SRC/
mkdir -p ${SHiELD_SRC}
cd ${SHiELD_SRC}
release="main"
fv3_release=$release
phy_release=$release
fms_release="2023.02"
drivers_release="2023.02"
git clone -b ${fv3_release} https://github.com/NOAA-GFDL/GFDL_atmos_cubed_sphere
git clone -b ${phy_release} https://github.com/NOAA-GFDL/SHiELD_physics
git clone -b ${fms_release} https://github.com/NOAA-GFDL/FMS
git clone -b ${fms_release} https://github.com/NOAA-GFDL/FMSCoupler
git clone -b ${drivers_release} https://github.com/NOAA-GFDL/atmos_drivers
#Automatic release tracking from Matt M.
echo $release > release