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