1 |
<!-- $Header: $ --> |
2 |
<!-- $Name: $ --> |
3 |
|
4 |
|
5 |
|
6 |
<description |
7 |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
8 |
xsi:noNamespaceSchemaLocation="http://deslab.mit.edu/LCML/lcml.xsd" |
9 |
xmlns:dc="http://purl.org/dc/elements/1.1/"> |
10 |
|
11 |
<descriptionName>MITgcm Ocean genmake2 makefile generator</descriptionName> |
12 |
|
13 |
<descriptionInfo>This configures the MITgcm makefile generator.</descriptionInfo> |
14 |
|
15 |
<descriptionMetadata> |
16 |
<dc:creator>Constantinos Evangelinos</dc:creator> |
17 |
<dc:date>2006-06-05</dc:date> |
18 |
</descriptionMetadata> |
19 |
|
20 |
<descriptionTarget> |
21 |
<script> |
22 |
<command>bash tempscriptgen2</command> |
23 |
<scriptname>tempscriptgen2</scriptname> |
24 |
</script> |
25 |
</descriptionTarget> |
26 |
|
27 |
<descriptionContent> |
28 |
<set> |
29 |
<setName>Runtime genmake2 Parameters</setName> |
30 |
<setInfo>Parameters used for running the genmake2 program.</setInfo> |
31 |
<startText>#! /usr/bin/env bash |
32 |
source ~/setbuildenv |
33 |
</startText> |
34 |
<endText></endText> |
35 |
<separator></separator> |
36 |
<var> |
37 |
<name>Buildtime directory</name> |
38 |
<info>The buildtime directory.</info> |
39 |
<type>string</type> |
40 |
<value>REF(MITgcm Ocean Build;Build Directory)</value> |
41 |
<use>true</use> |
42 |
<hidden>false</hidden> |
43 |
<header>mydir=</header> |
44 |
<trailer> ; rm -rf $mydir; mkdir -p $mydir; cd $mydir 
</trailer> |
45 |
</var> |
46 |
<var> |
47 |
<name>Copyfile reference for the Ocean</name> |
48 |
<info>Copy over the files that have been modified.</info> |
49 |
<type>file</type> |
50 |
<value>REF(cpl_aim+ocn;Ocean savedir)</value> |
51 |
<use>true</use> |
52 |
<hidden>true</hidden> |
53 |
<header>for i in </header> |
54 |
<trailer>/* ; do cp $i `basename $i` ; done 
</trailer> |
55 |
</var> |
56 |
<var> |
57 |
<name>Copyfile reference for Atmosphere IDs</name> |
58 |
<info>Copy over the Atmosphere ID files that have been modified.</info> |
59 |
<type>file</type> |
60 |
<value>REF(cpl_aim+ocn;Atmosphere savedir)</value> |
61 |
<use>true</use> |
62 |
<hidden>true</hidden> |
63 |
<header>for i in </header> |
64 |
<trailer>/ATMIDS.h ; do cp $i `basename $i` ; done 
</trailer> |
65 |
</var> |
66 |
<var> |
67 |
<name>genmake2 Binary</name> |
68 |
<info>The location of the genmake2 binary to run.</info> |
69 |
<type>string</type> |
70 |
<value>REF(cpl_aim+ocn;Global MITgcm root directory)</value> |
71 |
<trailer>/tools/genmake2 </trailer> |
72 |
<use>true</use> |
73 |
<hidden>false</hidden> |
74 |
</var> |
75 |
</set> |
76 |
<set> |
77 |
<setName>Runtime Options</setName> |
78 |
<setInfo>Select the desired genmake2 options.</setInfo> |
79 |
<startText> </startText> |
80 |
<separator></separator> |
81 |
<endText> </endText> |
82 |
<var> |
83 |
<name>MITgcm root directory</name> |
84 |
<info>The parent directory for MITgcm source code</info> |
85 |
<type>string</type> |
86 |
<header> -rd </header> |
87 |
<value>REF(cpl_aim+ocn;Global MITgcm root directory)</value> |
88 |
<use>true</use> |
89 |
<hidden>false</hidden> |
90 |
<trailer> </trailer> |
91 |
</var> |
92 |
<var> |
93 |
<name>Standard filedirs</name> |
94 |
<info>Standard filedirs</info> |
95 |
<type>string</type> |
96 |
<header> -standarddirs </header> |
97 |
<value></value> |
98 |
<trailer> </trailer> |
99 |
<use>false</use> |
100 |
<hidden>false</hidden> |
101 |
</var> |
102 |
<var> |
103 |
<name>AD option filedir</name> |
104 |
<info>Automatic Differentiation option filedir</info> |
105 |
<type>string</type> |
106 |
<header> -ad </header> |
107 |
<value>REF(cpl_aim+ocn;Global MITgcm root directory)</value> |
108 |
<trailer>/tools/adjoint_options/</trailer> |
109 |
<!-- CE Replace by USEREF(AD option file) --> |
110 |
<use>false</use> |
111 |
<!-- CE Then change this to true --> |
112 |
<hidden>false</hidden> |
113 |
<uneditable>hidden</uneditable> |
114 |
</var> |
115 |
<var> |
116 |
<name>AD option file</name> |
117 |
<info>Automatic Differentiation option file</info> |
118 |
<type>string</type> |
119 |
<header></header> |
120 |
<enumeration>adjoint_default;adjoint_diva_mpi;adjoint_f95;adjoint_staf;adjoint_staf_mpi;adjoint_state_final</enumeration> |
121 |
<value>adjoint_default</value> |
122 |
<use>false</use> |
123 |
<hidden>false</hidden> |
124 |
<trailer> </trailer> |
125 |
</var> |
126 |
<var> |
127 |
<name>OF option filedir</name> |
128 |
<info>Optimization option filedir</info> |
129 |
<type>string</type> |
130 |
<header> -of </header> |
131 |
<value>REF(cpl_aim+ocn;Global MITgcm root directory)</value> |
132 |
<trailer>/tools/build_options/</trailer> |
133 |
<!-- CE Replace by USEREF(Optimization option file) --> |
134 |
<use>true</use> |
135 |
<!-- CE Then change this to true --> |
136 |
<hidden>false</hidden> |
137 |
<uneditable>hidden</uneditable> |
138 |
</var> |
139 |
<var> |
140 |
<name>Optimization option file</name> |
141 |
<info>Optimization and Debuging flags option file</info> |
142 |
<type>string</type> |
143 |
<header></header> |
144 |
<enumeration>SUPER-UX_SX-6_f90+mpi_caspur;SUPER-UX_SX-6_sx90_dkrz;SUPER-UX_SX-6_sxmpif90+mpi_dkrz;SUPER-UX_SX-8_sxf90+mpi_awi;ames_dbg+mpi;ames_opt+mpi;bgl_gnu_ncar;bgl_ncar;cygwin_ia32_g77;darwin_absoft_f77;darwin_ia32_g95;darwin_ia32_gfortran;darwin_ia32_ifort;darwin_ppc_f95;darwin_ppc_g77;darwin_ppc_xlf;darwin_ppc_xlf_panther;darwin_ppc_xlf_panther+wienders;darwin_ppc_xlf_panther_baylor;darwin_ppc_xlf_tiger_baylor;hp-ux;hp-ux+mpi;irix;irix+mpi;irix32;irix64;irix64+ieee;irix64+mpi;irix64_ip27_f77;irix64_ip27_f77+mpi;irix64_ip27_f77+mpi_nas_turing;irix64_ip35+mpi_gfdl;irix64_ip35_f77;irix64_ip35_f77+mpi_mnc_gfdl;irix_ip30_f77;linux_alpha_g77;linux_alpha_g77+mpi;linux_amd64_absoft;linux_amd64_g77;linux_amd64_g95;linux_amd64_gfortran;linux_amd64_gfortran+mth;linux_amd64_ifort;linux_amd64_ifort_fimm_default;linux_amd64_ifort_fimm_emic;linux_amd64_ifort_generic_mpi;linux_amd64_pathf90;linux_amd64_pathf90+mth;linux_amd64_pathf90+redhatlam;linux_amd64_pgf77;linux_amd64_pgf77+mpi_ncar;linux_amd64_pgf77+mpi_ocl;linux_amd64_pgf77+mpi_xd1;linux_amd64_pgf77_ocl;linux_amd64_sunf90;linux_amd64_sunf90+mth;linux_ia32_absoft;linux_ia32_g77;linux_ia32_g77+mpi_aces;linux_ia32_g77+mpi_cg01;linux_ia32_g95;linux_ia32_gfortran;linux_ia32_gfortran+mpi_fc_lam;linux_ia32_gfortran-4.3;linux_ia32_gfortran-4.3+mth;linux_ia32_ifc;linux_ia32_ifc+mpi_cg01;linux_ia32_ifort;linux_ia32_ifort+authors_v9;linux_ia32_ifort+mpi_aces;linux_ia32_ifort+mpi_cosmos;linux_ia32_ifort+oad;linux_ia32_ifort+oad+mpi;linux_ia32_ifort.aces+mth;linux_ia32_ifort.v9+mth;linux_ia32_ifort9_ocean;linux_ia32_lf95;linux_ia32_pathf90;linux_ia32_pgf77;linux_ia32_pgf77+authors_fc2;linux_ia32_pgf77+authors_fc3;linux_ia32_pgf77+authors_fc5;linux_ia32_pgf77+mpi;linux_ia32_pgf77+mpi_aces;linux_ia32_pgf77+mpi_aer;linux_ia32_pgf77+mpi_cg01;linux_ia32_pgf77_cg01;linux_ia64_efc;linux_ia64_efc+mpi;linux_ia64_efc+mpi_altix;linux_ia64_g77;linux_ia64_ifort+mpi1_swell;linux_ia64_ifort+mpi2_swell;linux_ia64_ifort+mpi_altix_gfdl;linux_ia64_ifort+mpi_altix_gfdl_bfk;linux_ia64_ifort+mpi_altix_meinesz;linux_ia64_ifort+mpi_altix_nas;linux_ppc64_xlf;linux_ppc64_xlf+mth;linux_ppc64_xlf_bigred;linux_ppc64_xlf_bigred+mth;linux_ppc64_xlf_ncar;linux_ppc64_xlf_ncar+mth;linux_ppc_xlf;linux_ppc_xlf+mth;linux_ppc_xlf_bigred;linux_ppc_xlf_bigred+mth;o2;o2+mpi;o2k+mpi;o2k_noopt;o2k_noopt+mpi;onyx;onyx+mpi;osf1;osf1+mpi;osf1_alpha_f77;osf1_alpha_f77+mpi;osf1_alpha_g77;osf1_halem;osf1_halem_mpi;sn3002;sn6312;sn7113;sn9735_craysv1_f90;sp3;sp3+mpi;sp3+mpi_seaborg;sp3-32bit;sp3-64bit;sp4;sp4+mpi;sp4+mpi_datastar;sp4+mpi_edvir1;sp4+mpi_jump;sp4-32bit;sp4-64bit;sp4_edvir1;sp5+mpi;sp5+mpi_nas;sunos_amd64_f77_awi;sunos_sun4u_f77;sunos_sun4u_g77;sunos_sun4u_mpf77+mpi_sunfire;sv1;t3e;t90</enumeration> |
145 |
<value>linux_amd64_ifort_generic_mpi</value> |
146 |
<use>true</use> |
147 |
<hidden>false</hidden> |
148 |
<trailer> </trailer> |
149 |
</var> |
150 |
<var> |
151 |
<name>make executable</name> |
152 |
<info>The make command to use</info> |
153 |
<type>string</type> |
154 |
<value>gmake</value> |
155 |
<use>false</use> |
156 |
<hidden>false</hidden> |
157 |
<header> -make </header> |
158 |
<trailer> </trailer> |
159 |
</var> |
160 |
<var> |
161 |
<name>makefile name</name> |
162 |
<info>The makefile name to generate</info> |
163 |
<type>string</type> |
164 |
<value>Makefile</value> |
165 |
<use>false</use> |
166 |
<hidden>false</hidden> |
167 |
<header> -makefile </header> |
168 |
<trailer> </trailer> |
169 |
</var> |
170 |
<var> |
171 |
<name>makedepend executable</name> |
172 |
<info>The makedepend command to use</info> |
173 |
<type>string</type> |
174 |
<value>makedepend</value> |
175 |
<use>false</use> |
176 |
<hidden>false</hidden> |
177 |
<header> -makedepend </header> |
178 |
<trailer> </trailer> |
179 |
</var> |
180 |
<var> |
181 |
<name>modified files directory</name> |
182 |
<info>The location of the modified files</info> |
183 |
<type>string</type> |
184 |
<value>REF(cpl_aim+ocn;Global MITgcm root directory)</value> |
185 |
<use>true</use> |
186 |
<hidden>false</hidden> |
187 |
<header> -mods </header> |
188 |
<trailer>/verification/cpl_aim+ocn/code_ocn </trailer> |
189 |
</var> |
190 |
<var> |
191 |
<name>IEEE compliance</name> |
192 |
<info>IEEE 754 arithmetic compliance</info> |
193 |
<type>string</type> |
194 |
<value>-ieee</value> |
195 |
<use>false</use> |
196 |
<hidden>false</hidden> |
197 |
<uneditable>value</uneditable> |
198 |
<trailer> </trailer> |
199 |
</var> |
200 |
<var> |
201 |
<name>Developer options</name> |
202 |
<info>Use compilation options for development</info> |
203 |
<type>string</type> |
204 |
<value>-devel</value> |
205 |
<use>false</use> |
206 |
<hidden>false</hidden> |
207 |
<uneditable>value</uneditable> |
208 |
<trailer> </trailer> |
209 |
</var> |
210 |
<var> |
211 |
<name>Ignore timing routines</name> |
212 |
<info>Ignore timing routines</info> |
213 |
<type>string</type> |
214 |
<value>-ignore_time</value> |
215 |
<use>false</use> |
216 |
<hidden>false</hidden> |
217 |
<uneditable>value</uneditable> |
218 |
<trailer> </trailer> |
219 |
</var> |
220 |
<var> |
221 |
<name>Time per timestep</name> |
222 |
<info>Produce timing information per timestep</info> |
223 |
<type>string</type> |
224 |
<value>-ts</value> |
225 |
<use>false</use> |
226 |
<hidden>false</hidden> |
227 |
<uneditable>value</uneditable> |
228 |
<trailer> </trailer> |
229 |
</var> |
230 |
<var> |
231 |
<name>PAPIs</name> |
232 |
<info>Produce summary MFlop/s (and IPC) with PAPI per timestep</info> |
233 |
<type>string</type> |
234 |
<value>-papis</value> |
235 |
<use>false</use> |
236 |
<hidden>false</hidden> |
237 |
<uneditable>value</uneditable> |
238 |
<trailer> </trailer> |
239 |
</var> |
240 |
<var> |
241 |
<name>PCLs</name> |
242 |
<info>Produce summary MFlop/s etc. with PCL per timestep</info> |
243 |
<type>string</type> |
244 |
<value>-pcls</value> |
245 |
<use>false</use> |
246 |
<hidden>false</hidden> |
247 |
<uneditable>value</uneditable> |
248 |
<trailer> </trailer> |
249 |
</var> |
250 |
<var> |
251 |
<name>Fool the AD tool</name> |
252 |
<info>Fool the AD tool</info> |
253 |
<type>string</type> |
254 |
<value>-foolad</value> |
255 |
<use>false</use> |
256 |
<hidden>false</hidden> |
257 |
<uneditable>value</uneditable> |
258 |
<trailer> </trailer> |
259 |
</var> |
260 |
<var> |
261 |
<name>PAPI</name> |
262 |
<info>Performance analysis with PAPI</info> |
263 |
<type>string</type> |
264 |
<value>-papi</value> |
265 |
<use>false</use> |
266 |
<hidden>false</hidden> |
267 |
<uneditable>value</uneditable> |
268 |
<trailer> </trailer> |
269 |
</var> |
270 |
<var> |
271 |
<name>PCL</name> |
272 |
<info>Performance analysis with PCL</info> |
273 |
<type>string</type> |
274 |
<value>-pcl</value> |
275 |
<use>false</use> |
276 |
<hidden>false</hidden> |
277 |
<uneditable>value</uneditable> |
278 |
<trailer> </trailer> |
279 |
</var> |
280 |
<var> |
281 |
<name>IBM HPM toolkit</name> |
282 |
<info>Performance analysis with the IBM HPM toolkit</info> |
283 |
<type>string</type> |
284 |
<value>-hpmt</value> |
285 |
<use>false</use> |
286 |
<hidden>false</hidden> |
287 |
<uneditable>value</uneditable> |
288 |
<trailer> </trailer> |
289 |
</var> |
290 |
<var> |
291 |
<name>GSL</name> |
292 |
<info>Use GSL to control floating point rounding and precision</info> |
293 |
<type>string</type> |
294 |
<value>-gsl</value> |
295 |
<use>false</use> |
296 |
<hidden>false</hidden> |
297 |
<uneditable>value</uneditable> |
298 |
<trailer> </trailer> |
299 |
</var> |
300 |
<var> |
301 |
<name>MPI compilation</name> |
302 |
<info>Include MPI header files and link to MPI libraries</info> |
303 |
<type>string</type> |
304 |
<value>-mpi</value> |
305 |
<use>false</use> |
306 |
<hidden>false</hidden> |
307 |
<uneditable>value</uneditable> |
308 |
<trailer> </trailer> |
309 |
</var> |
310 |
<var> |
311 |
<name>MPIROOT compilation</name> |
312 |
<info>Include MPI header files and link to MPI libraries using MPI_ROOT set to location provided. i.e. Include files from $PATH/include, link to libraries from $PATH/lib and use binaries from $PATH/bin.</info> |
313 |
<type>string</type> |
314 |
<header>-mpi=</header> |
315 |
<value>/usr</value> |
316 |
<use>false</use> |
317 |
<hidden>false</hidden> |
318 |
<trailer> </trailer> |
319 |
</var> |
320 |
<var> |
321 |
<name>Embed source</name> |
322 |
<info>Embed a tarball containing the full source code (including the Makefile, etc.) used to build the executable</info> |
323 |
<type>string</type> |
324 |
<value>-es</value> |
325 |
<use>false</use> |
326 |
<hidden>false</hidden> |
327 |
<uneditable>value</uneditable> |
328 |
<trailer> </trailer> |
329 |
</var> |
330 |
<var> |
331 |
<name>BASH location</name> |
332 |
<info>Explicitly specify the Bourne or BASH shell to use</info> |
333 |
<type>string</type> |
334 |
<header> -bash </header> |
335 |
<value>bash</value> |
336 |
<use>false</use> |
337 |
<hidden>false</hidden> |
338 |
<trailer> </trailer> |
339 |
</var> |
340 |
</set> |
341 |
</descriptionContent> |
342 |
|
343 |
</description> |