Changes between Version 12 and Version 13 of doc/app/palm_config
- Timestamp:
- Jul 19, 2018 1:12:05 PM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
doc/app/palm_config
v12 v13 94 94 ||compiler_name_ser ||FORTRAN compiler name to create non-MPI executables. This name is required, because {{{palmbuild}}} generates several helper programs for pre-/post-processing, which run in serial mode on just one code. Here you give the original compiler name, like ''ifort'', ''pgfortran'', ''gfortran'', or ''xlf95''. ||no default value || 95 95 ||cpp_options ||Preprocessor directives to be used for compiling the PALM code. They allow for conditional compilation using the {{{-D}}} compiler option. Compiling PALM with MPI support requires options {{{-D__parallel -DMPI_REAL=MPI_DOUBLE_PRECISION -DMPI_2REAL=MPI_2DOUBLE_PRECISION}}}. Many compilers require to set an additional option to run the FORTRAN preprocessor on source files before compilation (e.g. ''-fpp'' for the Intel compiler). This option has to be given here too. Alternatively, you can provide it as part of the {{{compiler_options}}}. See [wiki:doc/app/cpp_options cpp_options] for a complete list of preprocessor define strings that are used in the PALM code. ||no default value || 96 ||make_options ||Options for the UNIX {{{make}}}-command, which is used by {{{palmbuild}}} to compile the PALM code. In order to speed up compilation, you may use the {{{-j}}} option, which specifies the number of jobs to run simultaneously. If you have e.g. 4 cores on your local computer system, then {{{-j 4}}} starts 4 instances of the FORTRAN compiler, i.e. 4 FORTRAN-files are compiled simultaneously (if the dependencies allow for that). ||no default value || 96 97 97 98 # used for parallel compilation99 %make_options -j 4100 98 101 99 # options to be used to compile PALM … … 120 118 #%login_init_cmd module switch craype-ivybridge craype-haswell 121 119 122 === batch job directives 120 === batch job directives === 123 121 122 === UNIX commands === 123