1 |
ce107 |
1.1 |
<!-- $Header: $ --> |
2 |
|
|
<!-- $Name: $ --> |
3 |
|
|
|
4 |
|
|
|
5 |
|
|
|
6 |
|
|
<description xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
7 |
|
|
xsi:noNamespaceSchemaLocation="http://deslab.mit.edu/LCML/lcml.xsd" |
8 |
|
|
xmlns:dc="http://purl.org/dc/elements/1.1/"> |
9 |
|
|
|
10 |
|
|
<descriptionName>MITgcm Atmosphere Runtime</descriptionName> |
11 |
|
|
|
12 |
|
|
<descriptionInfo>The programs here comprise MITgcm</descriptionInfo> |
13 |
|
|
|
14 |
|
|
<descriptionMetadata> |
15 |
|
|
<dc:creator>Constantinos Evangelinos</dc:creator> |
16 |
|
|
<dc:date>2007-06-28</dc:date> |
17 |
|
|
</descriptionMetadata> |
18 |
|
|
|
19 |
|
|
|
20 |
|
|
<descriptionTarget> |
21 |
|
|
<script> |
22 |
|
|
<command>bash prepare_aim_run</command> |
23 |
|
|
<scriptname>prepare_aim_run</scriptname> |
24 |
|
|
</script> |
25 |
|
|
</descriptionTarget> |
26 |
|
|
<descriptionChildren> |
27 |
|
|
<descriptionChild> |
28 |
|
|
<location>data.xml</location> |
29 |
|
|
</descriptionChild> |
30 |
|
|
<descriptionChild> |
31 |
|
|
<location>datacpl.xml</location> |
32 |
|
|
</descriptionChild> |
33 |
|
|
<descriptionChild> |
34 |
|
|
<location>datapkg.xml</location> |
35 |
|
|
</descriptionChild> |
36 |
|
|
<descriptionChild> |
37 |
|
|
<location>datamnc.xml</location> |
38 |
|
|
</descriptionChild> |
39 |
|
|
<descriptionChild> |
40 |
|
|
<location>dataice.xml</location> |
41 |
|
|
</descriptionChild> |
42 |
|
|
<descriptionChild> |
43 |
|
|
<location>datashap.xml</location> |
44 |
|
|
</descriptionChild> |
45 |
|
|
<descriptionChild> |
46 |
|
|
<location>dataland.xml</location> |
47 |
|
|
</descriptionChild> |
48 |
|
|
<descriptionChild> |
49 |
|
|
<location>dataaimphys.xml</location> |
50 |
|
|
</descriptionChild> |
51 |
|
|
<descriptionChild> |
52 |
|
|
<location>eedata.xml</location> |
53 |
|
|
</descriptionChild> |
54 |
|
|
</descriptionChildren> |
55 |
|
|
<descriptionContent> |
56 |
|
|
<set> |
57 |
|
|
<setName>PrepareAimScriptParams</setName> |
58 |
|
|
<setInfo>Prepare the Atmosphere runtime directory</setInfo> |
59 |
|
|
<startText>#! /usr/bin/env bash
</startText> |
60 |
|
|
<endText></endText> |
61 |
|
|
<separator>
</separator> |
62 |
|
|
<var> |
63 |
|
|
<name>AtmosphereDatafileDir</name> |
64 |
|
|
<type>file</type> |
65 |
|
|
<header>mkdir -p </header> |
66 |
|
|
<value>/tmp/input_aim</value> |
67 |
|
|
<trailer></trailer> |
68 |
|
|
<info>Location to store the input datafiles in</info> |
69 |
|
|
<use>true</use> |
70 |
|
|
<hidden>false</hidden> |
71 |
|
|
</var> |
72 |
|
|
<var> |
73 |
|
|
<name>AtmosphereDatafilesSave</name> |
74 |
|
|
<type>file</type> |
75 |
|
|
<header>pushd </header> |
76 |
|
|
<value>REF(cpl_aim+ocn;Atmosphere savedir)</value> |
77 |
|
|
<trailer></trailer> |
78 |
|
|
<use>true</use> |
79 |
|
|
<hidden>true</hidden> |
80 |
|
|
</var> |
81 |
|
|
<var> |
82 |
|
|
<name>AtmosphereDatafilesCp</name> |
83 |
|
|
<type>file</type> |
84 |
|
|
<header>cp eedata* data data.* POLY* </header> |
85 |
|
|
<value>REF(AtmosphereDatafileDir)</value> |
86 |
|
|
<trailer></trailer> |
87 |
|
|
<use>true</use> |
88 |
|
|
<hidden>true</hidden> |
89 |
|
|
</var> |
90 |
|
|
<var> |
91 |
|
|
<name>CentralDirectory</name> |
92 |
|
|
<type>string</type> |
93 |
|
|
<value>REF(cpl_aim+ocn;Global rundir)</value> |
94 |
|
|
<use>true</use> |
95 |
|
|
<hidden>true</hidden> |
96 |
|
|
<header>pushd </header> |
97 |
|
|
</var> |
98 |
|
|
<var> |
99 |
|
|
<name>NumberOfOtherDirectories</name> |
100 |
|
|
<info>The directories for the coupler and the ocean</info> |
101 |
|
|
<type>numeric</type> |
102 |
|
|
<value>REF(cpl_aim+ocn_runtime;Ocean Executable cardinality)</value> |
103 |
|
|
<use>true</use> |
104 |
|
|
<hidden>true</hidden> |
105 |
|
|
<header>startl=`expr 1 + </header> |
106 |
|
|
<trailer>`</trailer> |
107 |
|
|
<precision>integer</precision> |
108 |
|
|
<range>[1,INFINITY)</range> |
109 |
|
|
<use>true</use> |
110 |
|
|
<hidden>true</hidden> |
111 |
|
|
</var> |
112 |
|
|
<var> |
113 |
|
|
<name>NumberOfAimDirectories</name> |
114 |
|
|
<type>numeric</type> |
115 |
|
|
<value>REF(cpl_aim+ocn_runtime;Atmosphere Executable cardinality)</value> |
116 |
|
|
<use>true</use> |
117 |
|
|
<hidden>true</hidden> |
118 |
|
|
<header>endl=`expr $startl + </header> |
119 |
|
|
<trailer>` |
120 |
|
|
while [ $startl -lt $endl ] |
121 |
|
|
do |
122 |
|
|
rm -rf ./rank_$startl |
123 |
|
|
mkdir ./rank_$startl |
124 |
|
|
cd ./rank_$startl |
125 |
|
|
</trailer> |
126 |
|
|
<info>Creating the runtime directories for the atmosphere</info> |
127 |
|
|
<precision>integer</precision> |
128 |
|
|
<range>[1,INFINITY)</range> |
129 |
|
|
<use>true</use> |
130 |
|
|
<hidden>false</hidden> |
131 |
|
|
</var> |
132 |
|
|
<var> |
133 |
|
|
<name>AtmosphereDatafilesLn</name> |
134 |
|
|
<type>file</type> |
135 |
|
|
<header> ln -s </header> |
136 |
|
|
<value>REF(AtmosphereDatafileDir)</value> |
137 |
|
|
<trailer>/* . |
138 |
|
|
</trailer> |
139 |
|
|
<info>Location to link the input datafiles for the atmosphere from</info> |
140 |
|
|
<use>true</use> |
141 |
|
|
<hidden>false</hidden> |
142 |
|
|
</var> |
143 |
|
|
<var> |
144 |
|
|
<name>AtmosphereOtherDatasets</name> |
145 |
|
|
<type>file</type> |
146 |
|
|
<header> ln -s </header> |
147 |
|
|
<value>REF(cpl_aim+ocn;Global MITgcm root directory)</value> |
148 |
|
|
<trailer>/verification/aim.5l_cs/input.thSI/*.bin . |
149 |
|
|
</trailer> |
150 |
|
|
<info>Location to link the input datasets for the atmosphere from</info> |
151 |
|
|
<use>true</use> |
152 |
|
|
<hidden>false</hidden> |
153 |
|
|
</var> |
154 |
|
|
<var> |
155 |
|
|
<name>AtmosphereInputDatasets</name> |
156 |
|
|
<type>file</type> |
157 |
|
|
<header> ln -s </header> |
158 |
|
|
<value>REF(cpl_aim+ocn;Global MITgcm root directory)</value> |
159 |
|
|
<trailer>/verification/aim.5l_cs/input.thSI/*.bin . |
160 |
|
|
</trailer> |
161 |
|
|
<info>Location to link the input datasets for the atmosphere from</info> |
162 |
|
|
<use>true</use> |
163 |
|
|
<hidden>false</hidden> |
164 |
|
|
</var> |
165 |
|
|
<var> |
166 |
|
|
<name>AtmosphereGridDatasets</name> |
167 |
|
|
<type>file</type> |
168 |
|
|
<header> ln -s </header> |
169 |
|
|
<value>REF(cpl_aim+ocn;Global MITgcm root directory)</value> |
170 |
|
|
<trailer>/verification/tutorial_held_suarez_cs/input/*.face00?.bin . |
171 |
|
|
cd .. |
172 |
|
|
startl=`expr $startl + 1` |
173 |
|
|
done |
174 |
|
|
popd |
175 |
|
|
</trailer> |
176 |
|
|
<info>Location to link the input grid datasets for the atmosphere from</info> |
177 |
|
|
<use>true</use> |
178 |
|
|
<hidden>false</hidden> |
179 |
|
|
</var> |
180 |
|
|
</set> |
181 |
|
|
</descriptionContent> |
182 |
|
|
|
183 |
|
|
|
184 |
|
|
</description> |