[251] | 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 | # |
---|
| 18 | # The next line is just an example. Add your own line below or replace this line. |
---|
| 19 | %host_identifier sx-* necriam |
---|
| 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 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. |
---|
| 29 | # |
---|
| 30 | # |
---|
| 31 | %compiler_name sxmpif90 necriam parallel |
---|
| 32 | %compiler_name_ser sxf90 necriam parallel |
---|
| 33 | %cpp_options -Ep:-D__mpi2:-DMPI_REAL=MPI_REAL8:-DMPI_2REAL=MPI_2REAL8:-DSCFFT=DZFFT:-DCSFFT=ZDFFT:-D__netcdf:-D__netcdf_64bit necriam parallel |
---|
| 34 | %netcdf_inc -I:/home/COAR/NC/tatuyama/pub/netcdf-3.6.0-p1/include necriam parallel |
---|
| 35 | %netcdf_lib -L/home/COAR/NC/tatuyama/pub/netcdf-3.6.0-p1/lib:-lnetcdf necriam parallel |
---|
| 36 | %fopts -C:hopt:-Wf:\'-init:stack=nan:-init:heap=nan:-A:idbl4:-pvctl:fullmsg\':-ftrace:-P:stack:-pi:auto:-pi:line=1000 necriam parallel |
---|
| 37 | %lopts -C:hopt:-Wf:\'-init:stack=nan:-init:heap=nan:-A:idbl4\':-ftrace:-P:stack:-pi:auto:-pi:line=1000:-L/SX/opt/mathkeisan/MK3_0/lib0/:-l:fft necriam parallel |
---|
| 38 | %memory 4000 necriam parallel |
---|
| 39 | %cpumax 1000 necriam parallel |
---|
| 40 | %numprocs 4 necriam parallel |
---|
| 41 | %tmp_data_catalog /work/<replace by your username>/restart_data necriam parallel |
---|
| 42 | %tmp_user_catalog /work/<replace by your username> necriam parallel |
---|
| 43 | %remote_username <replace by your username> necriam parallel |
---|
| 44 | # |
---|
| 45 | %write_binary true restart |
---|
| 46 | # |
---|
| 47 | #---------------------------------------------------------------------------- |
---|
| 48 | # INPUT-commands, executed before running PALM - lines must start with "IC:" |
---|
| 49 | #---------------------------------------------------------------------------- |
---|
| 50 | #IC: |
---|
| 51 | # |
---|
| 52 | #---------------------------------------------------------------------------- |
---|
| 53 | # ERROR-commands - executed when program terminates abnormally |
---|
| 54 | #---------------------------------------------------------------------------- |
---|
| 55 | EC:[[ \$locat = execution ]] && cat RUN_CONTROL |
---|
| 56 | EC:pwd; ls -al |
---|
| 57 | # |
---|
| 58 | #---------------------------------------------------------------------------- |
---|
| 59 | # OUTPUT-commands - executed when program terminates normally |
---|
| 60 | #---------------------------------------------------------------------------- |
---|
| 61 | # |
---|
| 62 | # Combine 1D- and 3D-profile output (these files are not usable for plotting) |
---|
| 63 | OC:[[ -f LIST_PROFIL_1D ]] && cat LIST_PROFIL_1D >> LIST_PROFILE |
---|
| 64 | OC:[[ -f LIST_PROFIL ]] && cat LIST_PROFIL >> LIST_PROFILE |
---|
| 65 | # |
---|
| 66 | # Combine all particle information files |
---|
| 67 | OC:[[ -f PARTICLE_INFOS/_0000 ]] && cat PARTICLE_INFOS/* >> PARTICLE_INFO |
---|
| 68 | # |
---|
| 69 | # Collect plot data (2d/3d) into one file |
---|
| 70 | OC:combine_plot_fields.x |
---|
| 71 | # |
---|
| 72 | #---------------------------------------------------------------------------- |
---|
| 73 | # List of input-files |
---|
| 74 | #---------------------------------------------------------------------------- |
---|
[255] | 75 | PARIN in:job d3# $base_data/$fname/INPUT _p3d |
---|
| 76 | PARIN in:job d3f $base_data/$fname/INPUT _p3df |
---|
| 77 | TOPOGRAPHY_DATA in:locopt d3#:d3f $base_data/$fname/INPUT _topo |
---|
| 78 | BININ in:loc:flpe d3f $base_data/$fname/RESTART _d3d |
---|
| 79 | PARTICLE_RESTART_DATA_IN in:loc:flpe prtf $base_data/$fname/RESTART _rprt |
---|
| 80 | DATA_1D_PR_NETCDF in:locopt prf $base_data/$fname/OUTPUT _pr nc |
---|
| 81 | DATA_1D_SP_NETCDF in:locopt spf $base_data/$fname/OUTPUT _sp nc |
---|
| 82 | DATA_1D_TS_NETCDF in:locopt tsf $base_data/$fname/OUTPUT _ts nc |
---|
| 83 | DATA_1D_PTS_NETCDF in:locopt ptsf $base_data/$fname/OUTPUT _pts nc |
---|
| 84 | DATA_2D_XY_NETCDF in:locopt xyf $base_data/$fname/OUTPUT _xy nc |
---|
| 85 | DATA_2D_XY_AV_NETCDF in:locopt xyf $base_data/$fname/OUTPUT _xy_av nc |
---|
| 86 | DATA_2D_XZ_NETCDF in:locopt xzf $base_data/$fname/OUTPUT _xz nc |
---|
| 87 | DATA_2D_YZ_NETCDF in:locopt yzf $base_data/$fname/OUTPUT _yz nc |
---|
| 88 | DATA_3D_NETCDF in:locopt 3df $base_data/$fname/OUTPUT _3d nc |
---|
| 89 | DATA_PRT_NETCDF in:locopt:pe prtf $base_data/$fname/OUTPUT _prt |
---|
[251] | 90 | # |
---|
| 91 | #---------------------------------------------------------------------------- |
---|
| 92 | # List of output-files |
---|
| 93 | #---------------------------------------------------------------------------- |
---|
| 94 | BINOUT out:loc:flpe restart $base_data/$fname/RESTART _d3d |
---|
| 95 | PARTICLE_RESTART_DATA_OUT out:loc:flpe prt#:prtf $base_data/$fname/RESTART _rprt |
---|
| 96 | # |
---|
| 97 | RUN_CONTROL out:loc:tr d3# $base_data/$fname/MONITORING _rc |
---|
| 98 | RUN_CONTROL out:loc:tra d3f $base_data/$fname/MONITORING _rc |
---|
| 99 | HEADER out:loc:tr d3# $base_data/$fname/MONITORING _header |
---|
| 100 | HEADER out:loc:tra d3f $base_data/$fname/MONITORING _header |
---|
| 101 | CPU_MEASURES out:loc:tr d3# $base_data/$fname/MONITORING _cpu |
---|
| 102 | CPU_MEASURES out:loc:tra d3f $base_data/$fname/MONITORING _cpu |
---|
| 103 | # |
---|
| 104 | DATA_1D_PR_NETCDF out:loc:tr pr#:prf $base_data/$fname/OUTPUT _pr nc |
---|
| 105 | DATA_1D_SP_NETCDF out:loc:tr sp#:spf $base_data/$fname/OUTPUT _sp nc |
---|
| 106 | DATA_1D_TS_NETCDF out:loc:tr ts#:tsf $base_data/$fname/OUTPUT _ts nc |
---|
| 107 | DATA_1D_PTS_NETCDF out:loc:tr pts#:ptsf $base_data/$fname/OUTPUT _pts nc |
---|
| 108 | DATA_2D_XY_NETCDF out:loc:tr xy#:xyf $base_data/$fname/OUTPUT _xy nc |
---|
| 109 | DATA_2D_XY_AV_NETCDF out:loc:tr xy#:xyf $base_data/$fname/OUTPUT _xy_av nc |
---|
| 110 | DATA_2D_XZ_NETCDF out:loc:tr xz#:xzf $base_data/$fname/OUTPUT _xz nc |
---|
| 111 | DATA_2D_XZ_AV_NETCDF out:loc:tr xz#:xzf $base_data/$fname/OUTPUT _xz_av nc |
---|
| 112 | DATA_2D_YZ_NETCDF out:loc:tr yz#:yzf $base_data/$fname/OUTPUT _yz nc |
---|
| 113 | DATA_2D_YZ_AV_NETCDF out:loc:tr yz#:yzf $base_data/$fname/OUTPUT _yz_av nc |
---|
| 114 | DATA_3D_NETCDF out:loc:tr 3d#:3df $base_data/$fname/OUTPUT _3d nc |
---|
| 115 | DATA_3D_AV_NETCDF out:loc:tr 3d#:3df $base_data/$fname/OUTPUT _3d_av nc |
---|
| 116 | DATA_PRT_NETCDF out:loc:pe prt#:prtf $base_data/$fname/OUTPUT _prt nc |
---|
| 117 | DATA_PRT_NETCDF out:loc:trpe prt#:prtf $base_data/$fname/OUTPUT _prt nc |
---|
| 118 | # |
---|
| 119 | DVRP_LOG out:loc:tr dv# $base_data/$fname/MONITORING _dvrp_log |
---|
| 120 | DVRP_LOG out:loc:tra dvf $base_data/$fname/MONITORING _dvrp_log |
---|
| 121 | PARTICLE_INFO out:loc:tr pt# $base_data/$fname/MONITORING _prt_info |
---|
| 122 | PARTICLE_INFO out:loc:tra ptf $base_data/$fname/MONITORING _prt_info |
---|
| 123 | PARTICLE_DATA out:loc:flpe prt#:prtf $base_data/$fname/OUTPUT _prt_dat |
---|
| 124 | |
---|