[1657] | 1 | #$Id: .mrun.config.gfortran 1446 2014-08-07 10:08:56Z knoop $ |
---|
[1648] | 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 | %source_path $base_directory/trunk/SOURCE |
---|
| 9 | %add_source_path $base_directory/USER_CODE/$fname |
---|
| 10 | %depository_path $base_directory/MAKE_DEPOSITORY |
---|
| 11 | %use_makefile true |
---|
| 12 | # |
---|
| 13 | # Enter your own host below by adding another line containing in the second |
---|
| 14 | # column your hostname (as provided by the unix command "hostname") and in the |
---|
| 15 | # third column the host identifier. Depending on your operating system, the |
---|
| 16 | # first characters of the host identifier should be "lc" (Linux cluster), "ibm" |
---|
| 17 | # (IBM-AIX), or "nec" (NEC-SX), respectively. |
---|
| 18 | # |
---|
| 19 | # The next line is just an example. Add your own line below or replace this line. |
---|
| 20 | %host_identifier <replace_with_your_hostname> <hi> |
---|
| 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 all |
---|
| 25 | # required paths (given in <>) by the respective paths valid on your host. |
---|
[2260] | 26 | # Also replace <hi> by your host identifier (for example "lcmy") |
---|
[1648] | 27 | # in each line! |
---|
| 28 | # Compilernames, cpp-options and compiler-options are assuming |
---|
| 29 | # an GNU-Compiler and mpich2 on this host! Please change |
---|
| 30 | # appropriately, if you are using a different compiler / MPI-Version. |
---|
| 31 | # |
---|
| 32 | # |
---|
| 33 | %remote_username <replace_with_your_local_username> <hi> parallel |
---|
| 34 | %tmp_user_catalog $HOME/palm/tmp <hi> parallel |
---|
| 35 | %compiler_name mpif90 <hi> parallel |
---|
| 36 | %compiler_name_ser gfortran <hi> parallel |
---|
| 37 | %cpp_options -cpp:-DMPI_REAL=MPI_DOUBLE_PRECISION:-DMPI_2REAL=MPI_2DOUBLE_PRECISION:-D__lc:-D__netcdf:-D__parallel <hi> parallel |
---|
| 38 | %netcdf_inc -I:<replace_by_netcdf_include_path> <hi> parallel |
---|
| 39 | %netcdf_lib -L:<replace_by_netcdf_library_path>:-lnetcdf <hi> parallel |
---|
| 40 | %mopts -j:4 <hi> parallel |
---|
| 41 | %fopts -Ofast <hi> parallel |
---|
| 42 | %lopts -Ofast <hi> parallel |
---|
[1657] | 43 | # if you want to use your own hostfile, uncomment next line |
---|
| 44 | #%hostfile $base_directory/.hostfile <hi> parallel |
---|
| 45 | # if you want to load modules on the remote host, use the following line |
---|
| 46 | #%modules <replace_by_the_modules_to_be_loaded> <hi> parallel |
---|
| 47 | # if you want to perform initial commands on ssh connections, use the following line |
---|
| 48 | #%login_init_cmd <replace_by_the_inital_commands> <hi> parallel |
---|
[1648] | 49 | # |
---|
| 50 | # |
---|
| 51 | %remote_username <replace_with_your_local_username> <hi> parallel trace |
---|
| 52 | %tmp_user_catalog $HOME/palm/tmp <hi> parallel trace |
---|
| 53 | %compiler_name mpif90 <hi> parallel trace |
---|
| 54 | %compiler_name_ser gfortran <hi> parallel trace |
---|
| 55 | %cpp_options -cpp:-DMPI_REAL=MPI_DOUBLE_PRECISION:-DMPI_2REAL=MPI_2DOUBLE_PRECISION:-D__lc:-D__netcdf:-D__parallel <hi> parallel trace |
---|
| 56 | %netcdf_inc -I:<replace_by_netcdf_include_path> <hi> parallel trace |
---|
| 57 | %netcdf_lib -L:<replace_by_netcdf_library_path>:-lnetcdf <hi> parallel trace |
---|
| 58 | %mopts -j:4 <hi> parallel trace |
---|
| 59 | %fopts -O0:-Wall:-fbacktrace <hi> parallel trace |
---|
| 60 | %lopts -O0:-Wall:-fbacktrace <hi> parallel trace |
---|
[1657] | 61 | # if you want to use your own hostfile, uncomment next line |
---|
| 62 | #%hostfile $base_directory/.hostfile <hi> parallel trace |
---|
| 63 | # if you want to load modules on the remote host, use the following line |
---|
| 64 | #%modules <replace_by_the_modules_to_be_loaded> <hi> parallel trace |
---|
| 65 | # if you want to perform initial commands on ssh connections, use the following line |
---|
| 66 | #%login_init_cmd <replace_by_the_inital_commands> <hi> parallel trace |
---|
[1648] | 67 | # |
---|
[1657] | 68 | # |
---|
[1648] | 69 | %write_binary true restart |
---|
| 70 | # |
---|
| 71 | #---------------------------------------------------------------------------- |
---|
[2260] | 72 | # INPUT-commands, executed before running PALM - lines must start with "IC:" |
---|
[1648] | 73 | #---------------------------------------------------------------------------- |
---|
| 74 | #IC: |
---|
| 75 | # |
---|
| 76 | #---------------------------------------------------------------------------- |
---|
| 77 | # ERROR-commands - executed when program terminates abnormally |
---|
| 78 | #---------------------------------------------------------------------------- |
---|
| 79 | EC:[[ \$locat = execution ]] && cat RUN_CONTROL |
---|
| 80 | EC:pwd; ls -al |
---|
| 81 | # |
---|
| 82 | #---------------------------------------------------------------------------- |
---|
| 83 | # OUTPUT-commands - executed when program terminates normally |
---|
| 84 | #---------------------------------------------------------------------------- |
---|
| 85 | # |
---|
| 86 | # Combine 1D- and 3D-profile output (these files are not usable for plotting) |
---|
| 87 | OC:[[ -f LIST_PROFIL_1D ]] && cat LIST_PROFIL_1D >> LIST_PROFILE |
---|
| 88 | OC:[[ -f LIST_PROFIL ]] && cat LIST_PROFIL >> LIST_PROFILE |
---|
| 89 | # |
---|
| 90 | # Combine all particle information files |
---|
| 91 | OC:[[ -f PARTICLE_INFOS/_0000 ]] && cat PARTICLE_INFOS/* >> PARTICLE_INFO |
---|
| 92 | # |
---|
| 93 | #---------------------------------------------------------------------------- |
---|
| 94 | # List of input-files |
---|
| 95 | #---------------------------------------------------------------------------- |
---|
| 96 | PARIN in:job d3# $base_data/$fname/INPUT _p3d |
---|
| 97 | PARIN in:job d3f $base_data/$fname/INPUT _p3df |
---|
| 98 | TOPOGRAPHY_DATA in:locopt d3#:d3f $base_data/$fname/INPUT _topo |
---|
[2236] | 99 | TOPOGRAPHY_DATA_NC in:locopt d3#:d3f $base_data/$fname/INPUT _topo_nc |
---|
[1648] | 100 | NUDGING_DATA in:locopt d3#:d3f $base_data/$fname/INPUT _nudge |
---|
| 101 | LSF_DATA in:locopt d3#:d3f $base_data/$fname/INPUT _lsf |
---|
[1914] | 102 | WTM_DATA in:locopt d3#:d3f $base_data/$fname/INPUT _wtm |
---|
[2260] | 103 | STG_PROFILES in:locopt d3#:d3f $base_data/$fname/INPUT _stgpr |
---|
[1648] | 104 | BININ in:loc:flpe d3f $base_data/$fname/RESTART _d3d |
---|
| 105 | PARTICLE_RESTART_DATA_IN in:loc:flpe prtf $base_data/$fname/RESTART _rprt |
---|
[1959] | 106 | DATA_1D_FL_NETCDF in:locopt flf $base_data/$fname/OUTPUT _fl nc |
---|
[1648] | 107 | DATA_1D_PR_NETCDF in:locopt prf $base_data/$fname/OUTPUT _pr nc |
---|
| 108 | DATA_1D_SP_NETCDF in:locopt spf $base_data/$fname/OUTPUT _sp nc |
---|
| 109 | DATA_1D_TS_NETCDF in:locopt tsf $base_data/$fname/OUTPUT _ts nc |
---|
| 110 | DATA_1D_PTS_NETCDF in:locopt ptsf $base_data/$fname/OUTPUT _pts nc |
---|
| 111 | DATA_2D_XY_NETCDF in:locopt xyf $base_data/$fname/OUTPUT _xy nc |
---|
| 112 | DATA_2D_XY_AV_NETCDF in:locopt xyf $base_data/$fname/OUTPUT _xy_av nc |
---|
| 113 | DATA_2D_XZ_NETCDF in:locopt xzf $base_data/$fname/OUTPUT _xz nc |
---|
| 114 | DATA_2D_YZ_NETCDF in:locopt yzf $base_data/$fname/OUTPUT _yz nc |
---|
| 115 | DATA_3D_NETCDF in:locopt 3df $base_data/$fname/OUTPUT _3d nc |
---|
| 116 | DATA_PRT_NETCDF in:locopt:pe prtf $base_data/$fname/OUTPUT _prt |
---|
| 117 | # |
---|
| 118 | #---------------------------------------------------------------------------- |
---|
| 119 | # List of output-files |
---|
| 120 | #---------------------------------------------------------------------------- |
---|
| 121 | BINOUT out:loc:flpe restart $base_data/$fname/RESTART _d3d |
---|
| 122 | PARTICLE_RESTART_DATA_OUT out:loc:flpe prt#:prtf $base_data/$fname/RESTART _rprt |
---|
| 123 | # |
---|
| 124 | RUN_CONTROL out:loc:tr d3# $base_data/$fname/MONITORING _rc |
---|
| 125 | RUN_CONTROL out:loc:tra d3f $base_data/$fname/MONITORING _rc |
---|
| 126 | HEADER out:loc:tr d3# $base_data/$fname/MONITORING _header |
---|
| 127 | HEADER out:loc:tra d3f $base_data/$fname/MONITORING _header |
---|
| 128 | CPU_MEASURES out:loc:tr d3# $base_data/$fname/MONITORING _cpu |
---|
| 129 | CPU_MEASURES out:loc:tra d3f $base_data/$fname/MONITORING _cpu |
---|
[1914] | 130 | TURBINE_PARAMETERS01 out:loc:tr d3#:d3f $base_data/$fname/MONITORING _turbine_parameters01 |
---|
| 131 | TURBINE_PARAMETERS02 out:loc:tr d3#:d3f $base_data/$fname/MONITORING _turbine_parameters02 |
---|
| 132 | TURBINE_PARAMETERS03 out:loc:tr d3#:d3f $base_data/$fname/MONITORING _turbine_parameters03 |
---|
| 133 | TURBINE_PARAMETERS04 out:loc:tr d3#:d3f $base_data/$fname/MONITORING _turbine_parameters04 |
---|
[1648] | 134 | # |
---|
[1959] | 135 | DATA_1D_FL_NETCDF out:loc:tr fl#:flf $base_data/$fname/OUTPUT _fl nc |
---|
[1648] | 136 | DATA_1D_PR_NETCDF out:loc:tr pr#:prf $base_data/$fname/OUTPUT _pr nc |
---|
| 137 | DATA_1D_SP_NETCDF out:loc:tr sp#:spf $base_data/$fname/OUTPUT _sp nc |
---|
| 138 | DATA_1D_TS_NETCDF out:loc:tr ts#:tsf $base_data/$fname/OUTPUT _ts nc |
---|
| 139 | DATA_1D_PTS_NETCDF out:loc:tr pts#:ptsf $base_data/$fname/OUTPUT _pts nc |
---|
| 140 | DATA_2D_XY_NETCDF out:loc:tr xy#:xyf $base_data/$fname/OUTPUT _xy nc |
---|
| 141 | DATA_2D_XY_AV_NETCDF out:loc:tr xy#:xyf $base_data/$fname/OUTPUT _xy_av nc |
---|
| 142 | DATA_2D_XZ_NETCDF out:loc:tr xz#:xzf $base_data/$fname/OUTPUT _xz nc |
---|
| 143 | DATA_2D_XZ_AV_NETCDF out:loc:tr xz#:xzf $base_data/$fname/OUTPUT _xz_av nc |
---|
| 144 | DATA_2D_YZ_NETCDF out:loc:tr yz#:yzf $base_data/$fname/OUTPUT _yz nc |
---|
| 145 | DATA_2D_YZ_AV_NETCDF out:loc:tr yz#:yzf $base_data/$fname/OUTPUT _yz_av nc |
---|
| 146 | DATA_3D_NETCDF out:loc:tr 3d#:3df $base_data/$fname/OUTPUT _3d nc |
---|
| 147 | DATA_3D_AV_NETCDF out:loc:tr 3d#:3df $base_data/$fname/OUTPUT _3d_av nc |
---|
| 148 | DATA_MASK_01_NETCDF out:loc:tr ma#:maf $base_data/$fname/OUTPUT _m01 nc |
---|
| 149 | DATA_MASK_01_AV_NETCDF out:loc:tr ma#:maf $base_data/$fname/OUTPUT _m01_av nc |
---|
| 150 | DATA_MASK_02_NETCDF out:loc:tr ma#:maf $base_data/$fname/OUTPUT _m02 nc |
---|
| 151 | DATA_MASK_02_AV_NETCDF out:loc:tr ma#:maf $base_data/$fname/OUTPUT _m02_av nc |
---|
| 152 | DATA_MASK_03_NETCDF out:loc:tr ma#:maf $base_data/$fname/OUTPUT _m03 nc |
---|
| 153 | DATA_MASK_03_AV_NETCDF out:loc:tr ma#:maf $base_data/$fname/OUTPUT _m03_av nc |
---|
| 154 | DATA_MASK_04_NETCDF out:loc:tr ma#:maf $base_data/$fname/OUTPUT _m04 nc |
---|
| 155 | DATA_MASK_04_AV_NETCDF out:loc:tr ma#:maf $base_data/$fname/OUTPUT _m04_av nc |
---|
| 156 | DATA_MASK_05_NETCDF out:loc:tr ma#:maf $base_data/$fname/OUTPUT _m05 nc |
---|
| 157 | DATA_MASK_05_AV_NETCDF out:loc:tr ma#:maf $base_data/$fname/OUTPUT _m05_av nc |
---|
| 158 | DATA_MASK_06_NETCDF out:loc:tr ma#:maf $base_data/$fname/OUTPUT _m06 nc |
---|
| 159 | DATA_MASK_06_AV_NETCDF out:loc:tr ma#:maf $base_data/$fname/OUTPUT _m06_av nc |
---|
| 160 | DATA_MASK_07_NETCDF out:loc:tr ma#:maf $base_data/$fname/OUTPUT _m07 nc |
---|
| 161 | DATA_MASK_07_AV_NETCDF out:loc:tr ma#:maf $base_data/$fname/OUTPUT _m07_av nc |
---|
| 162 | DATA_MASK_08_NETCDF out:loc:tr ma#:maf $base_data/$fname/OUTPUT _m08 nc |
---|
| 163 | DATA_MASK_08_AV_NETCDF out:loc:tr ma#:maf $base_data/$fname/OUTPUT _m08_av nc |
---|
| 164 | DATA_MASK_09_NETCDF out:loc:tr ma#:maf $base_data/$fname/OUTPUT _m09 nc |
---|
| 165 | DATA_MASK_09_AV_NETCDF out:loc:tr ma#:maf $base_data/$fname/OUTPUT _m09_av nc |
---|
| 166 | DATA_MASK_10_NETCDF out:loc:tr ma#:maf $base_data/$fname/OUTPUT _m10 nc |
---|
| 167 | DATA_MASK_10_AV_NETCDF out:loc:tr ma#:maf $base_data/$fname/OUTPUT _m10_av nc |
---|
| 168 | DATA_MASK_11_NETCDF out:loc:tr ma#:maf $base_data/$fname/OUTPUT _m11 nc |
---|
| 169 | DATA_MASK_11_AV_NETCDF out:loc:tr ma#:maf $base_data/$fname/OUTPUT _m11_av nc |
---|
| 170 | DATA_MASK_12_NETCDF out:loc:tr ma#:maf $base_data/$fname/OUTPUT _m12 nc |
---|
| 171 | DATA_MASK_12_AV_NETCDF out:loc:tr ma#:maf $base_data/$fname/OUTPUT _m12_av nc |
---|
| 172 | DATA_MASK_13_NETCDF out:loc:tr ma#:maf $base_data/$fname/OUTPUT _m13 nc |
---|
| 173 | DATA_MASK_13_AV_NETCDF out:loc:tr ma#:maf $base_data/$fname/OUTPUT _m13_av nc |
---|
| 174 | DATA_MASK_14_NETCDF out:loc:tr ma#:maf $base_data/$fname/OUTPUT _m14 nc |
---|
| 175 | DATA_MASK_14_AV_NETCDF out:loc:tr ma#:maf $base_data/$fname/OUTPUT _m14_av nc |
---|
| 176 | DATA_MASK_15_NETCDF out:loc:tr ma#:maf $base_data/$fname/OUTPUT _m15 nc |
---|
| 177 | DATA_MASK_15_AV_NETCDF out:loc:tr ma#:maf $base_data/$fname/OUTPUT _m15_av nc |
---|
| 178 | DATA_MASK_16_NETCDF out:loc:tr ma#:maf $base_data/$fname/OUTPUT _m16 nc |
---|
| 179 | DATA_MASK_16_AV_NETCDF out:loc:tr ma#:maf $base_data/$fname/OUTPUT _m16_av nc |
---|
| 180 | DATA_MASK_17_NETCDF out:loc:tr ma#:maf $base_data/$fname/OUTPUT _m17 nc |
---|
| 181 | DATA_MASK_17_AV_NETCDF out:loc:tr ma#:maf $base_data/$fname/OUTPUT _m17_av nc |
---|
| 182 | DATA_MASK_18_NETCDF out:loc:tr ma#:maf $base_data/$fname/OUTPUT _m18 nc |
---|
| 183 | DATA_MASK_18_AV_NETCDF out:loc:tr ma#:maf $base_data/$fname/OUTPUT _m18_av nc |
---|
| 184 | DATA_MASK_19_NETCDF out:loc:tr ma#:maf $base_data/$fname/OUTPUT _m19 nc |
---|
| 185 | DATA_MASK_19_AV_NETCDF out:loc:tr ma#:maf $base_data/$fname/OUTPUT _m19_av nc |
---|
| 186 | DATA_MASK_20_NETCDF out:loc:tr ma#:maf $base_data/$fname/OUTPUT _m20 nc |
---|
| 187 | DATA_MASK_20_AV_NETCDF out:loc:tr ma#:maf $base_data/$fname/OUTPUT _m20_av nc |
---|
| 188 | DATA_PRT_NETCDF out:loc:trpe prt#:prtf $base_data/$fname/OUTPUT _prt nc |
---|
[2260] | 189 | DATA_DVR out:loc:trpe dvr $base_data/$fname/OUTPUT _dvr |
---|
[1648] | 190 | # |
---|
| 191 | DVRP_LOG out:loc:tr dv# $base_data/$fname/MONITORING _dvrp_log |
---|
| 192 | DVRP_LOG out:loc:tra dvf $base_data/$fname/MONITORING _dvrp_log |
---|
| 193 | PARTICLE_INFO out:loc:tr pt# $base_data/$fname/MONITORING _prt_info |
---|
| 194 | PARTICLE_INFO out:loc:tra ptf $base_data/$fname/MONITORING _prt_info |
---|
| 195 | PARTICLE_DATA out:loc:flpe prt#:prtf $base_data/$fname/OUTPUT _prt_dat |
---|
| 196 | # A BLANK LINE MUST FOLLOW |
---|