22 | | Option {{{-a}}} is used for steering the handling of input and output files that are required / generated by PALM. Its argument is called the file activation string. The file configuration file {{{..../trunk/SCRIPTS/.palm.iofiles}}} contains a complete list of PALM's I/O files, one line per file. ..... |
23 | | |
24 | | Option {{{-X}}} specifies on how many cores the simulation shall run. The argument should not be larger than the maximum number of cores available on your computer (except in case of hyperthreading), because that usually slows down the performance significantly. |
25 | | |
26 | | -T: really required ?? |
27 | | |
28 | | |
29 | | |
30 | | |
| 22 | Option {{{-a}}} is used for steering the handling of input and output files that are required / generated by PALM. Its argument is called the file activation string(s). The file configuration file {{{..../trunk/SCRIPTS/.palm.iofiles}}} contains a complete list of PALM's I/O files, one line per file. PALM expects its input files in a temporary working directory that is created by each call of {{{palmrun}}} and it outputs data to this temporary directory too. The file configuration file tells {{{palmrun}}} where to find your input files and where to copy the output files (because the temporary working directory is automatically deleted before {{{palmrun}}} has finished). The default setting is that all these files are in subdirectory {{{$HOME/palm/current_version/JOBS/<run_identifier>}}}, where {{{<run_identifier>}}} is the one given with option {{{-d}}}. The argument of option {{{-a}}} tells {{{palmrun}}} which of these files need to be copied. If the option is omitted, no I/O files will be copied at all. Argument {{{"d3#"}}} means that the parameter/NAMELIST file for steering PALM shall be provided as input file. This is the minimum setting for option {{{-a}}}, because PALM cannot run without this parameter file. Multiple activation strings can be given. See ... for handling PALM I/O files. |
| 23 | |
| 24 | Option {{{-X}}} specifies on how many cores the simulation shall run. The argument should not be larger than the maximum number of cores available on your computer (except in case of hyperthreading), because that would usually slow down the performance significantly. |
| 25 | |
| 26 | After entering the {{{palmrun}}} command, some general settings will be listed on the terminal and the user is prompted for confirmation: |
| 27 | {{{ |
| 28 | *** palmrun 1.0 Rev: 2993 $ |
| 29 | will be executed. Please wait ... |
| 30 | |
| 31 | Reading the configuration file... |
| 32 | Reading the I/O files... |
| 33 | |
| 34 | *** INFORMATIVE: additional source code directory |
| 35 | "/home/raasch/palm/current_version/JOBS/example_cbl/USER_CODE" |
| 36 | does not exist or is not a directory. |
| 37 | No source code will be used from this directory! |
| 38 | |
| 39 | #------------------------------------------------------------------------# |
| 40 | | palmrun 1.0 Rev: 2993 $ Thu Apr 26 12:59:34 CEST 2018 | |
| 41 | | | |
| 42 | | called on: bora | |
| 43 | | host identifier: default (execute on IP: 111.11.111.111) | |
| 44 | | running in: interactive run mode | |
| 45 | | number of cores: 4 | |
| 46 | | tasks per node: 4 (number of nodes: 1) | |
| 47 | | | |
| 48 | | cpp directives: -cpp -D__parallel -DMPI_REAL=MPI_DOUBLE_PRECI | |
| 49 | | SION -DMPI_2REAL=MPI_2DOUBLE_PRECISION -D__ff | |
| 50 | | tw -D__netcdf | |
| 51 | | compiler options: -openmp -fpe0 -O3 -xHost -fp-model source -ft | |
| 52 | | z -fno-alias -no-prec-div -no-prec-sqrt -ip - | |
| 53 | | nbs -I /muksoft/packages/fftw/3.3.4/include - | |
| 54 | | L/muksoft/packages/fftw/3.3.4/lib64 -lfftw3 - | |
| 55 | | I /muksoft/packages/netcdf/4_intel/include -L | |
| 56 | | /muksoft/packages/netcdf/4_intel/lib -lnetcdf | |
| 57 | | -lnetcdff | |
| 58 | | linker options: -openmp -fpe0 -O3 -xHost -fp-model source -ft | |
| 59 | | z -fno-alias -no-prec-div -no-prec-sqrt -ip - | |
| 60 | | nbs -I /muksoft/packages/fftw/3.3.4/include - | |
| 61 | | L/muksoft/packages/fftw/3.3.4/lib64 -lfftw3 - | |
| 62 | | I /muksoft/packages/netcdf/4_intel/include -L | |
| 63 | | /muksoft/packages/netcdf/4_intel/lib -lnetcdf | |
| 64 | | -lnetcdff | |
| 65 | | | |
| 66 | | run identifier: example_cbl | |
| 67 | | activation string list: d3# | |
| 68 | #------------------------------------------------------------------------# |
| 69 | |
| 70 | >>> everything o.k. (y/n) ? |
| 71 | }}} |
| 72 | Listed settings are determined by the {{{palmrun}}} options and settings in the configuration file (here {{{.palm.config.default}}}). Entering {{{n}}} will abort {{{palmrun}}}. Entering {{{y}}} will finally start execution of PALM and a larger number of informative messages will appear on the terminal: |
| 73 | {{{ |
| 74 | *** PALMRUN will now continue to execute on this machine |
| 75 | |
| 76 | *** creating executable and other sources for the local host |
| 77 | *** nothing to compile for this run |
| 78 | *** executable and other sources created |
| 79 | |
| 80 | *** changed to temporary directory: /localdata/......./example_cbl.23751 |
| 81 | |
| 82 | *** providing INPUT-files: |
| 83 | ---------------------------------------------------------------------------- |
| 84 | >>> INPUT: /home/....../palm/current_version/JOBS/example_cbl/INPUT/example_cbl_p3d to PARIN |
| 85 | *** INFORMATIVE: some optional INPUT-files are not present |
| 86 | ---------------------------------------------------------------------------- |
| 87 | *** all INPUT-files provided |
| 88 | |
| 89 | |
| 90 | *** execution of INPUT-commands: |
| 91 | ---------------------------------------------------------------------------- |
| 92 | >>> ulimit -s unlimited |
| 93 | ---------------------------------------------------------------------------- |
| 94 | |
| 95 | |
| 96 | *** execution starts in directory |
| 97 | "/localdata/....../example_cbl.23751" |
| 98 | ---------------------------------------------------------------------------- |
| 99 | |
| 100 | *** running on: bora bora bora bora |
| 101 | *** execute command: |
| 102 | "mpiexec -machinefile hostfile -n 4 palm" |
| 103 | |
| 104 | ... reading environment parameters from ENVPAR --- finished |
| 105 | ... reading NAMELIST parameters from PARIN --- finished |
| 106 | ... creating virtual PE grids + MPI derived data types --- finished |
| 107 | ... checking parameters --- finished |
| 108 | ... allocating arrays --- finished |
| 109 | ... initializing with constant profiles --- finished |
| 110 | ... initializing statistics, boundary conditions, etc. --- finished |
| 111 | ... creating initial disturbances --- finished |
| 112 | ... calling pressure solver --- finished |
| 113 | ... initializing surface layer --- finished |
| 114 | --- leaving init_3d_model |
| 115 | --- starting timestep-sequence |
| 116 | |
| 117 | [XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX] 0.0 left |
| 118 | --- finished time-stepping |
| 119 | ... calculating cpu statistics --- finished |
| 120 | |
| 121 | ---------------------------------------------------------------------------- |
| 122 | *** execution finished |
| 123 | }}} |
| 124 | In case that {{{palmrun}}} has proceeded to this point ({{{finished time stepping}}} and {{{execution finished}}}) without giving warning- or error-messages, the PALM simulation has finished successfully. The displayed progress bar ({{{xxxxx}}}}) allows you to estimate how long the run still needs to finish. |
| 125 | |
| 126 | Subsequent messages give information about post processing and copying of output data: |
| 127 | {{{ |
| 128 | *** post-processing: now executing "mpiexec -machinefile hostfile -n 1 combine_plot_fields.x" ... |
| 129 | |
| 130 | *** combine_plot_fields *** |
| 131 | uncoupled run |
| 132 | |
| 133 | |
| 134 | NetCDF output enabled |
| 135 | no XY-section data available |
| 136 | |
| 137 | NetCDF output enabled |
| 138 | no XZ-section data available |
| 139 | |
| 140 | no YZ-section data available |
| 141 | |
| 142 | no 3D-data file available |
| 143 | |
| 144 | *** execution of OUTPUT-commands: |
| 145 | ---------------------------------------------------------------------------- |
| 146 | >>> [[ -f LIST_PROFIL_1D ]] && cat LIST_PROFIL_1D >> LIST_PROFILE |
| 147 | >>> [[ -f LIST_PROFIL ]] && cat LIST_PROFIL >> LIST_PROFILE |
| 148 | >>> [[ -f PARTICLE_INFOS/_0000 ]] && cat PARTICLE_INFOS/* >> PARTICLE_INFO |
| 149 | ---------------------------------------------------------------------------- |
| 150 | |
| 151 | |
| 152 | *** saving OUTPUT-files: |
| 153 | ---------------------------------------------------------------------------- |
| 154 | >>> OUTPUT: RUN_CONTROL to |
| 155 | /home/raasch/palm/current_version/JOBS/example_cbl/MONITORING/example_cbl_rc |
| 156 | |
| 157 | >>> OUTPUT: HEADER to |
| 158 | /home/raasch/palm/current_version/JOBS/example_cbl/MONITORING/example_cbl_header |
| 159 | |
| 160 | >>> OUTPUT: CPU_MEASURES to |
| 161 | /home/raasch/palm/current_version/JOBS/example_cbl/MONITORING/example_cbl_cpu |
| 162 | |
| 163 | >>> OUTPUT: DATA_1D_PR_NETCDF to |
| 164 | /home/raasch/palm/current_version/JOBS/example_cbl/OUTPUT/example_cbl_pr.nc |
| 165 | |
| 166 | >>> OUTPUT: DATA_1D_TS_NETCDF to |
| 167 | /home/raasch/palm/current_version/JOBS/example_cbl/OUTPUT/example_cbl_ts.nc |
| 168 | |
| 169 | >>> OUTPUT: DATA_2D_XY_NETCDF to |
| 170 | /home/raasch/palm/current_version/JOBS/example_cbl/OUTPUT/example_cbl_xy.nc |
| 171 | |
| 172 | >>> OUTPUT: DATA_2D_XZ_NETCDF to |
| 173 | /home/raasch/palm/current_version/JOBS/example_cbl/OUTPUT/example_cbl_xz.nc |
| 174 | |
| 175 | >>> OUTPUT: DATA_2D_XZ_AV_NETCDF to |
| 176 | /home/raasch/palm/current_version/JOBS/example_cbl/OUTPUT/example_cbl_xz_av.nc |
| 177 | |
| 178 | ---------------------------------------------------------------------------- |
| 179 | *** all OUTPUT-files saved |
| 180 | |
| 181 | --> palmrun finished |
| 182 | }}} |
| 183 | You should find the output files at their respective positions as listed in the terminal output. Most of PALM's output files are written in NetCDF format. Please see here (add link) for a complete list of different output data/files that PALM offers. Section ..... describes how to steer PALM's output (e.g. output quantities, output intervals, etc.). |
| 184 | |
| 185 | You are now at the point where you can define and run your own simulation set-up for the first time. |