[1] | 1 | #column 1 column 2 column 3 |
---|
| 2 | #name of variable value of variable (~ must not be used) scope |
---|
| 3 | #---------------------------------------------------------------------------- |
---|
| 4 | %mainprog palm.f90 |
---|
[40] | 5 | %base_directory $HOME/palm/current_version |
---|
| 6 | %base_data ~/palm/current_version/JOBS |
---|
| 7 | %source_path $base_directory/trunk/SOURCE |
---|
[1] | 8 | %add_source_path $base_directory/USER_CODE/$fname |
---|
| 9 | %depository_path $base_directory/MAKE_DEPOSITORY |
---|
| 10 | %use_makefile true |
---|
| 11 | # |
---|
[83] | 12 | # Enter your own host below by adding another line containing in the second |
---|
| 13 | # column your hostname (as provided by the unix command "hostname") and in the |
---|
[246] | 14 | # third column the host identifier. Depending on your operating system, the |
---|
| 15 | # first characters of the host identifier should be "lc" (Linux cluster), "ibm" |
---|
[83] | 16 | # (IBM-AIX), or "nec" (NEC-SX), respectively. |
---|
| 17 | # |
---|
[246] | 18 | # The next line is just an example. Add your own line below or replace this line. |
---|
| 19 | %host_identifier myhostname lcmy |
---|
[1] | 20 | # |
---|
| 21 | # |
---|
[246] | 22 | # The next block contains all informations for compiling the PALM code |
---|
| 23 | # and for generating and running the PALM executable using MPI. Replace all |
---|
| 24 | # required paths (given in <>) by the respective paths valid on your host. |
---|
| 25 | # Also replace <hi> by your host identifier (see above) in each line! |
---|
| 26 | # Compilernames, cpp-options and compiler-options are assuming |
---|
| 27 | # an Intel-Compiler and mpich2 on this host! Please change |
---|
| 28 | # appropriately, if you are using a different compiler / MPI-Version. |
---|
[1] | 29 | # |
---|
[246] | 30 | %tmp_user_catalog /tmp <hi> parallel |
---|
| 31 | %compiler_name mpif90 <hi> parallel |
---|
| 32 | %compiler_name_ser ifort <hi> parallel |
---|
[503] | 33 | %cpp_options -D__mpi2:-DMPI_REAL=MPI_DOUBLE_PRECISION:-DMPI_2REAL=MPI_2DOUBLE_PRECISION:-D__netcdf <hi> parallel |
---|
[246] | 34 | %netcdf_inc -I:<replace by netcdf include path> <hi> parallel |
---|
| 35 | %netcdf_lib -L<replace by netcdf library path>:-lnetcdf <hi> parallel |
---|
[503] | 36 | %mopts -j:4 <hi> parallel |
---|
[735] | 37 | %fopts -xS:-cpp:-r8:-nbs:-convert:little_endian:-I:<replace by mpi include path> <hi> parallel |
---|
| 38 | %lopts -xS:-cpp:-r8:-nbs:-Vaxlib:-L:<replace by mpi library path> <hi> parallel |
---|
[246] | 39 | # if you want to use your own hostfile, uncomment next line |
---|
| 40 | #%hostfile $base_directory/.hostfile <hi> parallel |
---|
| 41 | # if you want this host to be used as a remote host, uncomment next line |
---|
| 42 | #%remote_username <replace by your username on this host> <hi> parallel |
---|
[181] | 43 | # |
---|
[1] | 44 | %write_binary true restart |
---|
| 45 | # |
---|
| 46 | #---------------------------------------------------------------------------- |
---|
| 47 | # INPUT-commands, executed before running PALM - lines must start with "IC:" |
---|
| 48 | #---------------------------------------------------------------------------- |
---|
[246] | 49 | #IC: |
---|
[1] | 50 | # |
---|
| 51 | #---------------------------------------------------------------------------- |
---|
| 52 | # ERROR-commands - executed when program terminates abnormally |
---|
| 53 | #---------------------------------------------------------------------------- |
---|
| 54 | EC:[[ \$locat = execution ]] && cat RUN_CONTROL |
---|
[246] | 55 | EC:pwd; ls -al |
---|
[1] | 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 | #---------------------------------------------------------------------------- |
---|
[255] | 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 $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 $base_data/$fname/OUTPUT _pr nc |
---|
| 77 | DATA_1D_SP_NETCDF in:locopt spf $base_data/$fname/OUTPUT _sp nc |
---|
| 78 | DATA_1D_TS_NETCDF in:locopt tsf $base_data/$fname/OUTPUT _ts nc |
---|
| 79 | DATA_1D_PTS_NETCDF in:locopt ptsf $base_data/$fname/OUTPUT _pts nc |
---|
| 80 | DATA_2D_XY_NETCDF in:locopt xyf $base_data/$fname/OUTPUT _xy nc |
---|
| 81 | DATA_2D_XY_AV_NETCDF in:locopt xyf $base_data/$fname/OUTPUT _xy_av nc |
---|
| 82 | DATA_2D_XZ_NETCDF in:locopt xzf $base_data/$fname/OUTPUT _xz nc |
---|
| 83 | DATA_2D_YZ_NETCDF in:locopt yzf $base_data/$fname/OUTPUT _yz nc |
---|
| 84 | DATA_3D_NETCDF in:locopt 3df $base_data/$fname/OUTPUT _3d nc |
---|
| 85 | DATA_PRT_NETCDF in:locopt:pe prtf $base_data/$fname/OUTPUT _prt |
---|
[1] | 86 | # |
---|
| 87 | #---------------------------------------------------------------------------- |
---|
| 88 | # List of output-files |
---|
| 89 | #---------------------------------------------------------------------------- |
---|
[18] | 90 | BINOUT out:loc:flpe restart $base_data/$fname/RESTART _d3d |
---|
| 91 | PARTICLE_RESTART_DATA_OUT out:loc:flpe prt#:prtf $base_data/$fname/RESTART _rprt |
---|
[1] | 92 | # |
---|
[18] | 93 | RUN_CONTROL out:loc:tr d3# $base_data/$fname/MONITORING _rc |
---|
| 94 | RUN_CONTROL out:loc:tra d3f $base_data/$fname/MONITORING _rc |
---|
| 95 | HEADER out:loc:tr d3# $base_data/$fname/MONITORING _header |
---|
| 96 | HEADER out:loc:tra d3f $base_data/$fname/MONITORING _header |
---|
| 97 | CPU_MEASURES out:loc:tr d3# $base_data/$fname/MONITORING _cpu |
---|
| 98 | CPU_MEASURES out:loc:tra d3f $base_data/$fname/MONITORING _cpu |
---|
[1] | 99 | # |
---|
[18] | 100 | DATA_1D_PR_NETCDF out:loc:tr pr#:prf $base_data/$fname/OUTPUT _pr nc |
---|
| 101 | DATA_1D_SP_NETCDF out:loc:tr sp#:spf $base_data/$fname/OUTPUT _sp nc |
---|
| 102 | DATA_1D_TS_NETCDF out:loc:tr ts#:tsf $base_data/$fname/OUTPUT _ts nc |
---|
| 103 | DATA_1D_PTS_NETCDF out:loc:tr pts#:ptsf $base_data/$fname/OUTPUT _pts nc |
---|
| 104 | DATA_2D_XY_NETCDF out:loc:tr xy#:xyf $base_data/$fname/OUTPUT _xy nc |
---|
| 105 | DATA_2D_XY_AV_NETCDF out:loc:tr xy#:xyf $base_data/$fname/OUTPUT _xy_av nc |
---|
| 106 | DATA_2D_XZ_NETCDF out:loc:tr xz#:xzf $base_data/$fname/OUTPUT _xz nc |
---|
| 107 | DATA_2D_XZ_AV_NETCDF out:loc:tr xz#:xzf $base_data/$fname/OUTPUT _xz_av nc |
---|
| 108 | DATA_2D_YZ_NETCDF out:loc:tr yz#:yzf $base_data/$fname/OUTPUT _yz nc |
---|
| 109 | DATA_2D_YZ_AV_NETCDF out:loc:tr yz#:yzf $base_data/$fname/OUTPUT _yz_av nc |
---|
| 110 | DATA_3D_NETCDF out:loc:tr 3d#:3df $base_data/$fname/OUTPUT _3d nc |
---|
| 111 | DATA_3D_AV_NETCDF out:loc:tr 3d#:3df $base_data/$fname/OUTPUT _3d_av nc |
---|
[410] | 112 | DATA_MASK_01_NETCDF out:loc:tr ma#:maf $base_data/$fname/OUTPUT _m01 nc |
---|
| 113 | DATA_MASK_01_AV_NETCDF out:loc:tr ma#:maf $base_data/$fname/OUTPUT _m01_av nc |
---|
| 114 | DATA_MASK_02_NETCDF out:loc:tr ma#:maf $base_data/$fname/OUTPUT _m02 nc |
---|
| 115 | DATA_MASK_02_AV_NETCDF out:loc:tr ma#:maf $base_data/$fname/OUTPUT _m02_av nc |
---|
| 116 | DATA_MASK_03_NETCDF out:loc:tr ma#:maf $base_data/$fname/OUTPUT _m03 nc |
---|
| 117 | DATA_MASK_03_AV_NETCDF out:loc:tr ma#:maf $base_data/$fname/OUTPUT _m03_av nc |
---|
| 118 | DATA_MASK_04_NETCDF out:loc:tr ma#:maf $base_data/$fname/OUTPUT _m04 nc |
---|
| 119 | DATA_MASK_04_AV_NETCDF out:loc:tr ma#:maf $base_data/$fname/OUTPUT _m04_av nc |
---|
| 120 | DATA_MASK_05_NETCDF out:loc:tr ma#:maf $base_data/$fname/OUTPUT _m05 nc |
---|
| 121 | DATA_MASK_05_AV_NETCDF out:loc:tr ma#:maf $base_data/$fname/OUTPUT _m05_av nc |
---|
| 122 | DATA_MASK_06_NETCDF out:loc:tr ma#:maf $base_data/$fname/OUTPUT _m06 nc |
---|
| 123 | DATA_MASK_06_AV_NETCDF out:loc:tr ma#:maf $base_data/$fname/OUTPUT _m06_av nc |
---|
| 124 | DATA_MASK_07_NETCDF out:loc:tr ma#:maf $base_data/$fname/OUTPUT _m07 nc |
---|
| 125 | DATA_MASK_07_AV_NETCDF out:loc:tr ma#:maf $base_data/$fname/OUTPUT _m07_av nc |
---|
| 126 | DATA_MASK_08_NETCDF out:loc:tr ma#:maf $base_data/$fname/OUTPUT _m08 nc |
---|
| 127 | DATA_MASK_08_AV_NETCDF out:loc:tr ma#:maf $base_data/$fname/OUTPUT _m08_av nc |
---|
| 128 | DATA_MASK_09_NETCDF out:loc:tr ma#:maf $base_data/$fname/OUTPUT _m09 nc |
---|
| 129 | DATA_MASK_09_AV_NETCDF out:loc:tr ma#:maf $base_data/$fname/OUTPUT _m09_av nc |
---|
| 130 | DATA_MASK_10_NETCDF out:loc:tr ma#:maf $base_data/$fname/OUTPUT _m10 nc |
---|
| 131 | DATA_MASK_10_AV_NETCDF out:loc:tr ma#:maf $base_data/$fname/OUTPUT _m10_av nc |
---|
| 132 | DATA_MASK_11_NETCDF out:loc:tr ma#:maf $base_data/$fname/OUTPUT _m11 nc |
---|
| 133 | DATA_MASK_11_AV_NETCDF out:loc:tr ma#:maf $base_data/$fname/OUTPUT _m11_av nc |
---|
| 134 | DATA_MASK_12_NETCDF out:loc:tr ma#:maf $base_data/$fname/OUTPUT _m12 nc |
---|
| 135 | DATA_MASK_12_AV_NETCDF out:loc:tr ma#:maf $base_data/$fname/OUTPUT _m12_av nc |
---|
| 136 | DATA_MASK_13_NETCDF out:loc:tr ma#:maf $base_data/$fname/OUTPUT _m13 nc |
---|
| 137 | DATA_MASK_13_AV_NETCDF out:loc:tr ma#:maf $base_data/$fname/OUTPUT _m13_av nc |
---|
| 138 | DATA_MASK_14_NETCDF out:loc:tr ma#:maf $base_data/$fname/OUTPUT _m14 nc |
---|
| 139 | DATA_MASK_14_AV_NETCDF out:loc:tr ma#:maf $base_data/$fname/OUTPUT _m14_av nc |
---|
| 140 | DATA_MASK_15_NETCDF out:loc:tr ma#:maf $base_data/$fname/OUTPUT _m15 nc |
---|
| 141 | DATA_MASK_15_AV_NETCDF out:loc:tr ma#:maf $base_data/$fname/OUTPUT _m15_av nc |
---|
| 142 | DATA_MASK_16_NETCDF out:loc:tr ma#:maf $base_data/$fname/OUTPUT _m16 nc |
---|
| 143 | DATA_MASK_16_AV_NETCDF out:loc:tr ma#:maf $base_data/$fname/OUTPUT _m16_av nc |
---|
| 144 | DATA_MASK_17_NETCDF out:loc:tr ma#:maf $base_data/$fname/OUTPUT _m17 nc |
---|
| 145 | DATA_MASK_17_AV_NETCDF out:loc:tr ma#:maf $base_data/$fname/OUTPUT _m17_av nc |
---|
| 146 | DATA_MASK_18_NETCDF out:loc:tr ma#:maf $base_data/$fname/OUTPUT _m18 nc |
---|
| 147 | DATA_MASK_18_AV_NETCDF out:loc:tr ma#:maf $base_data/$fname/OUTPUT _m18_av nc |
---|
| 148 | DATA_MASK_19_NETCDF out:loc:tr ma#:maf $base_data/$fname/OUTPUT _m19 nc |
---|
| 149 | DATA_MASK_19_AV_NETCDF out:loc:tr ma#:maf $base_data/$fname/OUTPUT _m19_av nc |
---|
| 150 | DATA_MASK_20_NETCDF out:loc:tr ma#:maf $base_data/$fname/OUTPUT _m20 nc |
---|
| 151 | DATA_MASK_20_AV_NETCDF out:loc:tr ma#:maf $base_data/$fname/OUTPUT _m20_av nc |
---|
[18] | 152 | DATA_PRT_NETCDF out:loc:trpe prt#:prtf $base_data/$fname/OUTPUT _prt nc |
---|
[272] | 153 | DATA_DVR out:loc:trpe dvr $base_data/$fname/OUTPUT _dvr |
---|
[1] | 154 | # |
---|
[246] | 155 | DVRP_LOG out:loc:tr dv# $base_data/$fname/MONITORING _dvrp_log |
---|
| 156 | DVRP_LOG out:loc:tra dvf $base_data/$fname/MONITORING _dvrp_log |
---|
| 157 | PARTICLE_INFO out:loc:tr pt# $base_data/$fname/MONITORING _prt_info |
---|
| 158 | PARTICLE_INFO out:loc:tra ptf $base_data/$fname/MONITORING _prt_info |
---|
| 159 | PARTICLE_DATA out:loc:flpe prt#:prtf $base_data/$fname/OUTPUT _prt_dat |
---|
[18] | 160 | |
---|