[346] | 1 | #column 1 column 2 column 3 |
---|
| 2 | #name of variable value of variable (~ must not be used) scope |
---|
| 3 | #---------------------------------------------------------------------------- |
---|
| 4 | %mainprog palm.f90 |
---|
| 5 | %base_directory $HOME/palm/current_version |
---|
| 6 | %base_data ~/palm/current_version/JOBS |
---|
| 7 | %source_path $base_directory/trunk/SOURCE |
---|
| 8 | %add_source_path $base_directory/USER_CODE/$fname |
---|
| 9 | %depository_path $base_directory/MAKE_DEPOSITORY |
---|
| 10 | %use_makefile true |
---|
| 11 | # |
---|
| 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 |
---|
| 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" |
---|
| 16 | # (IBM-AIX), or "nec" (NEC-SX), respectively. |
---|
| 17 | %host_identifier service100 lcsgih |
---|
| 18 | %host_identifier r1* lcsgih |
---|
| 19 | %host_identifier h01* lcsgih |
---|
| 20 | %host_identifier r2* lcsgib |
---|
| 21 | %host_identifier b01* lcsgib |
---|
[733] | 22 | %host_identifier inferno lcmuk |
---|
[346] | 23 | # |
---|
| 24 | # The following blocks contain all information for compiling the PALM code |
---|
| 25 | # and for generating and running the PALM executable using MPI. Replace all |
---|
| 26 | # required paths (given in <>) by the respective paths valid on your host. |
---|
| 27 | # Please adjust compilernames, cpp-options, compiler-options etc. |
---|
| 28 | # appropriately for your own system(s), and please delete or comment out |
---|
| 29 | # blocks for unused systems. |
---|
| 30 | # |
---|
| 31 | # The following 'lcmuk parallel' block assumes PALM compilation and execution |
---|
[733] | 32 | # on host inferno. Please note that other hosts within the IMUK linux cluster, |
---|
| 33 | # e.g. bora, may require different settings. |
---|
[346] | 34 | # |
---|
| 35 | #%remote_username <replace by your IMUK username> lcmuk parallel |
---|
[734] | 36 | #%tmp_user_catalog /localdata/<replace by your IMUK username> lcmuk parallel |
---|
[346] | 37 | %compiler_name mpif90 lcmuk parallel |
---|
| 38 | %compiler_name_ser ifort lcmuk parallel |
---|
[733] | 39 | %cpp_options -DMPI_REAL=MPI_DOUBLE_PRECISION:-DMPI_2REAL=MPI_2DOUBLE_PRECISION:-D__netcdf lcmuk parallel |
---|
| 40 | %netcdf_inc -I:/muksoft/packages/netcdf/3.6.3/include lcmuk parallel |
---|
| 41 | %netcdf_lib -L/muksoft/packages/netcdf/3.6.3/lib:-lnetcdf lcmuk parallel |
---|
[503] | 42 | %mopts -j:4 lcmuk parallel |
---|
[733] | 43 | %fopts -openmp:-xS:-fpe0:-O3:-cpp:-r8:-fp-model:precise:-align:all:-ftz:-fno-alias:-no-scalar-rep:-no-prec-div:-no-prec-sqrt:-ip:-nbs:-convert:little_endian lcmuk parallel |
---|
| 44 | %lopts -openmp:-xS:-fpe0:-O3:-cpp:-r8:-fp-model:precise:-align:all:-ftz:-fno-alias:-no-scalar-rep:-no-prec-div:-no-prec-sqrt:-ip:-nbs:-Vaxlib lcmuk parallel |
---|
[346] | 45 | #%hostfile $base_directory/.hostfile lcmuk parallel |
---|
| 46 | # |
---|
| 47 | # |
---|
[733] | 48 | %sgi_feature ice2 lcsgih parallel |
---|
| 49 | %modules intel.compiler:mpt:phdf5/1.8.5-mpt-intel-11.1:pnetcdf/4.1.1-mpt-intel-11.1 lcsgih parallel |
---|
| 50 | #%remote_username <replace by your HLRN username> lcsgih parallel |
---|
| 51 | %compiler_name ifort lcsgih parallel |
---|
[346] | 52 | %compiler_name_ser ifort lcsgih parallel |
---|
[733] | 53 | %cpp_options -DMPI_REAL=MPI_DOUBLE_PRECISION:-DMPI_2REAL=MPI_2DOUBLE_PRECISION:-D__netcdf:-D__netcdf4:-D__mpi2 lcsgih parallel |
---|
| 54 | %netcdf_inc -I:/sw/dataformats/pnetcdf/netcdf-4.1.1-mpt-intel-11.1/include:-I:/sw/dataformats/phdf5/hdf5-1.8.5-mpt-intel-11.1/include lcsgih parallel |
---|
| 55 | %netcdf_lib -L/sw/dataformats/pnetcdf/netcdf-4.1.1-mpt-intel-11.1/lib:-lnetcdf:-lnetcdff:-L/sw/dataformats/phdf5/hdf5-1.8.5-mpt-intel-11.1/lib:-lhdf5:-lhdf5_hl:-lz lcsgih parallel |
---|
[503] | 56 | %mopts -j:4 lcsgih parallel |
---|
[733] | 57 | %fopts -openmp:-xS:-fpe0:-O3:-cpp:-r8:-fp-model:precise:-align:all:-ftz:-fno-alias:-no-scalar-rep:-no-prec-div:-no-prec-sqrt:-ip:-nbs:-convert:little_endian lcsgih parallel |
---|
| 58 | %lopts -openmp:-xS:-fpe0:-O3:-cpp:-r8:-fp-model:precise:-align:all:-ftz:-fno-alias:-no-scalar-rep:-no-prec-div:-no-prec-sqrt:-ip:-nbs:-Vaxlib:-lmpi lcsgih parallel |
---|
| 59 | %memory 1500 lcsgih parallel |
---|
| 60 | #%tmp_data_catalog /gfs2/work/<replace by your HLRN username>/palm_restart_data lcsgih parallel |
---|
| 61 | #%tmp_user_catalog /gfs2/tmp/<replace by your HLRN username> lcsgih parallel |
---|
[346] | 62 | # |
---|
| 63 | # |
---|
| 64 | %write_binary true restart |
---|
| 65 | # |
---|
| 66 | #---------------------------------------------------------------------------- |
---|
| 67 | # INPUT-commands, executed before running PALM - lines must start with "IC:" |
---|
| 68 | #---------------------------------------------------------------------------- |
---|
| 69 | #IC: |
---|
| 70 | # |
---|
| 71 | #---------------------------------------------------------------------------- |
---|
| 72 | # ERROR-commands - executed when program terminates abnormally |
---|
| 73 | #---------------------------------------------------------------------------- |
---|
| 74 | EC:[[ \$locat = execution ]] && cat RUN_CONTROL |
---|
| 75 | EC:pwd; ls -al |
---|
| 76 | # |
---|
| 77 | #---------------------------------------------------------------------------- |
---|
| 78 | # OUTPUT-commands - executed when program terminates normally |
---|
| 79 | #---------------------------------------------------------------------------- |
---|
| 80 | # |
---|
| 81 | # Combine 1D- and 3D-profile output (these files are not usable for plotting) |
---|
| 82 | OC:[[ -f LIST_PROFIL_1D ]] && cat LIST_PROFIL_1D >> LIST_PROFILE |
---|
| 83 | OC:[[ -f LIST_PROFIL ]] && cat LIST_PROFIL >> LIST_PROFILE |
---|
| 84 | # |
---|
| 85 | # Combine all particle information files |
---|
| 86 | OC:[[ -f PARTICLE_INFOS/_0000 ]] && cat PARTICLE_INFOS/* >> PARTICLE_INFO |
---|
| 87 | # |
---|
| 88 | #---------------------------------------------------------------------------- |
---|
| 89 | # List of input-files |
---|
| 90 | #---------------------------------------------------------------------------- |
---|
| 91 | PARIN in:job d3# $base_data/$fname/INPUT _p3d |
---|
| 92 | PARIN in:job d3f $base_data/$fname/INPUT _p3df |
---|
| 93 | TOPOGRAPHY_DATA in:locopt d3#:d3f $base_data/$fname/INPUT _topo |
---|
| 94 | BININ in:loc:flpe d3f $base_data/$fname/RESTART _d3d |
---|
| 95 | PARTICLE_RESTART_DATA_IN in:loc:flpe prtf $base_data/$fname/RESTART _rprt |
---|
| 96 | DATA_1D_PR_NETCDF in:locopt prf $base_data/$fname/OUTPUT _pr nc |
---|
| 97 | DATA_1D_SP_NETCDF in:locopt spf $base_data/$fname/OUTPUT _sp nc |
---|
| 98 | DATA_1D_TS_NETCDF in:locopt tsf $base_data/$fname/OUTPUT _ts nc |
---|
| 99 | DATA_1D_PTS_NETCDF in:locopt ptsf $base_data/$fname/OUTPUT _pts nc |
---|
| 100 | DATA_2D_XY_NETCDF in:locopt xyf $base_data/$fname/OUTPUT _xy nc |
---|
| 101 | DATA_2D_XY_AV_NETCDF in:locopt xyf $base_data/$fname/OUTPUT _xy_av nc |
---|
| 102 | DATA_2D_XZ_NETCDF in:locopt xzf $base_data/$fname/OUTPUT _xz nc |
---|
| 103 | DATA_2D_YZ_NETCDF in:locopt yzf $base_data/$fname/OUTPUT _yz nc |
---|
| 104 | DATA_3D_NETCDF in:locopt 3df $base_data/$fname/OUTPUT _3d nc |
---|
| 105 | DATA_PRT_NETCDF in:locopt:pe prtf $base_data/$fname/OUTPUT _prt |
---|
| 106 | # |
---|
| 107 | #---------------------------------------------------------------------------- |
---|
| 108 | # List of output-files |
---|
| 109 | #---------------------------------------------------------------------------- |
---|
| 110 | BINOUT out:loc:flpe restart $base_data/$fname/RESTART _d3d |
---|
| 111 | PARTICLE_RESTART_DATA_OUT out:loc:flpe prt#:prtf $base_data/$fname/RESTART _rprt |
---|
| 112 | # |
---|
| 113 | RUN_CONTROL out:loc:tr d3# $base_data/$fname/MONITORING _rc |
---|
| 114 | RUN_CONTROL out:loc:tra d3f $base_data/$fname/MONITORING _rc |
---|
| 115 | HEADER out:loc:tr d3# $base_data/$fname/MONITORING _header |
---|
| 116 | HEADER out:loc:tra d3f $base_data/$fname/MONITORING _header |
---|
| 117 | CPU_MEASURES out:loc:tr d3# $base_data/$fname/MONITORING _cpu |
---|
| 118 | CPU_MEASURES out:loc:tra d3f $base_data/$fname/MONITORING _cpu |
---|
| 119 | # |
---|
| 120 | DATA_1D_PR_NETCDF out:loc:tr pr#:prf $base_data/$fname/OUTPUT _pr nc |
---|
| 121 | DATA_1D_SP_NETCDF out:loc:tr sp#:spf $base_data/$fname/OUTPUT _sp nc |
---|
| 122 | DATA_1D_TS_NETCDF out:loc:tr ts#:tsf $base_data/$fname/OUTPUT _ts nc |
---|
| 123 | DATA_1D_PTS_NETCDF out:loc:tr pts#:ptsf $base_data/$fname/OUTPUT _pts nc |
---|
| 124 | DATA_2D_XY_NETCDF out:loc:tr xy#:xyf $base_data/$fname/OUTPUT _xy nc |
---|
| 125 | DATA_2D_XY_AV_NETCDF out:loc:tr xy#:xyf $base_data/$fname/OUTPUT _xy_av nc |
---|
| 126 | DATA_2D_XZ_NETCDF out:loc:tr xz#:xzf $base_data/$fname/OUTPUT _xz nc |
---|
| 127 | DATA_2D_XZ_AV_NETCDF out:loc:tr xz#:xzf $base_data/$fname/OUTPUT _xz_av nc |
---|
| 128 | DATA_2D_YZ_NETCDF out:loc:tr yz#:yzf $base_data/$fname/OUTPUT _yz nc |
---|
| 129 | DATA_2D_YZ_AV_NETCDF out:loc:tr yz#:yzf $base_data/$fname/OUTPUT _yz_av nc |
---|
| 130 | DATA_3D_NETCDF out:loc:tr 3d#:3df $base_data/$fname/OUTPUT _3d nc |
---|
| 131 | DATA_3D_AV_NETCDF out:loc:tr 3d#:3df $base_data/$fname/OUTPUT _3d_av nc |
---|
| 132 | DATA_PRT_NETCDF out:loc:pe prt#:prtf $base_data/$fname/OUTPUT _prt nc |
---|
| 133 | DATA_PRT_NETCDF out:loc:trpe prt#:prtf $base_data/$fname/OUTPUT _prt nc |
---|
| 134 | DATA_DVR out:loc:trpe dvr $base_data/$fname/OUTPUT _dvr |
---|
| 135 | # |
---|
| 136 | DVRP_LOG out:loc:tr dv# $base_data/$fname/MONITORING _dvrp_log |
---|
| 137 | DVRP_LOG out:loc:tra dvf $base_data/$fname/MONITORING _dvrp_log |
---|
| 138 | PARTICLE_INFO out:loc:tr pt# $base_data/$fname/MONITORING _prt_info |
---|
| 139 | PARTICLE_INFO out:loc:tra ptf $base_data/$fname/MONITORING _prt_info |
---|
| 140 | PARTICLE_DATA out:loc:flpe prt#:prtf $base_data/$fname/OUTPUT _prt_dat |
---|
| 141 | |
---|