#column 1 column 2 column 3 #name of variable value of variable (~ must not be used) scope #---------------------------------------------------------------------------- %mainprog palm.f90 %base_directory $HOME/palm/current_version %base_data ~/palm/current_version/JOBS %source_path $base_directory/trunk/SOURCE %add_source_path $base_directory/USER_CODE/$fname %depository_path $base_directory/MAKE_DEPOSITORY %use_makefile true # # Enter your own host below by adding another line containing in the second # column your hostname (as provided by the unix command "hostname") and in the # third column the host identifier. Depending on your operating system, the # first characters of the host identifier should be "lc" (Linux cluster), "ibm" # (IBM-AIX), or "nec" (NEC-SX), respectively. %host_identifier service100 lcsgih %host_identifier r1* lcsgih %host_identifier h01* lcsgih %host_identifier r2* lcsgib %host_identifier b01* lcsgib %host_identifier gallego lcmuk # # The following blocks contain all information for compiling the PALM code # and for generating and running the PALM executable using MPI. Replace all # required paths (given in <>) by the respective paths valid on your host. # Please adjust compilernames, cpp-options, compiler-options etc. # appropriately for your own system(s), and please delete or comment out # blocks for unused systems. # # The following 'lcmuk parallel' block assumes PALM compilation and execution # on host gallego. Please note that other hosts within the IMUK linux cluster, # e.g. maestro or bora, may have require different settings. # #%remote_username lcmuk parallel %tmp_user_catalog /tmp lcmuk parallel %compiler_name mpif90 lcmuk parallel %compiler_name_ser ifort lcmuk parallel %cpp_options -D__mpi2:-DMPI_REAL=MPI_DOUBLE_PRECISION:-DMPI_2REAL=MPI_2DOUBLE_PRECISION:-D__netcdf:-D__netcdf_64bit lcmuk parallel %netcdf_inc -I:/muksoft_64/packages/netcdf/3.6.2/include lcmuk parallel %netcdf_lib -L/muksoft_64/packages/netcdf/3.6.2/lib:-lnetcdf lcmuk parallel %fopts -axW:-cpp:-r8:-nbs:-convert:little_endian:-I:/muksoft_64/packages/mpich2/2.1.0.5/include lcmuk parallel %lopts -axW:-cpp:-r8:-nbs:-Vaxlib:-L:/muksoft_64/packages/mpich2/2.1.0.5/lib lcmuk parallel #%hostfile $base_directory/.hostfile lcmuk parallel # %sgi_feature ice2 lcsgih parallel ice2 %modules ifort/11.0.069:mvapich2/1.4.0-intel:phdf5:pnetcdf lcsgih parallel ice2 #%remote_username lcsgih parallel %compiler_name mpif90 lcsgih parallel ice2 %compiler_name_ser ifort lcsgih parallel ice2 %cpp_options -DMPI_REAL=MPI_DOUBLE_PRECISION:-DMPI_2REAL=MPI_2DOUBLE_PRECISION:-D__netcdf:-D__netcdf4:-D__mpi2 lcsgih parallel ice2 %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 %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 %mopts -j:4 lcsgih parallel ice2 %fopts -xSSE4.2:-O3:-cpp:-r8:-align:all:-ftz:-fno-alias:-no-prec-div:-no-prec-sqrt:-ip:-nbs:-convert:little_endian lcsgih parallel ice2 %lopts -xSSE4.2:-O3:-cpp:-r8:-align:all:-ftz:-fno-alias:-no-prec-div:-no-prec-sqrt:-ip:-nbs:-Vaxlib lcsgih parallel ice2 %memory 1500 lcsgih parallel ice2 #%tmp_data_catalog /gfs1/work//palm_restart_data lcsgih parallel #%tmp_user_catalog /gfs1/tmp/ lcsgih parallel # # %write_binary true restart # #---------------------------------------------------------------------------- # INPUT-commands, executed before running PALM - lines must start with "IC:" #---------------------------------------------------------------------------- #IC: # #---------------------------------------------------------------------------- # ERROR-commands - executed when program terminates abnormally #---------------------------------------------------------------------------- EC:[[ \$locat = execution ]] && cat RUN_CONTROL EC:pwd; ls -al # #---------------------------------------------------------------------------- # OUTPUT-commands - executed when program terminates normally #---------------------------------------------------------------------------- # # Combine 1D- and 3D-profile output (these files are not usable for plotting) OC:[[ -f LIST_PROFIL_1D ]] && cat LIST_PROFIL_1D >> LIST_PROFILE OC:[[ -f LIST_PROFIL ]] && cat LIST_PROFIL >> LIST_PROFILE # # Combine all particle information files OC:[[ -f PARTICLE_INFOS/_0000 ]] && cat PARTICLE_INFOS/* >> PARTICLE_INFO # # Collect plot data (2d/3d) into one file OC:combine_plot_fields.x # #---------------------------------------------------------------------------- # List of input-files #---------------------------------------------------------------------------- PARIN in:job d3# $base_data/$fname/INPUT _p3d PARIN in:job d3f $base_data/$fname/INPUT _p3df TOPOGRAPHY_DATA in:locopt d3#:d3f $base_data/$fname/INPUT _topo BININ in:loc:flpe d3f $base_data/$fname/RESTART _d3d PARTICLE_RESTART_DATA_IN in:loc:flpe prtf $base_data/$fname/RESTART _rprt DATA_1D_PR_NETCDF in:locopt prf $base_data/$fname/OUTPUT _pr nc DATA_1D_SP_NETCDF in:locopt spf $base_data/$fname/OUTPUT _sp nc DATA_1D_TS_NETCDF in:locopt tsf $base_data/$fname/OUTPUT _ts nc DATA_1D_PTS_NETCDF in:locopt ptsf $base_data/$fname/OUTPUT _pts nc DATA_2D_XY_NETCDF in:locopt xyf $base_data/$fname/OUTPUT _xy nc DATA_2D_XY_AV_NETCDF in:locopt xyf $base_data/$fname/OUTPUT _xy_av nc DATA_2D_XZ_NETCDF in:locopt xzf $base_data/$fname/OUTPUT _xz nc DATA_2D_YZ_NETCDF in:locopt yzf $base_data/$fname/OUTPUT _yz nc DATA_3D_NETCDF in:locopt 3df $base_data/$fname/OUTPUT _3d nc DATA_PRT_NETCDF in:locopt:pe prtf $base_data/$fname/OUTPUT _prt # #---------------------------------------------------------------------------- # List of output-files #---------------------------------------------------------------------------- BINOUT out:loc:flpe restart $base_data/$fname/RESTART _d3d PARTICLE_RESTART_DATA_OUT out:loc:flpe prt#:prtf $base_data/$fname/RESTART _rprt # RUN_CONTROL out:loc:tr d3# $base_data/$fname/MONITORING _rc RUN_CONTROL out:loc:tra d3f $base_data/$fname/MONITORING _rc HEADER out:loc:tr d3# $base_data/$fname/MONITORING _header HEADER out:loc:tra d3f $base_data/$fname/MONITORING _header CPU_MEASURES out:loc:tr d3# $base_data/$fname/MONITORING _cpu CPU_MEASURES out:loc:tra d3f $base_data/$fname/MONITORING _cpu # DATA_1D_PR_NETCDF out:loc:tr pr#:prf $base_data/$fname/OUTPUT _pr nc DATA_1D_SP_NETCDF out:loc:tr sp#:spf $base_data/$fname/OUTPUT _sp nc DATA_1D_TS_NETCDF out:loc:tr ts#:tsf $base_data/$fname/OUTPUT _ts nc DATA_1D_PTS_NETCDF out:loc:tr pts#:ptsf $base_data/$fname/OUTPUT _pts nc DATA_2D_XY_NETCDF out:loc:tr xy#:xyf $base_data/$fname/OUTPUT _xy nc DATA_2D_XY_AV_NETCDF out:loc:tr xy#:xyf $base_data/$fname/OUTPUT _xy_av nc DATA_2D_XZ_NETCDF out:loc:tr xz#:xzf $base_data/$fname/OUTPUT _xz nc DATA_2D_XZ_AV_NETCDF out:loc:tr xz#:xzf $base_data/$fname/OUTPUT _xz_av nc DATA_2D_YZ_NETCDF out:loc:tr yz#:yzf $base_data/$fname/OUTPUT _yz nc DATA_2D_YZ_AV_NETCDF out:loc:tr yz#:yzf $base_data/$fname/OUTPUT _yz_av nc DATA_3D_NETCDF out:loc:tr 3d#:3df $base_data/$fname/OUTPUT _3d nc DATA_3D_AV_NETCDF out:loc:tr 3d#:3df $base_data/$fname/OUTPUT _3d_av nc DATA_PRT_NETCDF out:loc:pe prt#:prtf $base_data/$fname/OUTPUT _prt nc DATA_PRT_NETCDF out:loc:trpe prt#:prtf $base_data/$fname/OUTPUT _prt nc DATA_DVR out:loc:trpe dvr $base_data/$fname/OUTPUT _dvr # DVRP_LOG out:loc:tr dv# $base_data/$fname/MONITORING _dvrp_log DVRP_LOG out:loc:tra dvf $base_data/$fname/MONITORING _dvrp_log PARTICLE_INFO out:loc:tr pt# $base_data/$fname/MONITORING _prt_info PARTICLE_INFO out:loc:tra ptf $base_data/$fname/MONITORING _prt_info PARTICLE_DATA out:loc:flpe prt#:prtf $base_data/$fname/OUTPUT _prt_dat