Changeset 892 for palm/trunk/SCRIPTS
- Timestamp:
- May 2, 2012 1:51:44 PM (13 years ago)
- Location:
- palm/trunk/SCRIPTS
- Files:
-
- 1 added
- 1 deleted
- 11 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SCRIPTS/.mrun.config.default
- Property svn:keywords set to Id
r817 r892 1 #$Id$ 1 2 #column 1 column 2 column 3 2 3 #name of variable value of variable (~ must not be used) scope … … 41 42 # if you want this host to be used as a remote host, uncomment next line 42 43 #%remote_username <replace by your username on this host> <hi> parallel 44 # if you want to load modules on the remote host, use the following line 45 #%modules <replace by the modules to be loaded> <hi> parallel 46 # if you want to perform initial commands on ssh connections, use the following line 47 #%login_init_cmd <replace by the inital commands> <hi> parallel 43 48 # 44 49 %write_binary true restart … … 158 163 PARTICLE_INFO out:loc:tra ptf $base_data/$fname/MONITORING _prt_info 159 164 PARTICLE_DATA out:loc:flpe prt#:prtf $base_data/$fname/OUTPUT _prt_dat 160 165 # A BLANK LINE MUST FOLLOW -
palm/trunk/SCRIPTS/.mrun.config.forwind
- Property svn:keywords set to Id
r755 r892 1 #$Id$ 1 2 #column 1 column 2 column 3 2 3 #name of variable value of variable (~ must not be used) scope … … 5 6 %base_directory $HOME/palm/current_version 6 7 %base_data $base_directory/JOBS 7 %output_data /data/work/fw/< user-id>/palm/current_version/JOBS8 # Replace < user-id> by your username on FLOW. Replace "/fw/" by "/iwes/" if8 %output_data /data/work/fw/<replace by your username>/palm/current_version/JOBS 9 # Replace <replace by your username> by your username on FLOW. Replace "/fw/" by "/iwes/" if 9 10 # your user directory resides in /iwes/. 10 11 %source_path $base_directory/trunk/SOURCE … … 25 26 # on host flow. Please note that other hosts may require different settings. 26 27 # 27 %remote_username < user-id> lcflow parallel28 %tmp_user_catalog /data/work/fw/< user-id>/tmp lcflow parallel29 %tmp_data_catalog /data/work/fw/< user-id>/palm_restart_data lcflow parallel30 %compiler_name mpiifort lcflow parallel31 %compiler_name_ser ifort lcflow parallel28 %remote_username <replace by your username> lcflow parallel 29 %tmp_user_catalog /data/work/fw/<replace by your username>/tmp lcflow parallel 30 %tmp_data_catalog /data/work/fw/<replace by your username>/palm_restart_data lcflow parallel 31 %compiler_name mpiifort lcflow parallel 32 %compiler_name_ser ifort lcflow parallel 32 33 %cpp_options -DMPI_REAL=MPI_DOUBLE_PRECISION:-DMPI_2REAL=MPI_2DOUBLE_PRECISION:-D__netcdf:-D__lc:-D__parallel lcflow parallel 33 34 %netcdf_inc -I:/cm/shared/apps/netcdf/intel/64/4.1.3/include lcflow parallel … … 36 37 %fopts -xSSE4.2:-O3:-cpp:-r8:-align:all:-ftz:-fno-alias:-no-scalar-rep:-no-prec-div:-no-prec-sqrt:-ip:-nbs:-convert:little_endian lcflow parallel 37 38 %lopts -xSSE4.2:-O3:-cpp:-r8:-align:all:-ftz:-fno-alias:-no-scalar-rep:-no-prec-div:-no-prec-sqrt:-ip:-nbs:-Vaxlib lcflow parallel 39 %login_init_cmd .:/cm/local/apps/environment-modules/3.2.6/Modules/3.2.6/init/bash\;:echo \$MODULEPATH\;:echo:\$MODULESHOME\;:MODULEPATH=/cm/shared/modulefiles/ lcflow parallel lcflow parallel 40 %modules netcdf/intel/64/4.1.3:intel/ics/64/2011.0.013 intel/impi/64/4.0.1.007:hdf5/intel/64/1.8.7 lcflow parallel 38 41 # 39 42 # … … 161 164 PARTICLE_INFO out:loc:tra ptf $base_data/$fname/MONITORING _prt_info 162 165 PARTICLE_DATA out:loc:flpe prt#:prtf $base_data/$fname/OUTPUT _prt_dat 163 166 # A BLANK LINE MUST FOLLOW -
palm/trunk/SCRIPTS/.mrun.config.ibmh
- Property svn:keywords set to Id
r813 r892 1 #$Id$ 1 2 #column 1 column 2 column 3 2 3 #name of variable value of variable (~ must not be used) scope … … 147 148 PARTICLE_INFO out:loc:tra ptf $base_data/$fname/MONITORING _prt_info 148 149 PARTICLE_DATA out:loc:flpe prt#:prtf $output_data/$fname/OUTPUT _prt_dat 149 150 # A BLANK LINE MUST FOLLOW -
palm/trunk/SCRIPTS/.mrun.config.imuk
- Property svn:keywords set to Id
r537 r892 8 8 %add_source_path $base_directory/USER_CODE/$fname 9 9 %depository_path $base_directory/MAKE_DEPOSITORY 10 %use_makefile true10 #%use_makefile true 11 11 # 12 12 # Enter your own host below by adding another line containing in the second … … 15 15 # first characters of the host identifier should be "lc" (Linux cluster), "ibm" 16 16 # (IBM-AIX), or "nec" (NEC-SX), respectively. 17 %host_identifier service100 lcsgih18 %host_identifier r1* lcsgih19 %host_identifier h01* lcsgih20 %host_identifier r2* lcsgib21 %host_identifier b01* lcsgib22 %host_identifier gallego lcmuk23 %host_identifier nid00* lcxt424 17 # 25 %remote_username maronga lcmuk parallel 26 %tmp_user_catalog /tmp lcmuk parallel 27 %compiler_name mpif90 lcmuk parallel 28 %compiler_name_ser ifort lcmuk parallel 29 %cpp_options -D__mpi2:-DMPI_REAL=MPI_DOUBLE_PRECISION:-DMPI_2REAL=MPI_2DOUBLE_PRECISION:-D__netcdf:-D__netcdf_64bit lcmuk parallel 30 %netcdf_inc -I:/muksoft_64/packages/netcdf/3.6.3/include lcmuk parallel 31 %netcdf_lib -L/muksoft_64/packages/netcdf/3.6.3/lib:-lnetcdf lcmuk parallel 32 %fopts -axW:-cpp:-r8:-nbs:-convert:little_endian:-I:/muksoft_64/packages/mpich2/2.1.0.5/include lcmuk parallel 33 %lopts -axW:-cpp:-r8:-nbs:-Vaxlib:-L:/muksoft_64/packages/mpich2/2.1.0.5/lib lcmuk parallel 34 #%hostfile $base_directory/.hostfile lcmuk parallel 18 %host_identifier inferno lcmuk 35 19 # 36 #%remote_username maronga lcmuk 37 %tmp_user_catalog /tmp lcmuk 38 %compiler_name ifort lcmuk 39 %cpp_options -D__netcdf:-D__netcdf_64bit lcmuk 40 %netcdf_inc -I:/muksoft_64/packages/netcdf/3.6.3/include lcmuk 41 %netcdf_lib -L/muksoft_64/packages/netcdf/3.6.3/lib:-lnetcdf lcmuk 42 %fopts -axW:-cpp:-r8:-nbs:-convert:little:endian lcmuk 43 %lopts -axW:-cpp:-r8:-nbs:-Vaxlib lcmuk 20 # version 02/05/2012 21 %remote_username <replace by your IMUK username> lcmuk 22 #%tmp_user_catalog /home/<replace by your IMUK username>/palm/tmp/ lcmuk 23 %compiler_name ifort lcmuk 24 %compiler_name_ser ifort lcmuk 25 %cpp_options -cpp:-D__netcdf lcmuk 26 %netcdf_inc -I:/muksoft/packages/netcdf/3.6.3/include lcmuk 27 %netcdf_lib -L/muksoft/packages/netcdf/3.6.3/lib:-lnetcdf lcmuk 28 %mopts -j:4 lcmuk 29 %fopts -fltconsistency:-O3:-cpp:-r8:-nbs:-convert:little_endian lcmuk 30 %lopts -fltconsistency:-O3:-cpp:-r8:-nbs:-Vaxlib lcmuk 44 31 # 45 %remote_username maronga lcmuk trace 46 %tmp_user_catalog /tmp lcmuk trace 47 %compiler_name ifort lcmuk trace 48 %cpp_options -D__netcdf:-D__netcdf_64bit lcmuk trace 49 %netcdf_inc -I:/muksoft_64/packages/netcdf/3.6.3/include lcmuk trace 50 %netcdf_lib -L/muksoft_64/packages/netcdf/3.6.3/lib:-lnetcdf lcmuk trace 51 %fopts -axW:-cpp:-g:-CB:-inline_debug_info:-r8:-nbs:-convert:little:endian lcmuk trace 52 %lopts -axW:-cpp:-g:-CB:-inline_debug_info:-r8:-nbs:-Vaxlib lcmuk trace 32 # version 02/05/2012 33 %remote_username <replace by your IMUK username> lcmuk parallel 34 #%tmp_user_catalog /home/<replace by your IMUK username>/palm/tmp/ lcmuk parallel 35 %compiler_name mpif90 lcmuk parallel 36 %compiler_name_ser ifort lcmuk parallel 37 %cpp_options -cpp:-DMPI_REAL=MPI_DOUBLE_PRECISION:-DMPI_2REAL=MPI_2DOUBLE_PRECISION:-D__netcdf lcmuk parallel 38 %netcdf_inc -I:/muksoft/packages/netcdf/3.6.3/include lcmuk parallel 39 %netcdf_lib -L/muksoft/packages/netcdf/3.6.3/lib:-lnetcdf lcmuk parallel 40 %mopts -j:4 lcmuk parallel 41 %fopts -axW:-O3:-cpp:-openmp:-r8:-fp-model:precise:-ftz:-fno-alias:-no-prec-div:-no-prec-sqrt:-ip:-nbs:-convert:little_endian lcmuk parallel 42 %lopts -axW:-O3:-cpp:-openmp:-r8:-fp-model:precise:-ftz:-fno-alias:-no-prec-div:-no-prec-sqrt:-ip:-nbs:-Vaxlib lcmuk parallel 43 #%hostfile $base_directory/.hostfile lcmuk parallel 53 44 # 54 %sgi_feature ice lcsgih parallel 55 %remote_username nikmaron lcsgih parallel 56 %compiler_name mpif90 lcsgih parallel 57 %compiler_name_ser ifort lcsgih parallel 58 %mpilib mvapich2/1.2.0-intel lcsgih parallel 59 %cpp_options -DMPI_REAL=MPI_DOUBLE_PRECISION:-DMPI_2REAL=MPI_2DOUBLE_PRECISION:-D__netcdf:-D__netcdf_64bit lcsgih parallel 60 %netcdf_inc -I:/sw/dataformats/netcdf/3.6.2/include lcsgih parallel 61 %netcdf_lib -L/sw/dataformats/netcdf/3.6.2/lib:-lnetcdf:-lnetcdff lcsgih parallel 62 %fopts -g:-w:-xT:-O3:-cpp:-r8:-ftz:-fno-alias:-no-prec-div:-no-prec-sqrt:-ip:-nbs:-convert:little_endian lcsgih parallel 63 %lopts -g:-w:-xT:-O3:-cpp:-r8:-ftz:-fno-alias:-no-prec-div:-no-prec-sqrt:-ip:-nbs:-Vaxlib lcsgih parallel 64 #%tmp_data_catalog /gfs1/work/nikmaron/palm_restart_data lcsgih parallel 65 #%tmp_user_catalog /gfs1/tmp/nikmaron lcsgih parallel 66 # 67 %sgi_feature ice lcsgih parallel debug 68 %remote_username nikmaron lcsgih parallel debug 69 %totalview true lcsgih parallel debug 70 %compiler_name mpif90 lcsgih parallel debug 71 %compiler_name_ser ifort lcsgih parallel debug 72 %mpilib mvapich2/1.2.0-intel lcsgih parallel debug 73 %cpp_options -DMPI_REAL=MPI_DOUBLE_PRECISION:-DMPI_2REAL=MPI_2DOUBLE_PRECISION:-D__netcdf:-D__netcdf_64bit lcsgih parallel debug 74 %netcdf_inc -I:/sw/dataformats/netcdf/3.6.2/include lcsgih parallel debug 75 %netcdf_lib -L/sw/dataformats/netcdf/3.6.2/lib:-lnetcdf:-lnetcdff lcsgih parallel debug 76 %fopts -C:-fpe0:-debug:-traceback:-g:-w:-xT:-O0:-cpp:-r8:-ftz:-fno-alias:-no-prec-div:-no-prec-sqrt:-ip:-nbs:-convert:little_endian lcsgih parallel debug 77 %lopts -C:-fpe0:-debug:-traceback:-g:-w:-xT:-O0:-cpp:-r8:-ftz:-fno-alias:-no-prec-div:-no-prec-sqrt:-ip:-nbs:-Vaxlib lcsgih parallel debug 78 #%tmp_data_catalog /gfs1/work/nikmaron/palm_restart_data lcsgih parallel debug 79 #%tmp_user_catalog /gfs1/tmp/nikmaron lcsgih parallel debug 80 # 81 %sgi_feature ice lcsgib parallel 82 %remote_username nikmaron lcsgib parallel 83 %compiler_name mpif90 lcsgib parallel 84 %compiler_name_ser ifort lcsgib parallel 85 %mpilib mvapich2/1.2.0-intel lcsgib parallel 86 %cpp_options -DMPI_REAL=MPI_DOUBLE_PRECISION:-DMPI_2REAL=MPI_2DOUBLE_PRECISION:-D__netcdf:-D__netcdf_64bit lcsgib parallel 87 %netcdf_inc -I:/sw/dataformats/netcdf/3.6.2/include lcsgib parallel 88 %netcdf_lib -L/sw/dataformats/netcdf/3.6.2/lib:-lnetcdf:-lnetcdff lcsgib parallel 45 # version 02/05/2012 46 %remote_username <replace by your IMUK username> lcmuk parallel trace 47 #%tmp_user_catalog /home/<replace by your IMUK username>/palm/tmp/ lcmuk parallel trace 48 %compiler_name mpif90 lcmuk parallel trace 49 %compiler_name_ser ifort lcmuk parallel trace 50 %cpp_options -DMPI_REAL=MPI_DOUBLE_PRECISION:-DMPI_2REAL=MPI_2DOUBLE_PRECISION:-D__netcdf lcmuk parallel trace 51 %netcdf_inc -I:/muksoft/packages/netcdf/3.6.3/include lcmuk parallel trace 52 %netcdf_lib -L/muksoft/packages/netcdf/3.6.3/lib:-lnetcdf lcmuk parallel trace 53 %fopts -C:-check:nooutput_conversion:-openmp:-fpe0:-debug:-traceback:-g:-w:-xT:-O0:-cpp:-r8:-ftz:-fno-alias:-no-prec-div:-no-prec-sqrt:-ip:-nbs:-convert:little_endian lcmuk parallel trace 54 %lopts -C:-check:nooutput_conversion:-openmp:-fpe0:-debug:-traceback:-g:-w:-xT:-O0:-cpp:-r8:-ftz:-fno-alias:-no-prec-div:-no-prec-sqrt:-ip:-nbs:-Vaxlib lcmuk parallel trace 89 55 90 %fopts -g:-w:-xT:-O3:-cpp:-r8:-ftz:-fno-alias:-no-prec-div:-no-prec-sqrt:-ip:-nbs:-convert:little_endian lcsgib parallel91 %lopts -g:-w:-xT:-O3:-cpp:-r8:-ftz:-fno-alias:-no-prec-div:-no-prec-sqrt:-ip:-nbs:-Vaxlib lcsgib parallel92 #%tmp_data_catalog /gfs1/work/nikmaron/palm_restart_data lcsgib parallel93 #%tmp_user_catalog /gfs1/tmp/nikmaron lcsgib parallel94 #95 %sgi_feature ice lcsgib parallel debug96 %remote_username nikmaron lcsgib parallel debug97 %compiler_name mpif90 lcsgib parallel debug98 %compiler_name_ser ifort lcsgib parallel debug99 %mpilib mvapich2/1.2.0-intel lcsgib parallel debug100 %cpp_options -DMPI_REAL=MPI_DOUBLE_PRECISION:-DMPI_2REAL=MPI_2DOUBLE_PRECISION:-D__netcdf:-D__netcdf_64bit lcsgib parallel debug101 %netcdf_inc -I:/sw/dataformats/netcdf/3.6.2/include lcsgib parallel debug102 %netcdf_lib -L/sw/dataformats/netcdf/3.6.2/lib:-lnetcdf:-lnetcdff lcsgib parallel debug103 %fopts -C:-fpe0:-debug:-traceback:-g:-w:-xT:-O0:-cpp:-r8:-ftz:-fno-alias:-no-prec-div:-no-prec-sqrt:-ip:-nbs:-convert:little_endian lcsgib parallel debug104 %lopts -C:-fpe0:-debug:-traceback:-g:-w:-xT:-O0:-cpp:-r8:-ftz:-fno-alias:-no-prec-div:-no-prec-sqrt:-ip:-nbs:-Vaxlib lcsgib parallel debug105 #%tmp_data_catalog /gfs1/work/nikmaron/palm_restart_data lcsgib parallel debug106 #%tmp_user_catalog /gfs1/tmp/nikmaron lcsgib parallel debug107 108 #109 %remote_username bjornm lcxt4 parallel110 %tmp_user_catalog /work/bjornm lcxt4 parallel111 %tmp_data_catalog /work/bjornm/PALM_RESTART_DATA lcxt4 parallel112 #%job_catalog /work/bjornm/job_queue lcxt4 parallel113 %compiler_name ftn lcxt4 parallel114 %compiler_name_ser ftn lcxt4 parallel115 %cpp_options -DMPI_REAL=MPI_DOUBLE_PRECISION:-DMPI_2REAL=MPI_2DOUBLE_PRECISION:-D__netcdf:-D__intel_openmp_bug lcxt4 parallel116 %netcdf_inc -I/work/apps/netcdf-3.6.2-cnl-pgi/include lcxt4 parallel117 %netcdf_lib -L/work/apps/netcdf-3.6.2-cnl-pgi/lib:-lnetcdf lcxt4 parallel118 %fopts -fastsse:-Mpreprocess:-r8:-Mnobackslash lcxt4 parallel119 %lopts -fastsse:-Mpreprocess:-r8:-Mnobackslash lcxt4 parallel120 #%fopts -Mbounds:-fastsse:-Mpreprocess:-r8:-Mnobackslash lcxt4 parallel121 #%lopts -Mbounds:-fastsse:-Mpreprocess:-r8:-Mnobackslash lcxt4 parallel122 123 %email_notification maronga@muk.uni-hannover.de lcxt4 parallel124 #125 56 %write_binary true restart 126 57 # 127 58 #---------------------------------------------------------------------------- 128 # INPUT-commands, executed before running PALM - lines must start with "IC:" 59 # INPUT-commands, executed before running PALM - lines must start with "IC:" 129 60 #---------------------------------------------------------------------------- 130 61 #IC: … … 146 77 # Combine all particle information files 147 78 OC:[[ -f PARTICLE_INFOS/_0000 ]] && cat PARTICLE_INFOS/* >> PARTICLE_INFO 148 #149 # Collect plot data (2d/3d) into one file150 OC:combine_plot_fields.x151 79 # 152 80 #---------------------------------------------------------------------------- … … 182 110 CPU_MEASURES out:loc:tra d3f $base_data/$fname/MONITORING _cpu 183 111 # 184 DATA_1D_PR_NETCDF out:loc:tr pr#:prf $base_data/$fname/OUTPUT _pr nc 185 #DATA_1D_PR_NETCDF out:loc pr#:prf $base_data/$fname/OUTPUT _pr nc 186 DATA_1D_SP_NETCDF out:loc:tr sp#:spf $base_data/$fname/OUTPUT _sp nc 187 DATA_1D_TS_NETCDF out:loc:tr ts#:tsf $base_data/$fname/OUTPUT _ts nc 188 DATA_1D_PTS_NETCDF out:loc:tr pts#:ptsf $base_data/$fname/OUTPUT _pts nc 189 DATA_2D_XY_NETCDF out:loc:tr xy#:xyf $base_data/$fname/OUTPUT _xy nc 190 DATA_2D_XY_AV_NETCDF out:loc:tr xy#:xyf $base_data/$fname/OUTPUT _xy_av nc 191 DATA_2D_XZ_NETCDF out:loc:tr xz#:xzf $base_data/$fname/OUTPUT _xz nc 192 DATA_2D_XZ_AV_NETCDF out:loc:tr xz#:xzf $base_data/$fname/OUTPUT _xz_av nc 193 DATA_2D_YZ_NETCDF out:loc:tr yz#:yzf $base_data/$fname/OUTPUT _yz nc 194 DATA_2D_YZ_AV_NETCDF out:loc:tr yz#:yzf $base_data/$fname/OUTPUT _yz_av nc 195 DATA_3D_NETCDF out:loc:tr 3d#:3df $base_data/$fname/OUTPUT _3d nc 196 DATA_3D_AV_NETCDF out:loc:tr 3d#:3df $base_data/$fname/OUTPUT _3d_av nc 112 DATA_1D_PR_NETCDF out:loc:tr pr#:prf $base_data/$fname/OUTPUT _pr nc 113 DATA_1D_SP_NETCDF out:loc:tr sp#:spf $base_data/$fname/OUTPUT _sp nc 114 DATA_1D_TS_NETCDF out:loc:tr ts#:tsf $base_data/$fname/OUTPUT _ts nc 115 DATA_1D_PTS_NETCDF out:loc:tr pts#:ptsf $base_data/$fname/OUTPUT _pts nc 116 DATA_2D_XY_NETCDF out:loc:tr xy#:xyf $base_data/$fname/OUTPUT _xy nc 117 DATA_2D_XY_AV_NETCDF out:loc:tr xy#:xyf $base_data/$fname/OUTPUT _xy_av nc 118 DATA_2D_XZ_NETCDF out:loc:tr xz#:xzf $base_data/$fname/OUTPUT _xz nc 119 DATA_2D_XZ_AV_NETCDF out:loc:tr xz#:xzf $base_data/$fname/OUTPUT _xz_av nc 120 DATA_2D_YZ_NETCDF out:loc:tr yz#:yzf $base_data/$fname/OUTPUT _yz nc 121 DATA_2D_YZ_AV_NETCDF out:loc:tr yz#:yzf $base_data/$fname/OUTPUT _yz_av nc 122 DATA_3D_NETCDF out:loc:tr 3d#:3df $base_data/$fname/OUTPUT _3d nc 123 DATA_3D_AV_NETCDF out:loc:tr 3d#:3df $base_data/$fname/OUTPUT _3d_av nc 197 124 DATA_MASK_01_NETCDF out:loc:tr ma#:maf $base_data/$fname/OUTPUT _m01 nc 198 125 DATA_MASK_01_AV_NETCDF out:loc:tr ma#:maf $base_data/$fname/OUTPUT _m01_av nc … … 235 162 DATA_MASK_20_NETCDF out:loc:tr ma#:maf $base_data/$fname/OUTPUT _m20 nc 236 163 DATA_MASK_20_AV_NETCDF out:loc:tr ma#:maf $base_data/$fname/OUTPUT _m20_av nc 237 DATA_PRT_NETCDF out:loc:pe prt#:prtf $base_data/$fname/OUTPUT _prt nc238 DATA_PRT_NETCDF out:loc:trpe prt#:prtf $base_data/$fname/OUTPUT _prt nc239 DATA_DVR out:loc:trpe dvr $base_data/$fname/OUTPUT _dvr 164 DATA_PRT_NETCDF out:loc:pe prt#:prtf $base_data/$fname/OUTPUT _prt nc 165 DATA_PRT_NETCDF out:loc:trpe prt#:prtf $base_data/$fname/OUTPUT _prt nc 166 DATA_DVR out:loc:trpe dvr $base_data/$fname/OUTPUT _dvr 240 167 # 241 168 DVRP_LOG out:loc:tr dv# $base_data/$fname/MONITORING _dvrp_log … … 244 171 PARTICLE_INFO out:loc:tra ptf $base_data/$fname/MONITORING _prt_info 245 172 PARTICLE_DATA out:loc:flpe prt#:prtf $base_data/$fname/OUTPUT _prt_dat 246 173 # A BLANK LINE MUST FOLLOW -
palm/trunk/SCRIPTS/.mrun.config.imuk_hlrn
- Property svn:keywords set to Id
r754 r892 1 #$Id$ 1 2 #column 1 column 2 column 3 2 3 #name of variable value of variable (~ must not be used) scope … … 48 49 %sgi_feature ice2 lcsgih parallel 49 50 %modules intel.compiler/11.1.072:mpt:phdf5/1.8.5-mpt-intel-11.1:pnetcdf/4.1.1-mpt-intel-11.1 lcsgih parallel 51 %login_init_cmd .:/usr/share/modules/init/bash lcsgih parallel 50 52 #%remote_username <replace by your HLRN username> lcsgih parallel 51 53 %compiler_name ifort lcsgih parallel … … 65 67 %sgi_feature ice2 lcsgih parallel trace 66 68 %modules intel.compiler/11.1.072:mpt:phdf5/1.8.5-mpt-intel-11.1:pnetcdf/4.1.1-mpt-intel-11.1 lcsgih parallel trace 69 %login_init_cmd .:/usr/share/modules/init/bash lcsgih parallel trace 67 70 #%remote_username <replace by your HLRN username> lcsgih parallel trace 68 71 %compiler_name ifort lcsgih parallel trace … … 77 80 #%tmp_data_catalog /gfs2/work/<replace by your HLRN username>/palm_restart_data lcsgih parallel trace 78 81 #%tmp_user_catalog /gfs2/tmp/<replace by your HLRN username> lcsgih parallel trace 82 # 83 # 84 # 85 %sgi_feature ice2 lcsgib parallel 86 %modules intel.compiler/11.1.072:mpt:phdf5/1.8.5-mpt-intel-11.1:pnetcdf/4.1.1-mpt-intel-11.1 lcsgib parallel 87 %login_init_cmd .:/usr/share/modules/init/bash lcsgib parallel 88 #%remote_username <replace by your HLRN username> lcsgib parallel 89 %compiler_name ifort lcsgib parallel 90 %compiler_name_ser ifort lcsgib parallel 91 %cpp_options -DMPI_REAL=MPI_DOUBLE_PRECISION:-DMPI_2REAL=MPI_2DOUBLE_PRECISION:-D__netcdf:-D__netcdf4:-D__mpi2 lcsgib parallel 92 %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 lcsgib parallel 93 %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 lcsgib parallel 94 %mopts -j:4 lcsgib parallel 95 %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 lcsgib parallel 96 %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 lcsgib parallel 97 %memory 1500 lcsgib parallel 98 #%tmp_data_catalog /gfs2/work/<replace by your HLRN username>/palm_restart_data lcsgib parallel 99 #%tmp_user_catalog /gfs2/tmp/<replace by your HLRN username> lcsgib parallel 100 # 101 # 102 # 103 %sgi_feature ice2 lcsgib parallel trace 104 %modules intel.compiler/11.1.072:mpt:phdf5/1.8.5-mpt-intel-11.1:pnetcdf/4.1.1-mpt-intel-11.1 lcsgib parallel trace 105 %login_init_cmd .:/usr/share/modules/init/bash lcsgib parallel trace 106 #%remote_username <replace by your HLRN username> lcsgib parallel trace 107 %compiler_name ifort lcsgib parallel trace 108 %compiler_name_ser ifort lcsgib parallel trace 109 %cpp_options -DMPI_REAL=MPI_DOUBLE_PRECISION:-DMPI_2REAL=MPI_2DOUBLE_PRECISION:-D__netcdf:-D__netcdf4:-D__mpi2 lcsgib parallel trace 110 %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 lcsgib parallel trace 111 %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 lcsgib parallel trace 112 %mopts -j:4 lcsgib parallel trace 113 %fopts -openmp:-override-limits:-C:-ftrapuv:-xS:-debug:extended:-check:nooutput_conversion:-O0:-fpe0:-g:-traceback:-cpp:-r8:-fp-model:precise:-align:all:-ftz:-fno-alias:-no-scalar-rep:-no-prec-div:-no-prec-sqrt:-ip:-nbs:-convert:little_endian lcsgib parallel trace 114 %lopts -openmp:-C:-ftrapuv:-xS:-debug:extended:-check:nooutput_conversion:-O0:-fpe0:-g:-traceback:-cpp:-r8:-fp-model:precise:-align:all:-ftz:-fno-alias:-no-scalar-rep:-no-prec-div:-no-prec-sqrt:-ip:-nbs:-Vaxlib:-lmpi lcsgib parallel trace 115 %memory 1500 lcsgib parallel trace 116 #%tmp_data_catalog /gfs2/work/<replace by your HLRN username>/palm_restart_data lcsgib parallel trace 117 #%tmp_user_catalog /gfs2/tmp/<replace by your HLRN username> lcsgib parallel trace 79 118 # 80 119 # … … 156 195 PARTICLE_INFO out:loc:tra ptf $base_data/$fname/MONITORING _prt_info 157 196 PARTICLE_DATA out:loc:flpe prt#:prtf $base_data/$fname/OUTPUT _prt_dat 158 197 # A BLANK LINE MUST FOLLOW -
palm/trunk/SCRIPTS/.mrun.config.imuk_ice2_netcdf4
- Property svn:keywords set to Id
r555 r892 1 #$Id$ 1 2 #column 1 column 2 column 3 2 3 #name of variable value of variable (~ must not be used) scope … … 47 48 %sgi_feature ice2 lcsgih parallel ice2 48 49 %modules intel.compiler:mvapich2:phdf5:pnetcdf lcsgih parallel ice2 50 %login_init_cmd .:/usr/share/modules/init/bash lcsgih parallel ice2 49 51 #%remote_username <replace by your HLRN username> lcsgih parallel 50 52 %compiler_name mpif90 lcsgih parallel ice2 … … 138 140 PARTICLE_INFO out:loc:tra ptf $base_data/$fname/MONITORING _prt_info 139 141 PARTICLE_DATA out:loc:flpe prt#:prtf $base_data/$fname/OUTPUT _prt_dat 140 142 # A BLANK LINE MUST FOLLOW -
palm/trunk/SCRIPTS/.mrun.config.riam
- Property svn:keywords set to Id
r410 r892 1 #$Id$ 1 2 #column 1 column 2 column 3 2 3 #name of variable value of variable (~ must not be used) scope … … 165 166 PARTICLE_INFO out:loc:tra ptf $base_data/$fname/MONITORING _prt_info 166 167 PARTICLE_DATA out:loc:flpe prt#:prtf $base_data/$fname/OUTPUT _prt_dat 167 168 # A BLANK LINE MUST FOLLOW -
palm/trunk/SCRIPTS/.mrun.config.yonsei2011
- Property svn:keywords set to Id
r693 r892 1 #$Id$ 1 2 # recommended settings for Department of Atmospheric Sciences 2 3 # machines climate0-climate3 (host identifier "lcyon") … … 206 207 DATA_2D_YZ_NETCDF_O out:loc:tr yzo#:yzof $base_data/$fname/OUTPUT _o_yz nc 207 208 DATA_2D_YZ_AV_NETCDF_O out:loc:tr yzo#:yzof $base_data/$fname/OUTPUT _o_yz_av nc 209 # A BLANK LINE MUST FOLLOW -
palm/trunk/SCRIPTS/mbuild
r818 r892 130 130 # 08/03/12 - BjornM- bugfix: cpp directive for namelist check program 131 131 # corrected 132 132 # 02/05/12 - Bjoern - lcxt4 is now lcxe6, adjustments for lcxe6, 133 # bugfixes for the parameter file check, initial 134 # commands on ssh calls sourced out to .mrun.config 133 135 134 136 … … 511 513 (lck) remote_addres=165.132.26.61;; 512 514 (lctit) remote_addres=10.1.6.170;; 513 (lcx t4) remote_addres=129.177.20.113;;515 (lcxe6) remote_addres=129.177.20.113;; 514 516 (lcxt5m) remote_addres=193.166.211.144;; 515 517 (decalpha) remote_addres=165.132.26.56;; … … 842 844 843 845 846 # get login init commands, "::" is replacing a space 847 line="" 848 grep "$remote_host_string" $config_file | grep "%login_init_cmd" > $tmp_mbuild 849 while read line1 850 do 851 852 if [[ $(echo $line1 | cut -d" " -s -f3-) = "$remote_host_string" ]] 853 then 854 line="$line1" 855 fi 856 857 if [[ "$line" != "" && $(echo $line | cut -c1) != "#" ]] 858 then 859 # EVENTUELLE DOPPELPUNKTE AUS DIREKTIVENSTRING ENTFERNEN 860 init_cmds=`echo $line | cut -d" " -s -f2 | sed 's/::/%DUM%/g' | sed 's/:/ /g' | sed 's/%DUM%/:/g'` 861 fi 862 init_cmds="${init_cmds};" 863 done < $tmp_mbuild 864 844 865 845 866 # get modules to be loaded … … 861 882 862 883 done < $tmp_mbuild 863 864 865 884 866 885 … … 1011 1030 if [[ $remote_host != $local_host ]] 1012 1031 then 1013 1014 1032 if [[ $compile_utility_programs = false ]] 1015 1033 then … … 1103 1121 then 1104 1122 1105 ssh ${remote_username}@${remote_addres} "$ module_calls cd ${remote_md}; echo '$make_call_string' > LAST_MAKE_CALL; chmod u+x LAST_MAKE_CALL; $make_call_string; [[ \$? != 0 ]] && echo MAKE_ERROR" 2>&1 | tee ${remote_host}_last_make_protokoll1123 ssh ${remote_username}@${remote_addres} "$init_cmds $module_calls cd ${remote_md}; echo '$make_call_string' > LAST_MAKE_CALL; chmod u+x LAST_MAKE_CALL; $make_call_string; [[ \$? != 0 ]] && echo MAKE_ERROR" 2>&1 | tee ${remote_host}_last_make_protokoll 1106 1124 1107 1125 elif [[ $remote_host = ibmh ]] 1108 1126 then 1109 1127 1110 print "$ module_calls export OBJECT_MODE=64; cd ${remote_md}; echo $make_call_string > LAST_MAKE_CALL; chmod u+x LAST_MAKE_CALL; $make_call_string; [[ \$? != 0 ]] && echo MAKE_ERROR" | ssh ${remote_username}@${remote_addres} 2>&1 | tee ${remote_host}_last_make_protokoll1128 print "$init_cmds $module_calls export OBJECT_MODE=64; cd ${remote_md}; echo $make_call_string > LAST_MAKE_CALL; chmod u+x LAST_MAKE_CALL; $make_call_string; [[ \$? != 0 ]] && echo MAKE_ERROR" | ssh ${remote_username}@${remote_addres} 2>&1 | tee ${remote_host}_last_make_protokoll 1111 1129 1112 1130 elif [[ $remote_host = lcsgib || $remote_host = lcsgih ]] 1113 1131 then 1114 1115 1132 # print ". /usr/share/modules/init/bash; $module_calls cd ${remote_md}; echo $make_call_string > LAST_MAKE_CALL; chmod u+x LAST_MAKE_CALL; $make_call_string; [[ \$? != 0 ]] && echo MAKE_ERROR" | ssh ${remote_username}@${remote_addres} 2>&1 | tee ${remote_host}_last_make_protokoll 1116 print " eval \`/sw/swdist/bin/modulesinit\`; $module_callscd ${remote_md}; echo $make_call_string > LAST_MAKE_CALL; chmod u+x LAST_MAKE_CALL; $make_call_string; [[ \$? != 0 ]] && echo MAKE_ERROR" | ssh ${remote_username}@${remote_addres} 2>&1 | tee ${remote_host}_last_make_protokoll1133 print "$init_cmds $module_calls cd ${remote_md}; echo $make_call_string > LAST_MAKE_CALL; chmod u+x LAST_MAKE_CALL; $make_call_string; [[ \$? != 0 ]] && echo MAKE_ERROR" | ssh ${remote_username}@${remote_addres} 2>&1 | tee ${remote_host}_last_make_protokoll 1117 1134 1118 1135 elif [[ $remote_host = lctit ]] … … 1125 1142 done 1126 1143 1127 elif [[ $remote_host = lcx t4]]1128 then 1129 1130 ssh ${remote_username}@${remote_addres} " . /opt/modules/default/init/ksh; $module_callscd ${remote_md}; echo $make_call_string > LAST_MAKE_CALL; chmod u+x LAST_MAKE_CALL; $make_call_string; [[ \$? != 0 ]] && echo MAKE_ERROR" 2>&1 | tee ${remote_host}_last_make_protokoll1131 1132 else 1133 1134 print " cd $module_calls${remote_md}; echo $make_call_string > LAST_MAKE_CALL; chmod u+x LAST_MAKE_CALL; $make_call_string; [[ \$? != 0 ]] && echo MAKE_ERROR" | ssh ${remote_username}@${remote_addres} 2>&1 | tee ${remote_host}_last_make_protokoll1144 elif [[ $remote_host = lcxe6 ]] 1145 then 1146 1147 ssh ${remote_username}@${remote_addres} "$init_cmds $module_calls cd ${remote_md}; echo $make_call_string > LAST_MAKE_CALL; chmod u+x LAST_MAKE_CALL; $make_call_string; [[ \$? != 0 ]] && echo MAKE_ERROR" 2>&1 | tee ${remote_host}_last_make_protokoll 1148 1149 else 1150 1151 print "$init_cmds $module_calls cd ${remote_md}; echo $make_call_string > LAST_MAKE_CALL; chmod u+x LAST_MAKE_CALL; $make_call_string; [[ \$? != 0 ]] && echo MAKE_ERROR" | ssh ${remote_username}@${remote_addres} 2>&1 | tee ${remote_host}_last_make_protokoll 1135 1152 1136 1153 fi … … 1265 1282 fi 1266 1283 1284 1267 1285 if [[ $remote_host = ibms || $remote_host = ibmy ]] 1268 1286 then 1269 1287 1270 ssh ${remote_username}@${remote_addres} "$ module_calls cd ${remote_ud}; $make_call_string; [[ \$? != 0 ]] && echo MAKE_ERROR"1288 ssh ${remote_username}@${remote_addres} "$init_cmds $module_calls cd ${remote_ud}; $make_call_string; [[ \$? != 0 ]] && echo MAKE_ERROR" 1271 1289 1272 1290 elif [[ $remote_host = ibmh ]] 1273 1291 then 1274 1292 1275 print "$ module_calls export OBJECT_MODE=64; cd ${remote_ud}; $make_call_string; [[ \$? != 0 ]] && echo MAKE_ERROR" | ssh ${remote_username}@${remote_addres}1293 print "$init_cmds $module_calls export OBJECT_MODE=64; cd ${remote_ud}; $make_call_string; [[ \$? != 0 ]] && echo MAKE_ERROR" | ssh ${remote_username}@${remote_addres} 1276 1294 1277 1295 elif [[ $remote_host = lctit ]] … … 1281 1299 while [[ $(cat ${remote_host}_last_make_protokoll | grep -c "Forwarding to N1GE") = 0 ]] 1282 1300 do 1283 print "$ module_calls cd ${remote_ud}; $make_call_string; [[ \$? != 0 ]] && echo MAKE_ERROR" | ssh ${remote_username}@${remote_addres} 2>&1 | tee ${remote_host}_last_make_protokoll1301 print "$init_cmds $module_calls cd ${remote_ud}; $make_call_string; [[ \$? != 0 ]] && echo MAKE_ERROR" | ssh ${remote_username}@${remote_addres} 2>&1 | tee ${remote_host}_last_make_protokoll 1284 1302 done 1285 1303 1286 elif [[ $remote_host = lcx t4]]1287 then 1288 1289 ssh ${remote_username}@${remote_addres} " . /opt/modules/default/init/ksh;$module_calls cd ${remote_ud}; $make_call_string; [[ \$? != 0 ]] && echo MAKE_ERROR" 2>&1 | tee ${remote_host}_last_make_protokoll1290 1291 else 1292 1293 print "$ module_calls cd ${remote_ud}; $make_call_string; [[ \$? != 0 ]] && echo MAKE_ERROR" | ssh ${remote_username}@${remote_addres} 2>&1 | tee ${remote_host}_last_make_protokoll1304 elif [[ $remote_host = lcxe6 ]] 1305 then 1306 1307 ssh ${remote_username}@${remote_addres} "$init_cmds $module_calls cd ${remote_ud}; $make_call_string; [[ \$? != 0 ]] && echo MAKE_ERROR" 2>&1 | tee ${remote_host}_last_make_protokoll 1308 1309 else 1310 1311 print "$init_cmds $module_calls cd ${remote_ud}; $make_call_string; [[ \$? != 0 ]] && echo MAKE_ERROR" | ssh ${remote_username}@${remote_addres} 2>&1 | tee ${remote_host}_last_make_protokoll 1294 1312 1295 1313 fi … … 1302 1320 else 1303 1321 1304 # workaround for lcx t41305 if [[ $remote_host = lcx t4]]1306 then 1307 . /opt/modules/default/init/ksh1322 # workaround for lcxe6 1323 if [[ $remote_host = lcxe6 ]] 1324 then 1325 $init_cmds 1308 1326 fi 1309 1327 … … 1415 1433 echo " *** compiling check_namelist_files ..." 1416 1434 1435 # GET CHECK OPTIONS 1436 line="" 1437 found=false 1438 grep "$remote_host_string" $config_file | grep "%cpp_options" > $tmp_mbuild 1439 while read line1 1440 do 1441 1442 if [[ $(echo $line1 | cut -d" " -s -f3-) = "$remote_host_string" ]] 1443 then 1444 line="$line1" 1445 fi 1446 1447 if [[ "$line" != "" && $(echo $line | cut -c1) != "#" ]] 1448 then 1449 # EVENTUELLE DOPPELPUNKTE AUS OPTIONSSTRING UND ALLE -D ENTFERNEN 1450 line="$line " 1451 copts_check=`echo $line | cut -d" " -s -f2 | sed 's/::/%DUM%/g' | sed 's/:/ /g' | sed 's/%DUM%/:/g' | sed 's/-D[^ ]* //g' | sed 's/ -D.*//g'` 1452 found=true 1453 fi 1454 1455 done < $tmp_mbuild 1456 copts_check="$copts_check -D__check -D__parallel" 1457 1417 1458 check_depository_path=${local_source_path}/../UTIL 1418 1459 cd $check_depository_path … … 1423 1464 rm -rf ${mainprog}_sources_check.tar 1424 1465 1425 copts_check="-cpp -D__parallel -D__check" 1426 make -f Makefile_check $make_options F90=$compiler_name_ser COPT="$copts_check" 1427 1466 make -f Makefile_check $make_options F90=$compiler_name_ser COPT="$copts_check" 1428 1467 tar -cf check_namelist_files.tar Makefile_check check_namelist_files.x *.f90 *.o *.mod 1429 1468 mv check_namelist_files.tar $check_depository_path -
palm/trunk/SCRIPTS/mrun
r858 r892 254 254 # 12/03/12 - Siggi - tasks_per_node divisor check not for lcflow 255 255 # 21/03/12 - Matthias - default compiler on ibmh changed 256 # 02/05/12 - Bjoern - lcxt4 is now lcxe6, adjustments for lcxe6, 257 # bugfixes for the parameter file check, initial 258 # commands on ssh calls sourced out to .mrun.config 256 259 257 260 … … 333 336 package_list="" 334 337 punkte="..........................................................." 335 p3d_suffix=""336 338 queue=none 337 339 read_from_config="" … … 706 708 do_remote=true 707 709 case $host in 708 (ibm|ibmh|ibmkisti|ibmku|ibms|ibmy|nech|necriam|lckyoto|lcsgib|lcsgih|unics|lcx t4|lcxt5m|lck|lckordi) true;;710 (ibm|ibmh|ibmkisti|ibmku|ibms|ibmy|nech|necriam|lckyoto|lcsgib|lcsgih|unics|lcxe6|lcxt5m|lck|lckordi) true;; 709 711 (*) printf "\n" 710 712 printf "\n +++ sorry: execution of batch jobs on remote host \"$host\"" … … 870 872 do_remote=true 871 873 case $host in 872 (ibm|ibmh|ibmkisti|ibmku|ibms|ibmy|lckyoto|lcsgib|lcsgih|nech|necriam|unics|lcx t4|lcxt5m|lck|lckordi) true;;874 (ibm|ibmh|ibmkisti|ibmku|ibms|ibmy|lckyoto|lcsgib|lcsgih|nech|necriam|unics|lcxe6|lcxt5m|lck|lckordi) true;; 873 875 (*) printf "\n +++ sorry: execution of batch jobs on remote host \"$host\"" 874 876 printf "\n is not available" … … 1154 1156 do_remote=true 1155 1157 case $host in 1156 (ibm|ibmh|ibmkisti|ibmku|ibms|ibmy|lckyoto|lcsgib|lcsgih|nech|necriam|unics|lcx t4|lcxt5m|lck|lckordi) true;;1158 (ibm|ibmh|ibmkisti|ibmku|ibms|ibmy|lckyoto|lcsgib|lcsgih|nech|necriam|unics|lcxe6|lcxt5m|lck|lckordi) true;; 1157 1159 (*) printf "\n" 1158 1160 printf "\n +++ sorry: execution of batch jobs on remote host \"$host\"" … … 1335 1337 eval filename=${pathin[$i]}/${afname}${endin[$i]} 1336 1338 fi 1339 eval pathname=${pathin[$i]} 1340 1337 1341 1338 1342 # PRUEFEN AUF VORHANDENSEIN … … 2036 2040 lopts="$lopts $netcdf_lib $dvr_lib" 2037 2041 ROPTS="$ropts" 2038 if [[ ( $(echo $host | cut -c1-3) = nec || $(echo $host | cut -c1-3) = ibm || $host = lckyoto || $host = lcsgih || $host = lcsgib || $host = lctit || $host = lcfimm || $host = lcx t4|| $host = lcxt5m || $host = lck || $host = lckordi) && -n $numprocs ]]2042 if [[ ( $(echo $host | cut -c1-3) = nec || $(echo $host | cut -c1-3) = ibm || $host = lckyoto || $host = lcsgih || $host = lcsgib || $host = lctit || $host = lcfimm || $host = lcxe6 || $host = lcxt5m || $host = lck || $host = lckordi) && -n $numprocs ]] 2039 2043 then 2040 2044 XOPT="-X $numprocs" … … 2100 2104 done 2101 2105 mc="$mc -u$remote_username" 2106 fi 2107 2108 # CHECK FOR INITIAL COMMANDS AFTER LOGIN 2109 if [[ "$login_init_cmd" != "" ]] 2110 then 2111 export init_cmds="${login_init_cmd};" 2102 2112 fi 2103 2113 … … 2378 2388 if [[ ! -f $check_depository/check_namelist_files.tar || ! -f $PALM_BIN/check_namelist_files.x ]] 2379 2389 then 2380 skip_check=true 2381 2390 skip_check=true 2391 reason="parameter file check has not been compiled." 2392 fi 2393 2394 #CHECK FOR PARALLEL RUN; OTHERWISE SKIP CHECK 2395 if [[ "$cond1" != "parallel" && "$cond2" != "parallel" ]] 2396 then 2397 skip_check=true 2398 reason="serial run." 2382 2399 fi 2383 2400 2384 2401 #ONLY PERFORM CHECK IF -z OPTION IS NOT SET, NO RESTART RUN IS CARRIED OUT AND IF THE EXECUTION HOST IS THE LOCAL HOST 2385 if [[ $check_namelist_files == false || $fromhost != $localhost || $run_coupled_model == true || $restart_run == true ]] 2402 if [[ $check_namelist_files == false ]] 2403 then 2404 skip_check=true 2405 reason="-z option set." 2406 fi 2407 2408 if [[ $fromhost != $localhost ]] 2409 then 2410 skip_check=true 2411 reason="submitting host is local host." 2412 fi 2413 2414 if [[ $run_coupled_model == true ]] 2386 2415 then 2387 2416 skip_check=true 2388 fi 2417 reason="coupled run." 2418 fi 2419 2420 if [[ $restart_run == true ]] 2421 then 2422 skip_check=true 2423 reason="restart run." 2424 2425 fi 2426 2427 #SKIP CHECK IN CASE OF RESTART RUN: CHECK WHETHER THE LAST CHAR IS "f" IN PARIN 2428 ((last_char = `echo $filename | wc -c` - 1)) 2429 last_char=`echo $filename |cut -c$last_char` 2430 if [[ "$last_char" == "f" ]] 2431 then 2432 skip_check=true 2433 reason="restart run.)" 2434 fi 2435 2389 2436 if [[ $skip_check == false ]] 2390 2437 then 2391 if [[ $ocean_file_appendix == true ]]2392 then2393 d3par_string="d3o#"2394 d3fpar_string="d3of"2395 else2396 d3par_string="d3#"2397 d3fpar_string="d3f"2398 fi2399 2438 2400 2439 tmp_check=${working_directory}/tmp_check 2401 2440 2402 # GET PARAMETER FILE SUFFIX (USUALLY "_P3D") 2441 # GET TOPOGRAPHY PARAMETER FILE SUFFIX (USUALLY "_P3DF"). THIS FILE MIGHT IS 2442 # NOT NECESSARILY REQUIRED 2403 2443 line="" 2404 2444 found=false 2405 grep " $d3par_string" $config_file | grep "PARIN"> $tmp_check2445 grep "TOPOGRAPHY_DATA" $config_file > $tmp_check 2406 2446 while read line1 2407 2447 do … … 2409 2449 if [[ "$line" != "" && $(echo $line | cut -c1) != "#" ]] 2410 2450 then 2411 # EVENTUELLE DOPPELPUNKTE AUS OPTIONSSTRING ENTFERNEN2412 p3d_suffix=`echo $line | tr -s " " | cut -d" " -s -f5`2413 found=true2414 fi2415 done < $tmp_check2416 2417 if [[ $found = false ]]2418 then2419 printf "\n +++ no PARIN list entry found for $d3par_string in the configuration file."2420 2421 locat=check_namelist; exit2422 fi2423 2424 # GET RESTART PARAMETER FILE SUFFIX (USUALLY "_P3DF"). THIS FILE MIGHT IS2425 # NOT NECESSARILY REQUIRED2426 line=""2427 found=false2428 grep "d3f" $config_file | grep "PARIN" > $tmp_check2429 while read line12430 do2431 line="$line1"2432 if [[ "$line" != "" && $(echo $line | cut -c1) != "#" ]]2433 then2434 p3df_suffix=`echo $line | tr -s " " | cut -d" " -s -f5`2435 found=true2436 fi2437 done < $tmp_check2438 2439 if [[ $found = false ]]2440 then2441 printf "\n +++ no PARIN list entry found for d3f in the configuration file."2442 fi2443 2444 # GET TOPOGRAPHY PARAMETER FILE SUFFIX (USUALLY "_P3DF"). THIS FILE MIGHT IS2445 # NOT NECESSARILY REQUIRED2446 line=""2447 found=false2448 grep "d3f" $config_file | grep "TOPOGRAPHY_DATA" > $tmp_check2449 while read line12450 do2451 line="$line1"2452 if [[ "$line" != "" && $(echo $line | cut -c1) != "#" ]]2453 then2454 2451 topo_suffix=`echo $line | tr -s " " | cut -d" " -s -f5` 2455 2452 found=true … … 2467 2464 for item in $input_list 2468 2465 do 2469 if [[ "$item" == "restart" || "$item" == d3f || "$item" == d3of]]2466 if [[ "$item" == "restart" ]] 2470 2467 then 2471 2468 check_restart=1 … … 2476 2473 2477 2474 # ERROR IF NO PARAMETER FILE WAS FOUND, OTHERWISE PROCEED 2478 if [[ ! -f $ working_directory/JOBS/$fname/INPUT/${fname}${p3d_suffix}]]2479 then 2480 printf "\n\n +++ ERROR: parameter file ($ {fname}${p3d_suffix}) not found."2475 if [[ ! -f $filename ]] 2476 then 2477 printf "\n\n +++ ERROR: parameter file ($filename) not found." 2481 2478 locat=check_namelist; exit 2482 2479 fi … … 2485 2482 if [[ $check_restart == 1 ]] 2486 2483 then 2487 if [[ ! -f $working_directory/JOBS/$fname/INPUT/${fname}${p3df_suffix} ]] 2488 then 2489 printf "\n\n +++ WARNING: restart parameter file (${fname}${p3df_suffix}) is missing." 2484 2485 2486 2487 filenamef="${filename}f" 2488 if [[ ! -f $filenamef ]] 2489 then 2490 printf "\n\n +++ WARNING: restart parameter file ($filenamef) is missing." 2490 2491 check_restart=0 2491 2492 answer=dummy … … 2514 2515 cd $check_sources 2515 2516 2517 2516 2518 # CHECK FOR USER CODE, OTHERWISE USE THE PRECOMPILED CHECK_NAMELIST_FILES.X 2517 if [[ -d $ working_directory/USER_CODE/$fname]]2519 if [[ -d $add_source_path ]] 2518 2520 then 2519 2521 printf "\n\n *** copying files from $check_depository" … … 2524 2526 2525 2527 printf "\n\n *** adding user code." 2526 cp $ working_directory/USER_CODE/$fname/* ./2528 cp $add_source_path/* ./ 2527 2529 touch check_namelist_files.f90 2528 2530 … … 2561 2563 fi 2562 2564 2563 cp $ working_directory/JOBS/$fname/INPUT/${fname}${p3d_suffix}./PARIN2565 cp $filename ./PARIN 2564 2566 if [[ $check_restart == 1 ]] 2565 2567 then 2566 cp $ working_directory/JOBS/$fname/INPUT/${fname}${p3df_suffix}./PARINF2567 fi 2568 2569 2570 if [[ -f $ working_directory/JOBS/$fname/INPUT/${fname}${topo_suffix} && $skip_check == false ]]2568 cp $filenamef ./PARINF 2569 fi 2570 2571 cat ${pathname}/${fname}${topo_suffix} 2572 if [[ -f ${pathname}/${fname}${topo_suffix} && $skip_check == false ]] 2571 2573 then 2572 2574 printf "\n *** adding topography data" 2573 cp $ working_directory/JOBS/$fname/INPUT/${fname}${topo_suffix} ./TOPOGRAPHY_DATA2575 cp ${pathname}/${fname}${topo_suffix} ./TOPOGRAPHY_DATA 2574 2576 2575 2577 # IN CASE OF TOPOGRAPHY AND HIGH GRID POINT NUMBERS, THE STACK SIZE … … 2620 2622 2621 2623 # CHECKING THE P3D FILE 2622 printf "\n\n (1) checking $f name$p3d_suffix"2624 printf "\n\n (1) checking $filename" 2623 2625 echo "$numprocs 0" > VARIN 2624 2626 errors=`./check_namelist_files.x < VARIN 2>&1` … … 2637 2639 if [[ $check_restart == 1 && $check_error == false ]] 2638 2640 then 2639 printf "\n\n (2) checking $f name$p3df_suffix"2641 printf "\n\n (2) checking $filenamef" 2640 2642 2641 2643 # FIRST CHECK IF INITIALIZING_ACTIONS="READ_RESTART_DATA" IS SET IN &INIPAR LIST … … 2711 2713 fi 2712 2714 else 2713 printf "\n\n +++ skipping parameter file check \n"2715 printf "\n\n +++ skipping parameter file check due to following reason: $reason" 2714 2716 fi 2715 2717 … … 2717 2719 rm -rf $check_sources 2718 2720 cd $working_directory 2721 2719 2722 2720 2723 # FALLS AUF DIESER MASCHINE GERECHNET WERDEN SOLL, WERDEN JETZT ENTSPRE- … … 2876 2879 if [[ $localhost = nech ]] 2877 2880 then 2878 ssh 136.172.44.192 -l $usern ". /SX/opt/etc/initsx.sh; $module_calls cd \$HOME/work/${usern}.$kennung; sxmake $mopts -f Makefile PROG=a.out F90=$compiler_name COPT=\"$cpp_options\" F90FLAGS=\"$fopts\" LDFLAGS=\"$lopts\" " 2881 # init_cmds was ". /SX/opt/etc/initsx.sh;" 2882 ssh 136.172.44.192 -l $usern "$init_cmds $module_calls cd \$HOME/work/${usern}.$kennung; sxmake $mopts -f Makefile PROG=a.out F90=$compiler_name COPT=\"$cpp_options\" F90FLAGS=\"$fopts\" LDFLAGS=\"$lopts\" " 2879 2883 cp $TEMPDIR_COMPILE/a.out . 2880 2884 [[ $? != 0 ]] && compile_error=true … … 2883 2887 then 2884 2888 printf " compiler is called via ssh on \"plogin1\" \n" 2885 ssh plogin1 -l $usern " export PATH=/sw/ibm/xlf/13.1.0.8/usr/bin:$PATH; $module_calls cd $TEMPDIR; make $mopts -f Makefile PROG=a.out F90=$compiler_name COPT=\"$cpp_options\" F90FLAGS=\"$fopts\" LDFLAGS=\"$lopts\" "2889 ssh plogin1 -l $usern "$init_cmds export PATH=/sw/ibm/xlf/13.1.0.8/usr/bin:$PATH; $module_calls cd $TEMPDIR; make $mopts -f Makefile PROG=a.out F90=$compiler_name COPT=\"$cpp_options\" F90FLAGS=\"$fopts\" LDFLAGS=\"$lopts\" " 2886 2890 [[ ! -f a.out ]] && compile_error=true 2887 2891 continue # ANDERENFALLS IST STATUS=1, FALLS A.OUT VORHANDEN … … 2889 2893 then 2890 2894 printf " compiler is called via ssh on \"bicegate0\" \n" 2891 ssh bicegate0 -l $usern " . /usr/share/modules/init/bash;$module_calls cd $TEMPDIR; make $mopts -f Makefile PROG=a.out F90=$compiler_name COPT=\"$cpp_options\" F90FLAGS=\"$fopts\" LDFLAGS=\"$lopts\" "2895 ssh bicegate0 -l $usern "$init_cmds $module_calls cd $TEMPDIR; make $mopts -f Makefile PROG=a.out F90=$compiler_name COPT=\"$cpp_options\" F90FLAGS=\"$fopts\" LDFLAGS=\"$lopts\" " 2892 2896 [[ ! -f a.out ]] && compile_error=true 2893 2897 continue # ANDERENFALLS IST STATUS=1, FALLS A.OUT VORHANDEN … … 2895 2899 then 2896 2900 printf " compiler is called via ssh on \"hicegate0\" \n" 2897 ssh hicegate0 -l $usern ". /usr/share/modules/init/bash;$module_calls cd $TEMPDIR; make $mopts -f Makefile PROG=a.out F90=$compiler_name COPT=\"$cpp_options\" F90FLAGS=\"$fopts\" LDFLAGS=\"$lopts\" 2>&1 "2901 ssh hicegate0 -l $usern "$init_cmds $module_calls cd $TEMPDIR; make $mopts -f Makefile PROG=a.out F90=$compiler_name COPT=\"$cpp_options\" F90FLAGS=\"$fopts\" LDFLAGS=\"$lopts\" 2>&1 " 2898 2902 [[ ! -f a.out ]] && compile_error=true 2899 2903 continue # ANDERENFALLS IST STATUS=1, FALLS A.OUT VORHANDEN … … 2901 2905 then 2902 2906 printf " compiler is called via ssh on \"flow\" \n" 2903 ssh flow02.hpc.uni-oldenburg.de -l $usern " . /cm/local/apps/environment-modules/3.2.6/Modules/3.2.6/init/bash; echo $MODULEPATH; echo $MODULESHOME; MODULEPATH=/cm/shared/modulefiles/; module load netcdf/intel/64/4.1.3 intel/ics/64/2011.0.013 intel/impi/64/4.0.1.007 hdf5/intel/64/1.8.7;cd $TEMPDIR; make $mopts -f Makefile PROG=a.out F90=$compiler_name COPT=\"$cpp_options\" F90FLAGS=\"$fopts\" LDFLAGS=\"$lopts\" "2907 ssh flow02.hpc.uni-oldenburg.de -l $usern "$init_cmds $module_calls cd $TEMPDIR; make $mopts -f Makefile PROG=a.out F90=$compiler_name COPT=\"$cpp_options\" F90FLAGS=\"$fopts\" LDFLAGS=\"$lopts\" " 2904 2908 [[ ! -f a.out ]] && compile_error=true 2905 2909 continue # ANDERENFALLS IST STATUS=1, FALLS A.OUT VORHANDEN 2906 2910 else 2907 [[ $localhost = lcx t4 ]] && . /opt/modules/default/init/ksh2911 [[ $localhost = lcxe6 ]] && eval $init_cmds 2908 2912 [[ "$module_calls" != "" ]] && eval $module_calls 2909 2913 make $mopts -f Makefile PROG=a.out F90=$compiler_name COPT="$cpp_options" F90FLAGS="$fopts" LDFLAGS="$lopts" … … 3741 3745 mpirun -np $tasks_per_node inspxe-cl -r result -collect mi3 -- ./a.out < runfile_atmos 3742 3746 fi 3743 elif [[ $host = lcx t4|| $host = lcxt5m ]]3747 elif [[ $host = lcxe6 || $host = lcxt5m ]] 3744 3748 then 3745 3749 aprun -n $ii -N $tasks_per_node a.out $ROPTS < runfile_atmos … … 3780 3784 fi 3781 3785 3782 elif [[ $host = lcx t4|| $host = lcxt5m ]]3786 elif [[ $host = lcxe6 || $host = lcxt5m ]] 3783 3787 then 3784 3788 … … 3813 3817 fi 3814 3818 3815 elif [[ $host = lcx t4|| $host = lcxt5m ]]3819 elif [[ $host = lcxe6 || $host = lcxt5m ]] 3816 3820 then 3817 3821 -
palm/trunk/SCRIPTS/subjob
r814 r892 136 136 # 29/11/11 - Siggi - adjustments for lcsgih/lcsgib queues, pingui admitted 137 137 # 21/12/11 - Theres- solano admitted 138 # 31/01/12 - Matthias- adjustments for ibmh 138 # 31/01/12 - Matthias - adjustments for ibmh 139 # 02/05/12 - Bjoern - lcxt4 is now lcxe6, adjustments for lcxe6, 140 # bugfixes for the parameter file check, initial 141 # commands on ssh calls sourced out to .mrun.config 139 142 140 143 … … 227 230 (gregale) local_addres=130.75.105.109; local_host=lcmuk;; 228 231 (hababai) local_addres=130.75.105.108; local_host=lcmuk;; 229 (hexagon.bccs.uib.no) local_addres=129.177.20.113; local_host=lcx t4;;232 (hexagon.bccs.uib.no) local_addres=129.177.20.113; local_host=lcxe6;; 230 233 (hd1) local_addres=130.75.4.104; local_host=lcsgih;; 231 234 (hd2) local_addres=130.75.4.105; local_host=lcsgih;; … … 242 245 (maestro) local_addres=130.75.105.2; local_host=lcmuk;; 243 246 (meteo-login*) local_addres=193.166.211.144;local_host=lcxt5m;; 244 ( nid*) local_addres=129.177.20.113; local_host=lcxt4;;247 (hexagon*) local_addres=129.177.20.113; local_host=lcxe6;; 245 248 (nobel*) local_addres=150.183.5.101; local_host=ibms;; 246 249 (orkan) local_addres=130.75.105.3; local_host=lcmuk;; … … 390 393 (lckordi) remote_addres=210.219.61.8; submcom=/usr/torque/bin/qsub;; 391 394 (lctit) queue=S; remote_addres=10.1.6.165; submcom=/opt/pbs/tools/bin/t2sub;; 392 (lcx t4) remote_addres=129.177.20.113; submcom=/opt/torque/2.4.9-snap.201005191035/bin/qsub;;395 (lcxe6) remote_addres=129.177.20.113; submcom=/opt/torque/2.5.10/bin/qsub;; 393 396 (lcxt5m) remote_addres=193.166.211.144; submcom=/opt/pbs/10.1.0.91350/bin/qsub;; 394 397 (lcyon) remote_addres=165.132.26.68; submcom=/usr/torque/bin/qsub;; … … 926 929 eval \`/sw/swdist/bin/modulesinit\` 927 930 #. /usr/share/modules/init/bash 931 $init_cmds 928 932 $module_calls 929 933 … … 945 949 eval \`/sw/swdist/bin/modulesinit\` 946 950 #. /usr/share/modules/init/bash 951 $init_cmds 947 952 $module_calls 948 953 … … 951 956 fi 952 957 953 elif [[ $remote_host = lcx t4]]958 elif [[ $remote_host = lcxe6 ]] 954 959 then 955 960 … … 969 974 $email_directive 970 975 971 . /opt/modules/default/init/ksh 976 $init_cmds 972 977 $module_calls 973 978 … … 988 993 #PBS -o $remote_dayfile 989 994 990 . /opt/modules/default/init/ksh 995 $init_cmds 991 996 $module_calls 992 997 … … 1036 1041 #PBS -o $remote_dayfile 1037 1042 1038 . /opt/modules/default/init/ksh 1043 $init_cmds 1039 1044 $module_calls 1040 1045 … … 1053 1058 #PBS -o $remote_dayfile 1054 1059 1055 . /opt/modules/default/init/ksh 1060 $init_cmds 1056 1061 $module_calls 1057 1062 … … 1141 1146 cat > $job_to_send << %%END%% 1142 1147 #!/bin/ksh 1143 1148 $init_cmds 1144 1149 $module_calls 1145 1150 … … 1438 1443 then 1439 1444 eval $submcom $job_on_remhost 1440 elif [[ $local_host = lcfimm || $local_host = lctit || $localhost = lcx t4|| $localhost = lck || $localhost = lckordi|| $localhost = lcyon ]]1445 elif [[ $local_host = lcfimm || $local_host = lctit || $localhost = lcxe6 || $localhost = lck || $localhost = lckordi|| $localhost = lcyon ]] 1441 1446 then 1442 1447 chmod u+x $job_on_remhost
Note: See TracChangeset
for help on using the changeset viewer.