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