[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 |
---|
[260] | 33 | %cpp_options -D__mpi2:-DMPI_REAL=MPI_DOUBLE_PRECISION:-DMPI_2REAL=MPI_2DOUBLE_PRECISION:-D__netcdf:-D__netcdf_64bit <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 |
---|
[260] | 36 | %fopts -axW:-cpp:-r8:-nbs:-convert:little_endian:-I:<replace by mpi include path> <hi> parallel |
---|
| 37 | %lopts -axW:-cpp:-r8:-nbs:-Vaxlib:-L:<replace by mpi library path> <hi> parallel |
---|
[246] | 38 | # if you want to use your own hostfile, uncomment next line |
---|
| 39 | #%hostfile $base_directory/.hostfile <hi> parallel |
---|
| 40 | # if you want this host to be used as a remote host, uncomment next line |
---|
| 41 | #%remote_username <replace by your username on this host> <hi> parallel |
---|
[181] | 42 | # |
---|
[1] | 43 | %write_binary true restart |
---|
| 44 | # |
---|
| 45 | #---------------------------------------------------------------------------- |
---|
| 46 | # INPUT-commands, executed before running PALM - lines must start with "IC:" |
---|
| 47 | #---------------------------------------------------------------------------- |
---|
[246] | 48 | #IC: |
---|
[1] | 49 | # |
---|
| 50 | #---------------------------------------------------------------------------- |
---|
| 51 | # ERROR-commands - executed when program terminates abnormally |
---|
| 52 | #---------------------------------------------------------------------------- |
---|
| 53 | EC:[[ \$locat = execution ]] && cat RUN_CONTROL |
---|
[246] | 54 | EC:pwd; ls -al |
---|
[1] | 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 | # |
---|
[246] | 67 | # Collect plot data (2d/3d) into one file |
---|
| 68 | OC:combine_plot_fields.x |
---|
[1] | 69 | # |
---|
| 70 | #---------------------------------------------------------------------------- |
---|
| 71 | # List of input-files |
---|
| 72 | #---------------------------------------------------------------------------- |
---|
[255] | 73 | PARIN in:job d3# $base_data/$fname/INPUT _p3d |
---|
| 74 | PARIN in:job d3f $base_data/$fname/INPUT _p3df |
---|
| 75 | TOPOGRAPHY_DATA in:locopt d3#:d3f $base_data/$fname/INPUT _topo |
---|
| 76 | BININ in:loc:flpe d3f $base_data/$fname/RESTART _d3d |
---|
| 77 | PARTICLE_RESTART_DATA_IN in:loc:flpe prtf $base_data/$fname/RESTART _rprt |
---|
| 78 | DATA_1D_PR_NETCDF in:locopt prf $base_data/$fname/OUTPUT _pr nc |
---|
| 79 | DATA_1D_SP_NETCDF in:locopt spf $base_data/$fname/OUTPUT _sp nc |
---|
| 80 | DATA_1D_TS_NETCDF in:locopt tsf $base_data/$fname/OUTPUT _ts nc |
---|
| 81 | DATA_1D_PTS_NETCDF in:locopt ptsf $base_data/$fname/OUTPUT _pts nc |
---|
| 82 | DATA_2D_XY_NETCDF in:locopt xyf $base_data/$fname/OUTPUT _xy nc |
---|
| 83 | DATA_2D_XY_AV_NETCDF in:locopt xyf $base_data/$fname/OUTPUT _xy_av nc |
---|
| 84 | DATA_2D_XZ_NETCDF in:locopt xzf $base_data/$fname/OUTPUT _xz nc |
---|
| 85 | DATA_2D_YZ_NETCDF in:locopt yzf $base_data/$fname/OUTPUT _yz nc |
---|
| 86 | DATA_3D_NETCDF in:locopt 3df $base_data/$fname/OUTPUT _3d nc |
---|
| 87 | DATA_PRT_NETCDF in:locopt:pe prtf $base_data/$fname/OUTPUT _prt |
---|
[1] | 88 | # |
---|
| 89 | #---------------------------------------------------------------------------- |
---|
| 90 | # List of output-files |
---|
| 91 | #---------------------------------------------------------------------------- |
---|
[18] | 92 | BINOUT out:loc:flpe restart $base_data/$fname/RESTART _d3d |
---|
| 93 | PARTICLE_RESTART_DATA_OUT out:loc:flpe prt#:prtf $base_data/$fname/RESTART _rprt |
---|
[1] | 94 | # |
---|
[18] | 95 | RUN_CONTROL out:loc:tr d3# $base_data/$fname/MONITORING _rc |
---|
| 96 | RUN_CONTROL out:loc:tra d3f $base_data/$fname/MONITORING _rc |
---|
| 97 | HEADER out:loc:tr d3# $base_data/$fname/MONITORING _header |
---|
| 98 | HEADER out:loc:tra d3f $base_data/$fname/MONITORING _header |
---|
| 99 | CPU_MEASURES out:loc:tr d3# $base_data/$fname/MONITORING _cpu |
---|
| 100 | CPU_MEASURES out:loc:tra d3f $base_data/$fname/MONITORING _cpu |
---|
[1] | 101 | # |
---|
[18] | 102 | DATA_1D_PR_NETCDF out:loc:tr pr#:prf $base_data/$fname/OUTPUT _pr nc |
---|
| 103 | DATA_1D_SP_NETCDF out:loc:tr sp#:spf $base_data/$fname/OUTPUT _sp nc |
---|
| 104 | DATA_1D_TS_NETCDF out:loc:tr ts#:tsf $base_data/$fname/OUTPUT _ts nc |
---|
| 105 | DATA_1D_PTS_NETCDF out:loc:tr pts#:ptsf $base_data/$fname/OUTPUT _pts nc |
---|
| 106 | DATA_2D_XY_NETCDF out:loc:tr xy#:xyf $base_data/$fname/OUTPUT _xy nc |
---|
| 107 | DATA_2D_XY_AV_NETCDF out:loc:tr xy#:xyf $base_data/$fname/OUTPUT _xy_av nc |
---|
| 108 | DATA_2D_XZ_NETCDF out:loc:tr xz#:xzf $base_data/$fname/OUTPUT _xz nc |
---|
| 109 | DATA_2D_XZ_AV_NETCDF out:loc:tr xz#:xzf $base_data/$fname/OUTPUT _xz_av nc |
---|
| 110 | DATA_2D_YZ_NETCDF out:loc:tr yz#:yzf $base_data/$fname/OUTPUT _yz nc |
---|
| 111 | DATA_2D_YZ_AV_NETCDF out:loc:tr yz#:yzf $base_data/$fname/OUTPUT _yz_av nc |
---|
| 112 | DATA_3D_NETCDF out:loc:tr 3d#:3df $base_data/$fname/OUTPUT _3d nc |
---|
| 113 | DATA_3D_AV_NETCDF out:loc:tr 3d#:3df $base_data/$fname/OUTPUT _3d_av nc |
---|
| 114 | DATA_PRT_NETCDF out:loc:pe prt#:prtf $base_data/$fname/OUTPUT _prt nc |
---|
| 115 | DATA_PRT_NETCDF out:loc:trpe prt#:prtf $base_data/$fname/OUTPUT _prt nc |
---|
[1] | 116 | # |
---|
[246] | 117 | DVRP_LOG out:loc:tr dv# $base_data/$fname/MONITORING _dvrp_log |
---|
| 118 | DVRP_LOG out:loc:tra dvf $base_data/$fname/MONITORING _dvrp_log |
---|
| 119 | PARTICLE_INFO out:loc:tr pt# $base_data/$fname/MONITORING _prt_info |
---|
| 120 | PARTICLE_INFO out:loc:tra ptf $base_data/$fname/MONITORING _prt_info |
---|
| 121 | PARTICLE_DATA out:loc:flpe prt#:prtf $base_data/$fname/OUTPUT _prt_dat |
---|
[18] | 122 | |
---|