1 | #$Id: .mrun.config.forwind 1086 2013-01-09 13:19:07Z raasch $ |
---|
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 $base_directory/JOBS |
---|
8 | %output_data /data/work/fw/<replace by your username>/palm/current_version/JOBS |
---|
9 | # Replace <replace by your username> by your username on FLOW. Replace "/fw/" by "/iwes/" if |
---|
10 | # your user directory resides in /iwes/. |
---|
11 | %source_path $base_directory/trunk/SOURCE |
---|
12 | %add_source_path $base_directory/USER_CODE/$fname |
---|
13 | %depository_path $base_directory/MAKE_DEPOSITORY |
---|
14 | %use_makefile true |
---|
15 | # |
---|
16 | # |
---|
17 | %host_identifier flow* lcflow |
---|
18 | %host_identifier cfdl* lcflow |
---|
19 | %host_identifier cfdh* lcflow |
---|
20 | %host_identifier cfdx* lcflow |
---|
21 | # |
---|
22 | # |
---|
23 | # The next block contains all informations for compiling the PALM code |
---|
24 | # and for generating and running the PALM executable using MPI. Replace <user-id> |
---|
25 | # with your username on FLOW and if necessary "/fw/" by "/iwes/". |
---|
26 | # The following 'lcflow parallel' block assumes PALM compilation and execution |
---|
27 | # on host flow. Please note that other hosts may require different settings. |
---|
28 | # |
---|
29 | %remote_username <replace by your username> lcflow parallel |
---|
30 | %tmp_user_catalog /data/work/fw/<replace by your username>/tmp lcflow parallel |
---|
31 | %tmp_data_catalog /data/work/fw/<replace by your username>/palm_restart_data lcflow parallel |
---|
32 | %compiler_name mpiifort lcflow parallel |
---|
33 | %compiler_name_ser ifort lcflow parallel |
---|
34 | %cpp_options -cpp:-DMPI_REAL=MPI_DOUBLE_PRECISION:-DMPI_2REAL=MPI_2DOUBLE_PRECISION:-D__netcdf:-D__netcdf4:-D__lc:-D__parallel lcflow parallel |
---|
35 | %netcdf_inc -I$$NETCDFF_INCLUDE lcflow parallel |
---|
36 | %netcdf_lib -L$$NETCDFF_DIR:-lnetcdff:-L$$NETCDF_DIR:-lnetcdf lcflow parallel |
---|
37 | %mopts -j:4 lcflow parallel |
---|
38 | %fopts -xSSE4.2:-O3:-r8:-align:all:-ftz:-fno-alias:-no-scalar-rep:-ip:-nbs:-convert:little_endian lcflow parallel |
---|
39 | %lopts -xSSE4.2:-O3:-r8:-align:all:-ftz:-fno-alias:-no-scalar-rep:-ip:-nbs:-Vaxlib lcflow parallel |
---|
40 | %login_init_cmd .:/cm/local/apps/environment-modules/3.2.6/Modules/3.2.6/init/bash\;:MODULEPATH=/cm/shared/modulefiles/ lcflow parallel |
---|
41 | %modules netcdf/4.2.1.1/intel/64/2011.0.013:netcdf-fortran/4.2/intel/64/2011.0.013:intel/ics/64/2011.0.013:intel/impi/4.0.1.007/64:hdf5/1.8.9/intel/64/2011.0.013:qt4/4.8.2 lcflow parallel |
---|
42 | # |
---|
43 | # |
---|
44 | %write_binary true restart |
---|
45 | # |
---|
46 | #---------------------------------------------------------------------------- |
---|
47 | # INPUT-commands, executed before running PALM - lines must start with "IC:" |
---|
48 | #---------------------------------------------------------------------------- |
---|
49 | #IC: |
---|
50 | # |
---|
51 | #---------------------------------------------------------------------------- |
---|
52 | # ERROR-commands - executed when program terminates abnormally |
---|
53 | #---------------------------------------------------------------------------- |
---|
54 | EC:[[ \$locat = execution ]] && cat RUN_CONTROL |
---|
55 | EC:pwd; ls -al |
---|
56 | # |
---|
57 | #---------------------------------------------------------------------------- |
---|
58 | # OUTPUT-commands - executed when program terminates normally |
---|
59 | #---------------------------------------------------------------------------- |
---|
60 | # |
---|
61 | # Combine 1D- and 3D-profile output (these files are not usable for plotting) |
---|
62 | OC:[[ -f LIST_PROFIL_1D ]] && cat LIST_PROFIL_1D >> LIST_PROFILE |
---|
63 | OC:[[ -f LIST_PROFIL ]] && cat LIST_PROFIL >> LIST_PROFILE |
---|
64 | # |
---|
65 | # Combine all particle information files |
---|
66 | OC:[[ -f PARTICLE_INFOS/_0000 ]] && cat PARTICLE_INFOS/* >> PARTICLE_INFO |
---|
67 | # |
---|
68 | #---------------------------------------------------------------------------- |
---|
69 | # List of input-files |
---|
70 | #---------------------------------------------------------------------------- |
---|
71 | PARIN in:job d3# $base_data/$fname/INPUT _p3d |
---|
72 | PARIN in:job d3f $base_data/$fname/INPUT _p3df |
---|
73 | TOPOGRAPHY_DATA in:locopt d3#:d3f $base_data/$fname/INPUT _topo |
---|
74 | BININ in:loc:flpe d3f:rec $base_data/$fname/RESTART _d3d |
---|
75 | PARTICLE_RESTART_DATA_IN in:loc:flpe prtf $base_data/$fname/RESTART _rprt |
---|
76 | DATA_1D_PR_NETCDF in:locopt prf $output_data/$fname/OUTPUT _pr nc |
---|
77 | DATA_1D_SP_NETCDF in:locopt spf $output_data/$fname/OUTPUT _sp nc |
---|
78 | DATA_1D_TS_NETCDF in:locopt tsf $output_data/$fname/OUTPUT _ts nc |
---|
79 | DATA_1D_PTS_NETCDF in:locopt ptsf $output_data/$fname/OUTPUT _pts nc |
---|
80 | DATA_2D_XY_NETCDF in:locopt xyf $output_data/$fname/OUTPUT _xy nc |
---|
81 | DATA_2D_XY_AV_NETCDF in:locopt xyf $output_data/$fname/OUTPUT _xy_av nc |
---|
82 | DATA_2D_XZ_NETCDF in:locopt xzf $output_data/$fname/OUTPUT _xz nc |
---|
83 | DATA_2D_XZ_AV_NETCDF in:locopt xzf $output_data/$fname/OUTPUT _xz_av nc |
---|
84 | DATA_2D_YZ_NETCDF in:locopt yzf $output_data/$fname/OUTPUT _yz nc |
---|
85 | DATA_3D_NETCDF in:locopt 3df $output_data/$fname/OUTPUT _3d nc |
---|
86 | DATA_3D_AV_NETCDF in:locopt 3df $output_data/$fname/OUTPUT _3d_av nc |
---|
87 | DATA_PRT_NETCDF in:locopt:pe prtf $output_data/$fname/OUTPUT _prt |
---|
88 | # |
---|
89 | #---------------------------------------------------------------------------- |
---|
90 | # List of output-files |
---|
91 | #---------------------------------------------------------------------------- |
---|
92 | BINOUT out:loc:flpe restart $base_data/$fname/RESTART _d3d |
---|
93 | PARTICLE_RESTART_DATA_OUT out:loc:flpe prt#:prtf $base_data/$fname/RESTART _rprt |
---|
94 | # |
---|
95 | RUN_CONTROL out:loc: d3# $base_data/$fname/MONITORING _rc |
---|
96 | RUN_CONTROL out:loc:a d3f $base_data/$fname/MONITORING _rc |
---|
97 | HEADER out:loc: d3# $base_data/$fname/MONITORING _header |
---|
98 | HEADER out:loc:a d3f $base_data/$fname/MONITORING _header |
---|
99 | CPU_MEASURES out:loc: d3# $base_data/$fname/MONITORING _cpu |
---|
100 | CPU_MEASURES out:loc:a d3f $base_data/$fname/MONITORING _cpu |
---|
101 | # |
---|
102 | DATA_1D_PR_NETCDF out:loc pr# $output_data/$fname/OUTPUT _pr nc |
---|
103 | DATA_1D_PR_NETCDF out:loc prf $output_data/$fname/OUTPUT _pr nc |
---|
104 | DATA_1D_SP_NETCDF out:loc sp# $output_data/$fname/OUTPUT _sp nc |
---|
105 | DATA_1D_SP_NETCDF out:loc spf $output_data/$fname/OUTPUT _sp nc |
---|
106 | DATA_1D_TS_NETCDF out:loc ts# $output_data/$fname/OUTPUT _ts nc |
---|
107 | DATA_1D_TS_NETCDF out:loc tsf $output_data/$fname/OUTPUT _ts nc |
---|
108 | DATA_1D_PTS_NETCDF out:loc pts# $output_data/$fname/OUTPUT _pts nc |
---|
109 | DATA_1D_PTS_NETCDF out:loc ptsf $output_data/$fname/OUTPUT _pts nc |
---|
110 | DATA_2D_XY_NETCDF out:loc xy#:xyf $output_data/$fname/OUTPUT _xy nc |
---|
111 | DATA_2D_XY_AV_NETCDF out:loc xy#:xyf $output_data/$fname/OUTPUT _xy_av nc |
---|
112 | DATA_2D_XZ_NETCDF out:loc xz#:xzf $output_data/$fname/OUTPUT _xz nc |
---|
113 | DATA_2D_XZ_AV_NETCDF out:loc xz#:xzf $output_data/$fname/OUTPUT _xz_av nc |
---|
114 | DATA_2D_YZ_NETCDF out:loc yz#:yzf $output_data/$fname/OUTPUT _yz nc |
---|
115 | DATA_2D_YZ_AV_NETCDF out:loc yz#:yzf $output_data/$fname/OUTPUT _yz_av nc |
---|
116 | DATA_3D_NETCDF out:loc 3d#:3df $output_data/$fname/OUTPUT _3d nc |
---|
117 | DATA_3D_AV_NETCDF out:loc 3d#:3df $output_data/$fname/OUTPUT _3d_av nc |
---|
118 | DATA_MASK_01_NETCDF out:loc ma#:maf $output_data/$fname/OUTPUT _m01 nc |
---|
119 | DATA_MASK_01_AV_NETCDF out:loc ma#:maf $output_data/$fname/OUTPUT _m01_av nc |
---|
120 | DATA_MASK_02_NETCDF out:loc ma#:maf $output_data/$fname/OUTPUT _m02 nc |
---|
121 | DATA_MASK_02_AV_NETCDF out:loc ma#:maf $output_data/$fname/OUTPUT _m02_av nc |
---|
122 | DATA_MASK_03_NETCDF out:loc ma#:maf $output_data/$fname/OUTPUT _m03 nc |
---|
123 | DATA_MASK_03_AV_NETCDF out:loc ma#:maf $output_data/$fname/OUTPUT _m03_av nc |
---|
124 | DATA_MASK_04_NETCDF out:loc ma#:maf $output_data/$fname/OUTPUT _m04 nc |
---|
125 | DATA_MASK_04_AV_NETCDF out:loc ma#:maf $output_data/$fname/OUTPUT _m04_av nc |
---|
126 | DATA_MASK_05_NETCDF out:loc ma#:maf $output_data/$fname/OUTPUT _m05 nc |
---|
127 | DATA_MASK_05_AV_NETCDF out:loc ma#:maf $output_data/$fname/OUTPUT _m05_av nc |
---|
128 | DATA_MASK_06_NETCDF out:loc ma#:maf $output_data/$fname/OUTPUT _m06 nc |
---|
129 | DATA_MASK_06_AV_NETCDF out:loc ma#:maf $output_data/$fname/OUTPUT _m06_av nc |
---|
130 | DATA_MASK_07_NETCDF out:loc ma#:maf $output_data/$fname/OUTPUT _m07 nc |
---|
131 | DATA_MASK_07_AV_NETCDF out:loc ma#:maf $output_data/$fname/OUTPUT _m07_av nc |
---|
132 | DATA_MASK_08_NETCDF out:loc ma#:maf $output_data/$fname/OUTPUT _m08 nc |
---|
133 | DATA_MASK_08_AV_NETCDF out:loc ma#:maf $output_data/$fname/OUTPUT _m08_av nc |
---|
134 | DATA_MASK_09_NETCDF out:loc ma#:maf $output_data/$fname/OUTPUT _m09 nc |
---|
135 | DATA_MASK_09_AV_NETCDF out:loc ma#:maf $output_data/$fname/OUTPUT _m09_av nc |
---|
136 | DATA_MASK_10_NETCDF out:loc ma#:maf $output_data/$fname/OUTPUT _m10 nc |
---|
137 | DATA_MASK_10_AV_NETCDF out:loc ma#:maf $output_data/$fname/OUTPUT _m10_av nc |
---|
138 | DATA_MASK_11_NETCDF out:loc ma#:maf $output_data/$fname/OUTPUT _m11 nc |
---|
139 | DATA_MASK_11_AV_NETCDF out:loc ma#:maf $output_data/$fname/OUTPUT _m11_av nc |
---|
140 | DATA_MASK_12_NETCDF out:loc ma#:maf $output_data/$fname/OUTPUT _m12 nc |
---|
141 | DATA_MASK_12_AV_NETCDF out:loc ma#:maf $output_data/$fname/OUTPUT _m12_av nc |
---|
142 | DATA_MASK_13_NETCDF out:loc ma#:maf $output_data/$fname/OUTPUT _m13 nc |
---|
143 | DATA_MASK_13_AV_NETCDF out:loc ma#:maf $output_data/$fname/OUTPUT _m13_av nc |
---|
144 | DATA_MASK_14_NETCDF out:loc ma#:maf $output_data/$fname/OUTPUT _m14 nc |
---|
145 | DATA_MASK_14_AV_NETCDF out:loc ma#:maf $output_data/$fname/OUTPUT _m14_av nc |
---|
146 | DATA_MASK_15_NETCDF out:loc ma#:maf $output_data/$fname/OUTPUT _m15 nc |
---|
147 | DATA_MASK_15_AV_NETCDF out:loc ma#:maf $output_data/$fname/OUTPUT _m15_av nc |
---|
148 | DATA_MASK_16_NETCDF out:loc ma#:maf $output_data/$fname/OUTPUT _m16 nc |
---|
149 | DATA_MASK_16_AV_NETCDF out:loc ma#:maf $output_data/$fname/OUTPUT _m16_av nc |
---|
150 | DATA_MASK_17_NETCDF out:loc ma#:maf $output_data/$fname/OUTPUT _m17 nc |
---|
151 | DATA_MASK_17_AV_NETCDF out:loc ma#:maf $output_data/$fname/OUTPUT _m17_av nc |
---|
152 | DATA_MASK_18_NETCDF out:loc ma#:maf $output_data/$fname/OUTPUT _m18 nc |
---|
153 | DATA_MASK_18_AV_NETCDF out:loc ma#:maf $output_data/$fname/OUTPUT _m18_av nc |
---|
154 | DATA_MASK_19_NETCDF out:loc ma#:maf $output_data/$fname/OUTPUT _m19 nc |
---|
155 | DATA_MASK_19_AV_NETCDF out:loc ma#:maf $output_data/$fname/OUTPUT _m19_av nc |
---|
156 | DATA_MASK_20_NETCDF out:loc ma#:maf $output_data/$fname/OUTPUT _m20 nc |
---|
157 | DATA_MASK_20_AV_NETCDF out:loc ma#:maf $output_data/$fname/OUTPUT _m20_av nc |
---|
158 | DATA_PRT_NETCDF out:loc:pe prt#:prtf $output_data/$fname/OUTPUT _prt nc |
---|
159 | DATA_PRT_NETCDF out:loc:pe prt#:prtf $output_data/$fname/OUTPUT _prt nc |
---|
160 | DATA_DVR out:loc:pe dvr $output_data/$fname/OUTPUT _dvr |
---|
161 | # |
---|
162 | DVRP_LOG out:loc:tr dv# $base_data/$fname/MONITORING _dvrp_log |
---|
163 | DVRP_LOG out:loc:tra dvf $base_data/$fname/MONITORING _dvrp_log |
---|
164 | PARTICLE_INFO out:loc:tr pt# $base_data/$fname/MONITORING _prt_info |
---|
165 | PARTICLE_INFO out:loc:tra ptf $base_data/$fname/MONITORING _prt_info |
---|
166 | PARTICLE_DATA out:loc:flpe prt#:prtf $base_data/$fname/OUTPUT _prt_dat |
---|
167 | # A BLANK LINE MUST FOLLOW |
---|