[892] | 1 | #$Id: .mrun.config.forwind 1446 2014-08-07 10:08:56Z kanani $ |
---|
[755] | 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 |
---|
[1151] | 7 | %base_data ~/palm/current_version/JOBS |
---|
[1099] | 8 | ################################################################################ |
---|
[1446] | 9 | # Replace <replace_with_your_local_username> by your username on FLOW. Replace "/fw/" |
---|
[1099] | 10 | # by "/iwes/" if your user directory resides in /iwes/. |
---|
| 11 | ################################################################################ |
---|
[1446] | 12 | %output_data /data/work/gpfs/fw/<replace_with_your_local_username>/palm/current_version/JOBS |
---|
[755] | 13 | %source_path $base_directory/trunk/SOURCE |
---|
[1151] | 14 | %add_source_path $base_directory/USER_CODE/$fname |
---|
| 15 | %depository_path $base_directory/MAKE_DEPOSITORY |
---|
[755] | 16 | %use_makefile true |
---|
| 17 | # |
---|
| 18 | # |
---|
| 19 | %host_identifier flow* lcflow |
---|
| 20 | %host_identifier cfdl* lcflow |
---|
| 21 | %host_identifier cfdh* lcflow |
---|
[1086] | 22 | %host_identifier cfdx* lcflow |
---|
[1099] | 23 | |
---|
| 24 | ################################################################################ |
---|
[1446] | 25 | # Replace <eplace_with_your_local_hostname> by the hostname of your desktop |
---|
[1099] | 26 | # an uncomment following line to enable job submission from you local desktop |
---|
| 27 | ################################################################################ |
---|
[1446] | 28 | #%host_identifier <replace_with_your_local_hostname> lcfor |
---|
[1099] | 29 | |
---|
| 30 | ################################################################################ |
---|
| 31 | # Configuration for Ubuntu Linux 12.04 LTS with gcc (4.6.3) and OpenMPI (1.4.3) |
---|
[755] | 32 | # |
---|
[1099] | 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 |
---|
[1446] | 35 | # with gcc and OpenMPI. Replace <replace_with_your_local_username> with your |
---|
| 36 | # username on your |
---|
[1099] | 37 | # local machine |
---|
[755] | 38 | # |
---|
[1099] | 39 | # NOTE: - Other hosts may require different settings. |
---|
| 40 | # - following packages are required: |
---|
| 41 | # openmpi-common, libopenmpi-dev, libopenmpi, libnetcdf, libnetcdf-dev, |
---|
| 42 | # gcc |
---|
[1151] | 43 | # - depending on where you installed netcdf, you may have to adjust the paths |
---|
| 44 | # given in %netcdf_inc and %netcdf_lib |
---|
[1099] | 45 | # |
---|
| 46 | ################################################################################ |
---|
[1446] | 47 | %remote_username <replace_with_your_local_username> lcfor parallel |
---|
[1099] | 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 |
---|
[1151] | 53 | %netcdf_inc -I/usr/include lcfor parallel |
---|
| 54 | %netcdf_lib -L/usr/lib:-lnetcdff:-lnetcdf lcfor parallel |
---|
[1099] | 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 | # |
---|
[755] | 62 | # The next block contains all informations for compiling the PALM code |
---|
[1099] | 63 | # and for generating and running the PALM executable using MPI. Replace <USERNAME_FLOW> |
---|
[755] | 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. |
---|
[1099] | 67 | ################################################################################ |
---|
[1446] | 68 | %remote_username <replace_with_your_FLOW_username> lcflow parallel |
---|
[1204] | 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 |
---|
[1099] | 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/apps/netcdf-fortran/4.2/intel/64/2011.0.013/include lcflow parallel |
---|
| 75 | %netcdf_lib -L/cm/shared/apps/netcdf-fortran/4.2/intel/64/2011.0.013/lib:-lnetcdff:-L/cm/shared/apps/netcdf/4.2.1.1/intel/64/2011.0.013/lib:-lnetcdf:-L/cm/shared/apps/hdf5/1.8.9/intel/64/2011.0.013/lib:-Wl,-rpath:/cm/shared/apps/hdf5/1.8.9/intel/64/2011.0.013/lib:-Wl,-rpath:/cm/shared/apps/netcdf/4.2.1.1/intel/64/2011.0.013/lib:-Wl,-rpath:/cm/shared/apps/netcdf-fortran/4.2/intel/64/2011.0.013/lib lcflow parallel |
---|
| 76 | %mopts -j:8 lcflow parallel |
---|
| 77 | %fopts -xhost:-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 -xhost:-O3:-fpp:-r8:-align:all:-ftz:-fno-alias:-no-scalar-rep:-no-prec-sqrt:-ip:-nbs:-static-intel:-Wl,-rpath:/cm/shared/apps/intel/ics-2011.0.013/composerxe-2011.0.084/compiler/lib/intel64 lcflow parallel |
---|
[1151] | 79 | %login_init_cmd .:/etc/bashrc lcflow parallel |
---|
[1204] | 80 | %modules sge/6.2u5p2: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/64/4.1.0.024:hdf5/1.8.9/intel/64/2011.0.013:qt4 lcflow parallel |
---|
| 81 | %memory 1800 lcflow parallel |
---|
[1099] | 82 | %disc_space 50 lcflow parallel |
---|
[755] | 83 | # |
---|
| 84 | # |
---|
| 85 | %write_binary true restart |
---|
| 86 | # |
---|
| 87 | #---------------------------------------------------------------------------- |
---|
| 88 | # INPUT-commands, executed before running PALM - lines must start with "IC:" |
---|
| 89 | #---------------------------------------------------------------------------- |
---|
| 90 | #IC: |
---|
| 91 | # |
---|
| 92 | #---------------------------------------------------------------------------- |
---|
| 93 | # ERROR-commands - executed when program terminates abnormally |
---|
| 94 | #---------------------------------------------------------------------------- |
---|
| 95 | EC:[[ \$locat = execution ]] && cat RUN_CONTROL |
---|
| 96 | EC:pwd; ls -al |
---|
| 97 | # |
---|
| 98 | #---------------------------------------------------------------------------- |
---|
| 99 | # OUTPUT-commands - executed when program terminates normally |
---|
| 100 | #---------------------------------------------------------------------------- |
---|
| 101 | # |
---|
| 102 | # Combine 1D- and 3D-profile output (these files are not usable for plotting) |
---|
| 103 | OC:[[ -f LIST_PROFIL_1D ]] && cat LIST_PROFIL_1D >> LIST_PROFILE |
---|
| 104 | OC:[[ -f LIST_PROFIL ]] && cat LIST_PROFIL >> LIST_PROFILE |
---|
| 105 | # |
---|
| 106 | # Combine all particle information files |
---|
| 107 | OC:[[ -f PARTICLE_INFOS/_0000 ]] && cat PARTICLE_INFOS/* >> PARTICLE_INFO |
---|
| 108 | # |
---|
| 109 | #---------------------------------------------------------------------------- |
---|
| 110 | # List of input-files |
---|
| 111 | #---------------------------------------------------------------------------- |
---|
[1202] | 112 | PARIN in:job d3# $base_data/$fname/INPUT _p3d |
---|
| 113 | PARIN in:job d3f $base_data/$fname/INPUT _p3df |
---|
| 114 | TOPOGRAPHY_DATA in:locopt d3#:d3f $base_data/$fname/INPUT _topo |
---|
[1241] | 115 | NUDGING_DATA in:locopt d3#:d3f $base_data/$fname/INPUT _nudge |
---|
| 116 | LSF_DATA in:locopt d3#:d3f $base_data/$fname/INPUT _lsf |
---|
[1202] | 117 | BININ in:loc:flpe d3f:rec $base_data/$fname/RESTART _d3d |
---|
| 118 | PARTICLE_RESTART_DATA_IN in:loc:flpe prtf $base_data/$fname/RESTART _rprt |
---|
| 119 | DATA_1D_PR_NETCDF in:locopt prf $output_data/$fname/OUTPUT _pr nc |
---|
| 120 | DATA_1D_SP_NETCDF in:locopt spf $output_data/$fname/OUTPUT _sp nc |
---|
| 121 | DATA_1D_TS_NETCDF in:locopt tsf $output_data/$fname/OUTPUT _ts nc |
---|
| 122 | DATA_1D_PTS_NETCDF in:locopt ptsf $output_data/$fname/OUTPUT _pts nc |
---|
| 123 | DATA_2D_XY_NETCDF in:locopt xyf $output_data/$fname/OUTPUT _xy nc |
---|
| 124 | DATA_2D_XY_AV_NETCDF in:locopt xyf $output_data/$fname/OUTPUT _xy_av nc |
---|
| 125 | DATA_2D_XZ_NETCDF in:locopt xzf $output_data/$fname/OUTPUT _xz nc |
---|
| 126 | DATA_2D_XZ_AV_NETCDF in:locopt xzf $output_data/$fname/OUTPUT _xz_av nc |
---|
| 127 | DATA_2D_YZ_NETCDF in:locopt yzf $output_data/$fname/OUTPUT _yz nc |
---|
| 128 | DATA_2D_YZ_AV_NETCDF in:locopt yzf $output_data/$fname/OUTPUT _yz_av nc |
---|
| 129 | DATA_3D_NETCDF in:locopt 3df $output_data/$fname/OUTPUT _3d nc |
---|
| 130 | DATA_3D_AV_NETCDF in:locopt 3df $output_data/$fname/OUTPUT _3d_av nc |
---|
| 131 | DATA_PRT_NETCDF in:locopt:pe prtf $output_data/$fname/OUTPUT _prt nc |
---|
[755] | 132 | # |
---|
| 133 | #---------------------------------------------------------------------------- |
---|
| 134 | # List of output-files |
---|
| 135 | #---------------------------------------------------------------------------- |
---|
| 136 | BINOUT out:loc:flpe restart $base_data/$fname/RESTART _d3d |
---|
| 137 | PARTICLE_RESTART_DATA_OUT out:loc:flpe prt#:prtf $base_data/$fname/RESTART _rprt |
---|
| 138 | # |
---|
[1152] | 139 | RUN_CONTROL out:loc:tr d3# $base_data/$fname/MONITORING _rc |
---|
| 140 | RUN_CONTROL out:loc:tra d3f $base_data/$fname/MONITORING _rc |
---|
| 141 | HEADER out:loc:tr d3# $base_data/$fname/MONITORING _header |
---|
| 142 | HEADER out:loc:tra d3f $base_data/$fname/MONITORING _header |
---|
| 143 | CPU_MEASURES out:loc:tr d3# $base_data/$fname/MONITORING _cpu |
---|
| 144 | CPU_MEASURES out:loc:tra d3f $base_data/$fname/MONITORING _cpu |
---|
[755] | 145 | # |
---|
[1202] | 146 | DATA_1D_PR_NETCDF out:loc pr# $output_data/$fname/OUTPUT _pr nc |
---|
| 147 | DATA_1D_PR_NETCDF out:loc prf $output_data/$fname/OUTPUT _pr nc |
---|
| 148 | DATA_1D_SP_NETCDF out:loc sp# $output_data/$fname/OUTPUT _sp nc |
---|
| 149 | DATA_1D_SP_NETCDF out:loc spf $output_data/$fname/OUTPUT _sp nc |
---|
| 150 | DATA_1D_TS_NETCDF out:loc ts# $output_data/$fname/OUTPUT _ts nc |
---|
| 151 | DATA_1D_TS_NETCDF out:loc tsf $output_data/$fname/OUTPUT _ts nc |
---|
| 152 | DATA_1D_PTS_NETCDF out:loc pts# $output_data/$fname/OUTPUT _pts nc |
---|
| 153 | DATA_1D_PTS_NETCDF out:loc ptsf $output_data/$fname/OUTPUT _pts nc |
---|
| 154 | DATA_2D_XY_NETCDF out:loc xy#:xyf $output_data/$fname/OUTPUT _xy nc |
---|
| 155 | DATA_2D_XY_AV_NETCDF out:loc xy#:xyf $output_data/$fname/OUTPUT _xy_av nc |
---|
| 156 | DATA_2D_XZ_NETCDF out:loc xz#:xzf $output_data/$fname/OUTPUT _xz nc |
---|
| 157 | DATA_2D_XZ_AV_NETCDF out:loc xz#:xzf $output_data/$fname/OUTPUT _xz_av nc |
---|
| 158 | DATA_2D_YZ_NETCDF out:loc yz#:yzf $output_data/$fname/OUTPUT _yz nc |
---|
| 159 | DATA_2D_YZ_AV_NETCDF out:loc yz#:yzf $output_data/$fname/OUTPUT _yz_av nc |
---|
| 160 | DATA_3D_NETCDF out:loc 3d#:3df $output_data/$fname/OUTPUT _3d nc |
---|
| 161 | DATA_3D_AV_NETCDF out:loc 3d#:3df $output_data/$fname/OUTPUT _3d_av nc |
---|
[755] | 162 | DATA_MASK_01_NETCDF out:loc ma#:maf $output_data/$fname/OUTPUT _m01 nc |
---|
| 163 | DATA_MASK_01_AV_NETCDF out:loc ma#:maf $output_data/$fname/OUTPUT _m01_av nc |
---|
| 164 | DATA_MASK_02_NETCDF out:loc ma#:maf $output_data/$fname/OUTPUT _m02 nc |
---|
| 165 | DATA_MASK_02_AV_NETCDF out:loc ma#:maf $output_data/$fname/OUTPUT _m02_av nc |
---|
| 166 | DATA_MASK_03_NETCDF out:loc ma#:maf $output_data/$fname/OUTPUT _m03 nc |
---|
| 167 | DATA_MASK_03_AV_NETCDF out:loc ma#:maf $output_data/$fname/OUTPUT _m03_av nc |
---|
| 168 | DATA_MASK_04_NETCDF out:loc ma#:maf $output_data/$fname/OUTPUT _m04 nc |
---|
| 169 | DATA_MASK_04_AV_NETCDF out:loc ma#:maf $output_data/$fname/OUTPUT _m04_av nc |
---|
| 170 | DATA_MASK_05_NETCDF out:loc ma#:maf $output_data/$fname/OUTPUT _m05 nc |
---|
| 171 | DATA_MASK_05_AV_NETCDF out:loc ma#:maf $output_data/$fname/OUTPUT _m05_av nc |
---|
| 172 | DATA_MASK_06_NETCDF out:loc ma#:maf $output_data/$fname/OUTPUT _m06 nc |
---|
| 173 | DATA_MASK_06_AV_NETCDF out:loc ma#:maf $output_data/$fname/OUTPUT _m06_av nc |
---|
| 174 | DATA_MASK_07_NETCDF out:loc ma#:maf $output_data/$fname/OUTPUT _m07 nc |
---|
| 175 | DATA_MASK_07_AV_NETCDF out:loc ma#:maf $output_data/$fname/OUTPUT _m07_av nc |
---|
| 176 | DATA_MASK_08_NETCDF out:loc ma#:maf $output_data/$fname/OUTPUT _m08 nc |
---|
| 177 | DATA_MASK_08_AV_NETCDF out:loc ma#:maf $output_data/$fname/OUTPUT _m08_av nc |
---|
| 178 | DATA_MASK_09_NETCDF out:loc ma#:maf $output_data/$fname/OUTPUT _m09 nc |
---|
| 179 | DATA_MASK_09_AV_NETCDF out:loc ma#:maf $output_data/$fname/OUTPUT _m09_av nc |
---|
| 180 | DATA_MASK_10_NETCDF out:loc ma#:maf $output_data/$fname/OUTPUT _m10 nc |
---|
| 181 | DATA_MASK_10_AV_NETCDF out:loc ma#:maf $output_data/$fname/OUTPUT _m10_av nc |
---|
| 182 | DATA_MASK_11_NETCDF out:loc ma#:maf $output_data/$fname/OUTPUT _m11 nc |
---|
| 183 | DATA_MASK_11_AV_NETCDF out:loc ma#:maf $output_data/$fname/OUTPUT _m11_av nc |
---|
| 184 | DATA_MASK_12_NETCDF out:loc ma#:maf $output_data/$fname/OUTPUT _m12 nc |
---|
| 185 | DATA_MASK_12_AV_NETCDF out:loc ma#:maf $output_data/$fname/OUTPUT _m12_av nc |
---|
| 186 | DATA_MASK_13_NETCDF out:loc ma#:maf $output_data/$fname/OUTPUT _m13 nc |
---|
| 187 | DATA_MASK_13_AV_NETCDF out:loc ma#:maf $output_data/$fname/OUTPUT _m13_av nc |
---|
| 188 | DATA_MASK_14_NETCDF out:loc ma#:maf $output_data/$fname/OUTPUT _m14 nc |
---|
| 189 | DATA_MASK_14_AV_NETCDF out:loc ma#:maf $output_data/$fname/OUTPUT _m14_av nc |
---|
| 190 | DATA_MASK_15_NETCDF out:loc ma#:maf $output_data/$fname/OUTPUT _m15 nc |
---|
| 191 | DATA_MASK_15_AV_NETCDF out:loc ma#:maf $output_data/$fname/OUTPUT _m15_av nc |
---|
| 192 | DATA_MASK_16_NETCDF out:loc ma#:maf $output_data/$fname/OUTPUT _m16 nc |
---|
| 193 | DATA_MASK_16_AV_NETCDF out:loc ma#:maf $output_data/$fname/OUTPUT _m16_av nc |
---|
| 194 | DATA_MASK_17_NETCDF out:loc ma#:maf $output_data/$fname/OUTPUT _m17 nc |
---|
| 195 | DATA_MASK_17_AV_NETCDF out:loc ma#:maf $output_data/$fname/OUTPUT _m17_av nc |
---|
| 196 | DATA_MASK_18_NETCDF out:loc ma#:maf $output_data/$fname/OUTPUT _m18 nc |
---|
| 197 | DATA_MASK_18_AV_NETCDF out:loc ma#:maf $output_data/$fname/OUTPUT _m18_av nc |
---|
| 198 | DATA_MASK_19_NETCDF out:loc ma#:maf $output_data/$fname/OUTPUT _m19 nc |
---|
| 199 | DATA_MASK_19_AV_NETCDF out:loc ma#:maf $output_data/$fname/OUTPUT _m19_av nc |
---|
| 200 | DATA_MASK_20_NETCDF out:loc ma#:maf $output_data/$fname/OUTPUT _m20 nc |
---|
| 201 | DATA_MASK_20_AV_NETCDF out:loc ma#:maf $output_data/$fname/OUTPUT _m20_av nc |
---|
[1202] | 202 | DATA_PRT_NETCDF out:loc:pe prt#:prtf $output_data/$fname/OUTPUT _prt nc |
---|
[755] | 203 | DATA_DVR out:loc:pe dvr $output_data/$fname/OUTPUT _dvr |
---|
| 204 | # |
---|
| 205 | DVRP_LOG out:loc:tr dv# $base_data/$fname/MONITORING _dvrp_log |
---|
| 206 | DVRP_LOG out:loc:tra dvf $base_data/$fname/MONITORING _dvrp_log |
---|
| 207 | PARTICLE_INFO out:loc:tr pt# $base_data/$fname/MONITORING _prt_info |
---|
| 208 | PARTICLE_INFO out:loc:tra ptf $base_data/$fname/MONITORING _prt_info |
---|
| 209 | PARTICLE_DATA out:loc:flpe prt#:prtf $base_data/$fname/OUTPUT _prt_dat |
---|
[892] | 210 | # A BLANK LINE MUST FOLLOW |
---|