1 | #$Id: .mrun.config.forwind 1446 2014-08-07 10:08:56Z maronga $ |
---|
2 | #column 1 column 2 column 3 |
---|
3 | #name of variable value of variable (~ must not be used) scope |
---|
4 | #---------------------------------------------------------------------------- |
---|
5 | %mainprog palm.f90 |
---|
6 | %base_directory $HOME/palm/current_version |
---|
7 | %base_data ~/palm/current_version/JOBS |
---|
8 | ################################################################################ |
---|
9 | # Replace "/fw/" by "/iwes/" if your user directory resides in /iwes/. |
---|
10 | ################################################################################ |
---|
11 | %output_data /data/work/gpfs/fw/<replace_with_your_FLOW_username>/palm/current_version/JOBS |
---|
12 | %source_path $base_directory/trunk/SOURCE |
---|
13 | %add_source_path $base_directory/USER_CODE/$fname |
---|
14 | %depository_path $base_directory/MAKE_DEPOSITORY |
---|
15 | %use_makefile true |
---|
16 | # |
---|
17 | # |
---|
18 | %host_identifier flow* lcflow |
---|
19 | %host_identifier cfdl* lcflow |
---|
20 | %host_identifier cfdh* lcflow |
---|
21 | %host_identifier cfdx* lcflow |
---|
22 | %host_identifier cfdi* lcflow |
---|
23 | |
---|
24 | ################################################################################ |
---|
25 | # Replace <eplace_with_your_local_hostname> by the hostname of your desktop |
---|
26 | # an uncomment following line to enable job submission from you local desktop |
---|
27 | ################################################################################ |
---|
28 | #%host_identifier <replace_with_your_local_hostname> lcfor |
---|
29 | |
---|
30 | ################################################################################ |
---|
31 | # Configuration for Ubuntu Linux 12.04 LTS with gcc (4.6.3) and OpenMPI (1.4.3) |
---|
32 | # |
---|
33 | # The next block contains all informations for compiling the PALM code |
---|
34 | # and for generating and running the PALM executable using MPI on a Linux machine |
---|
35 | # with gcc and OpenMPI. Replace <replace_with_your_local_username> with your |
---|
36 | # username on your |
---|
37 | # local machine |
---|
38 | # |
---|
39 | # NOTE: - Other hosts may require different settings. |
---|
40 | # - following packages are required: |
---|
41 | # openmpi-common, libopenmpi-dev, libopenmpi, libnetcdf, libnetcdf-dev, |
---|
42 | # gcc |
---|
43 | # - depending on where you installed netcdf, you may have to adjust the paths |
---|
44 | # given in %netcdf_inc and %netcdf_lib |
---|
45 | # |
---|
46 | ################################################################################ |
---|
47 | %remote_username <replace_with_your_local_username> lcfor parallel |
---|
48 | %tmp_user_catalog /tmp lcfor parallel |
---|
49 | %tmp_data_catalog /tmp lcfor parallel |
---|
50 | %compiler_name mpif90 lcfor parallel |
---|
51 | %compiler_name_ser gfortran lcfor parallel |
---|
52 | %cpp_options -DMPI_REAL=MPI_DOUBLE_PRECISION:-DMPI_2REAL=MPI_2DOUBLE_PRECISION:-D__lc:-D__netcdf:-D__netcdf4:-D__parallel lcfor parallel |
---|
53 | %netcdf_inc -I/usr/include lcfor parallel |
---|
54 | %netcdf_lib -L/usr/lib:-lnetcdff:-lnetcdf lcfor parallel |
---|
55 | %mopts -j:4 lcfor parallel |
---|
56 | %fopts -Ofast:-IPA:-mtune=native:-march=native:-cpp:-fdefault-real-8:-fbackslash:-fconvert=little-endian lcfor parallel |
---|
57 | %lopts -Ofast:-IPA:-mtune=native:-march=native:-cpp:-fdefault-real-8:-fbackslash lcfor parallel |
---|
58 | |
---|
59 | ################################################################################ |
---|
60 | # Configuration for FLOW |
---|
61 | # |
---|
62 | # The next block contains all informations for compiling the PALM code |
---|
63 | # and for generating and running the PALM executable using MPI. Replace <USERNAME_FLOW> |
---|
64 | # with your username on FLOW and if necessary "/fw/" by "/iwes/". |
---|
65 | # The following 'lcflow parallel' block assumes PALM compilation and execution |
---|
66 | # on host flow. Please note that other hosts may require different settings. |
---|
67 | ################################################################################ |
---|
68 | %remote_username <replace_with_your_FLOW_username> lcflow parallel |
---|
69 | %tmp_user_catalog /data/work/gpfs/fw/$remote_username/tmp lcflow parallel |
---|
70 | %tmp_data_catalog /data/work/gpfs/fw/$remote_username/palm_restart_data lcflow parallel |
---|
71 | %compiler_name mpiifort lcflow parallel |
---|
72 | %compiler_name_ser ifort lcflow parallel |
---|
73 | %cpp_options -DMPI_REAL=MPI_DOUBLE_PRECISION:-DMPI_2REAL=MPI_2DOUBLE_PRECISION:-D__lc:-D__netcdf:-D__netcdf4:-D__parallel lcflow parallel |
---|
74 | %netcdf_inc -I/cm/shared/uniol/apps/netcdf/4.3.2/intel/2013_sp1.3.174/include lcflow parallel |
---|
75 | %netcdf_lib -L/cm/shared/uniol/apps/netcdf/4.3.2/intel/2013_sp1.3.174/lib:-lnetcdff:-lnetcdf:-L/cm/shared/uniol/apps/hdf5/1.8.13/intel/2013_sp1.3.174/lib:-lhdf5_hl:-lhdf5:-lz lcflow parallel |
---|
76 | %mopts -j:8 lcflow parallel |
---|
77 | %fopts -O3:-fpp:-r8:-align:all:-ftz:-fno-alias:-no-scalar-rep:-no-prec-sqrt:-ip:-nbs:-convert:little_endian:-static-intel lcflow parallel |
---|
78 | %lopts -O3:-fpp:-r8:-align:all:-ftz:-fno-alias:-no-scalar-rep:-no-prec-sqrt:-ip:-nbs:-static-intel:-Wl,-rpath:/cm/shared/uniol/apps/intel/ics/2013_sp1.3.174/composer_xe_2013_sp1.3.174/compiler/lib/intel64 lcflow parallel |
---|
79 | %login_init_cmd .:/etc/bashrc\;:export:HOSTNAME=flow lcflow parallel |
---|
80 | %modules hpc-uniol-env:sge/2011.11p1:ics/2013_sp1.3.174/64:impi/5.0.0.028/64:qt4 lcflow parallel |
---|
81 | # |
---|
82 | # |
---|
83 | %write_binary true restart |
---|
84 | # |
---|
85 | #---------------------------------------------------------------------------- |
---|
86 | # INPUT-commands, executed before running PALM - lines must start with "IC:" |
---|
87 | #---------------------------------------------------------------------------- |
---|
88 | #IC: |
---|
89 | # |
---|
90 | #---------------------------------------------------------------------------- |
---|
91 | # ERROR-commands - executed when program terminates abnormally |
---|
92 | #---------------------------------------------------------------------------- |
---|
93 | EC:[[ \$locat = execution ]] && cat RUN_CONTROL |
---|
94 | EC:pwd; ls -al |
---|
95 | # |
---|
96 | #---------------------------------------------------------------------------- |
---|
97 | # OUTPUT-commands - executed when program terminates normally |
---|
98 | #---------------------------------------------------------------------------- |
---|
99 | # |
---|
100 | # Combine 1D- and 3D-profile output (these files are not usable for plotting) |
---|
101 | OC:[[ -f LIST_PROFIL_1D ]] && cat LIST_PROFIL_1D >> LIST_PROFILE |
---|
102 | OC:[[ -f LIST_PROFIL ]] && cat LIST_PROFIL >> LIST_PROFILE |
---|
103 | # |
---|
104 | # Combine all particle information files |
---|
105 | OC:[[ -f PARTICLE_INFOS/_0000 ]] && cat PARTICLE_INFOS/* >> PARTICLE_INFO |
---|
106 | # |
---|
107 | #---------------------------------------------------------------------------- |
---|
108 | # List of input-files |
---|
109 | #---------------------------------------------------------------------------- |
---|
110 | PARIN in:job d3# $base_data/$fname/INPUT _p3d |
---|
111 | PARIN in:job d3f $base_data/$fname/INPUT _p3df |
---|
112 | TOPOGRAPHY_DATA in:locopt d3#:d3f $base_data/$fname/INPUT _topo |
---|
113 | NUDGING_DATA in:locopt d3#:d3f $base_data/$fname/INPUT _nudge |
---|
114 | LSF_DATA in:locopt d3#:d3f $base_data/$fname/INPUT _lsf |
---|
115 | BININ in:loc:flpe d3f:rec $base_data/$fname/RESTART _d3d |
---|
116 | PARTICLE_RESTART_DATA_IN in:loc:flpe prtf $base_data/$fname/RESTART _rprt |
---|
117 | DATA_1D_PR_NETCDF in:locopt prf $output_data/$fname/OUTPUT _pr nc |
---|
118 | DATA_1D_SP_NETCDF in:locopt spf $output_data/$fname/OUTPUT _sp nc |
---|
119 | DATA_1D_TS_NETCDF in:locopt tsf $output_data/$fname/OUTPUT _ts nc |
---|
120 | DATA_1D_PTS_NETCDF in:locopt ptsf $output_data/$fname/OUTPUT _pts nc |
---|
121 | DATA_2D_XY_NETCDF in:locopt xyf $output_data/$fname/OUTPUT _xy nc |
---|
122 | DATA_2D_XY_AV_NETCDF in:locopt xyf $output_data/$fname/OUTPUT _xy_av nc |
---|
123 | DATA_2D_XZ_NETCDF in:locopt xzf $output_data/$fname/OUTPUT _xz nc |
---|
124 | DATA_2D_XZ_AV_NETCDF in:locopt xzf $output_data/$fname/OUTPUT _xz_av nc |
---|
125 | DATA_2D_YZ_NETCDF in:locopt yzf $output_data/$fname/OUTPUT _yz nc |
---|
126 | DATA_2D_YZ_AV_NETCDF in:locopt yzf $output_data/$fname/OUTPUT _yz_av nc |
---|
127 | DATA_3D_NETCDF in:locopt 3df $output_data/$fname/OUTPUT _3d nc |
---|
128 | DATA_3D_AV_NETCDF in:locopt 3df $output_data/$fname/OUTPUT _3d_av nc |
---|
129 | DATA_PRT_NETCDF in:locopt:pe prtf $output_data/$fname/OUTPUT _prt nc |
---|
130 | # |
---|
131 | #---------------------------------------------------------------------------- |
---|
132 | # List of output-files |
---|
133 | #---------------------------------------------------------------------------- |
---|
134 | BINOUT out:loc:flpe restart $base_data/$fname/RESTART _d3d |
---|
135 | PARTICLE_RESTART_DATA_OUT out:loc:flpe prt#:prtf $base_data/$fname/RESTART _rprt |
---|
136 | # |
---|
137 | RUN_CONTROL out:loc:tr d3# $base_data/$fname/MONITORING _rc |
---|
138 | RUN_CONTROL out:loc:tra d3f $base_data/$fname/MONITORING _rc |
---|
139 | HEADER out:loc:tr d3# $base_data/$fname/MONITORING _header |
---|
140 | HEADER out:loc:tra d3f $base_data/$fname/MONITORING _header |
---|
141 | CPU_MEASURES out:loc:tr d3# $base_data/$fname/MONITORING _cpu |
---|
142 | CPU_MEASURES out:loc:tra d3f $base_data/$fname/MONITORING _cpu |
---|
143 | TURBINE_PARAMETERS01 out:loc:tr d3#:d3f $base_data/$fname/MONITORING _turbine_parameters01 |
---|
144 | TURBINE_PARAMETERS02 out:loc:tr d3#:d3f $base_data/$fname/MONITORING _turbine_parameters02 |
---|
145 | TURBINE_PARAMETERS03 out:loc:tr d3#:d3f $base_data/$fname/MONITORING _turbine_parameters03 |
---|
146 | TURBINE_PARAMETERS04 out:loc:tr d3#:d3f $base_data/$fname/MONITORING _turbine_parameters04 |
---|
147 | TURBINE_PARAMETERS05 out:loc:tr d3#:d3f $base_data/$fname/MONITORING _turbine_parameters05 |
---|
148 | TURBINE_PARAMETERS06 out:loc:tr d3#:d3f $base_data/$fname/MONITORING _turbine_parameters06 |
---|
149 | TURBINE_PARAMETERS07 out:loc:tr d3#:d3f $base_data/$fname/MONITORING _turbine_parameters07 |
---|
150 | TURBINE_PARAMETERS08 out:loc:tr d3#:d3f $base_data/$fname/MONITORING _turbine_parameters08 |
---|
151 | TURBINE_PARAMETERS09 out:loc:tr d3#:d3f $base_data/$fname/MONITORING _turbine_parameters09 |
---|
152 | TURBINE_PARAMETERS10 out:loc:tr d3#:d3f $base_data/$fname/MONITORING _turbine_parameters10 |
---|
153 | # |
---|
154 | DATA_1D_PR_NETCDF out:loc pr# $output_data/$fname/OUTPUT _pr nc |
---|
155 | DATA_1D_PR_NETCDF out:loc prf $output_data/$fname/OUTPUT _pr nc |
---|
156 | DATA_1D_SP_NETCDF out:loc sp# $output_data/$fname/OUTPUT _sp nc |
---|
157 | DATA_1D_SP_NETCDF out:loc spf $output_data/$fname/OUTPUT _sp nc |
---|
158 | DATA_1D_TS_NETCDF out:loc ts# $output_data/$fname/OUTPUT _ts nc |
---|
159 | DATA_1D_TS_NETCDF out:loc tsf $output_data/$fname/OUTPUT _ts nc |
---|
160 | DATA_1D_PTS_NETCDF out:loc pts# $output_data/$fname/OUTPUT _pts nc |
---|
161 | DATA_1D_PTS_NETCDF out:loc ptsf $output_data/$fname/OUTPUT _pts nc |
---|
162 | DATA_2D_XY_NETCDF out:loc xy#:xyf $output_data/$fname/OUTPUT _xy nc |
---|
163 | DATA_2D_XY_AV_NETCDF out:loc xy#:xyf $output_data/$fname/OUTPUT _xy_av nc |
---|
164 | DATA_2D_XZ_NETCDF out:loc xz#:xzf $output_data/$fname/OUTPUT _xz nc |
---|
165 | DATA_2D_XZ_AV_NETCDF out:loc xz#:xzf $output_data/$fname/OUTPUT _xz_av nc |
---|
166 | DATA_2D_YZ_NETCDF out:loc yz#:yzf $output_data/$fname/OUTPUT _yz nc |
---|
167 | DATA_2D_YZ_AV_NETCDF out:loc yz#:yzf $output_data/$fname/OUTPUT _yz_av nc |
---|
168 | DATA_3D_NETCDF out:loc 3d#:3df $output_data/$fname/OUTPUT _3d nc |
---|
169 | DATA_3D_AV_NETCDF out:loc 3d#:3df $output_data/$fname/OUTPUT _3d_av nc |
---|
170 | DATA_MASK_01_NETCDF out:loc ma#:maf $output_data/$fname/OUTPUT _m01 nc |
---|
171 | DATA_MASK_01_AV_NETCDF out:loc ma#:maf $output_data/$fname/OUTPUT _m01_av nc |
---|
172 | DATA_MASK_02_NETCDF out:loc ma#:maf $output_data/$fname/OUTPUT _m02 nc |
---|
173 | DATA_MASK_02_AV_NETCDF out:loc ma#:maf $output_data/$fname/OUTPUT _m02_av nc |
---|
174 | DATA_MASK_03_NETCDF out:loc ma#:maf $output_data/$fname/OUTPUT _m03 nc |
---|
175 | DATA_MASK_03_AV_NETCDF out:loc ma#:maf $output_data/$fname/OUTPUT _m03_av nc |
---|
176 | DATA_MASK_04_NETCDF out:loc ma#:maf $output_data/$fname/OUTPUT _m04 nc |
---|
177 | DATA_MASK_04_AV_NETCDF out:loc ma#:maf $output_data/$fname/OUTPUT _m04_av nc |
---|
178 | DATA_MASK_05_NETCDF out:loc ma#:maf $output_data/$fname/OUTPUT _m05 nc |
---|
179 | DATA_MASK_05_AV_NETCDF out:loc ma#:maf $output_data/$fname/OUTPUT _m05_av nc |
---|
180 | DATA_MASK_06_NETCDF out:loc ma#:maf $output_data/$fname/OUTPUT _m06 nc |
---|
181 | DATA_MASK_06_AV_NETCDF out:loc ma#:maf $output_data/$fname/OUTPUT _m06_av nc |
---|
182 | DATA_MASK_07_NETCDF out:loc ma#:maf $output_data/$fname/OUTPUT _m07 nc |
---|
183 | DATA_MASK_07_AV_NETCDF out:loc ma#:maf $output_data/$fname/OUTPUT _m07_av nc |
---|
184 | DATA_MASK_08_NETCDF out:loc ma#:maf $output_data/$fname/OUTPUT _m08 nc |
---|
185 | DATA_MASK_08_AV_NETCDF out:loc ma#:maf $output_data/$fname/OUTPUT _m08_av nc |
---|
186 | DATA_MASK_09_NETCDF out:loc ma#:maf $output_data/$fname/OUTPUT _m09 nc |
---|
187 | DATA_MASK_09_AV_NETCDF out:loc ma#:maf $output_data/$fname/OUTPUT _m09_av nc |
---|
188 | DATA_MASK_10_NETCDF out:loc ma#:maf $output_data/$fname/OUTPUT _m10 nc |
---|
189 | DATA_MASK_10_AV_NETCDF out:loc ma#:maf $output_data/$fname/OUTPUT _m10_av nc |
---|
190 | DATA_MASK_11_NETCDF out:loc ma#:maf $output_data/$fname/OUTPUT _m11 nc |
---|
191 | DATA_MASK_11_AV_NETCDF out:loc ma#:maf $output_data/$fname/OUTPUT _m11_av nc |
---|
192 | DATA_MASK_12_NETCDF out:loc ma#:maf $output_data/$fname/OUTPUT _m12 nc |
---|
193 | DATA_MASK_12_AV_NETCDF out:loc ma#:maf $output_data/$fname/OUTPUT _m12_av nc |
---|
194 | DATA_MASK_13_NETCDF out:loc ma#:maf $output_data/$fname/OUTPUT _m13 nc |
---|
195 | DATA_MASK_13_AV_NETCDF out:loc ma#:maf $output_data/$fname/OUTPUT _m13_av nc |
---|
196 | DATA_MASK_14_NETCDF out:loc ma#:maf $output_data/$fname/OUTPUT _m14 nc |
---|
197 | DATA_MASK_14_AV_NETCDF out:loc ma#:maf $output_data/$fname/OUTPUT _m14_av nc |
---|
198 | DATA_MASK_15_NETCDF out:loc ma#:maf $output_data/$fname/OUTPUT _m15 nc |
---|
199 | DATA_MASK_15_AV_NETCDF out:loc ma#:maf $output_data/$fname/OUTPUT _m15_av nc |
---|
200 | DATA_MASK_16_NETCDF out:loc ma#:maf $output_data/$fname/OUTPUT _m16 nc |
---|
201 | DATA_MASK_16_AV_NETCDF out:loc ma#:maf $output_data/$fname/OUTPUT _m16_av nc |
---|
202 | DATA_MASK_17_NETCDF out:loc ma#:maf $output_data/$fname/OUTPUT _m17 nc |
---|
203 | DATA_MASK_17_AV_NETCDF out:loc ma#:maf $output_data/$fname/OUTPUT _m17_av nc |
---|
204 | DATA_MASK_18_NETCDF out:loc ma#:maf $output_data/$fname/OUTPUT _m18 nc |
---|
205 | DATA_MASK_18_AV_NETCDF out:loc ma#:maf $output_data/$fname/OUTPUT _m18_av nc |
---|
206 | DATA_MASK_19_NETCDF out:loc ma#:maf $output_data/$fname/OUTPUT _m19 nc |
---|
207 | DATA_MASK_19_AV_NETCDF out:loc ma#:maf $output_data/$fname/OUTPUT _m19_av nc |
---|
208 | DATA_MASK_20_NETCDF out:loc ma#:maf $output_data/$fname/OUTPUT _m20 nc |
---|
209 | DATA_MASK_20_AV_NETCDF out:loc ma#:maf $output_data/$fname/OUTPUT _m20_av nc |
---|
210 | DATA_PRT_NETCDF out:loc:pe prt#:prtf $output_data/$fname/OUTPUT _prt nc |
---|
211 | DATA_DVR out:loc:pe dvr $output_data/$fname/OUTPUT _dvr |
---|
212 | # |
---|
213 | DVRP_LOG out:loc:tr dv# $base_data/$fname/MONITORING _dvrp_log |
---|
214 | DVRP_LOG out:loc:tra dvf $base_data/$fname/MONITORING _dvrp_log |
---|
215 | PARTICLE_INFO out:loc:tr pt# $base_data/$fname/MONITORING _prt_info |
---|
216 | PARTICLE_INFO out:loc:tra ptf $base_data/$fname/MONITORING _prt_info |
---|
217 | PARTICLE_DATA out:loc:flpe prt#:prtf $base_data/$fname/OUTPUT _prt_dat |
---|
218 | # A BLANK LINE MUST FOLLOW |
---|