Changes between Version 42 and Version 43 of doc/tec/radiation
- Timestamp:
- Nov 20, 2018 4:35:53 PM (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
doc/tec/radiation
v42 v43 176 176 compile_shared_debug=false 177 177 }}} 178 For a proper configuration, see your . mrun.config file for the respective computer architecture where RRTMG shall be installed. Also, add the path to the netCDF library. fopts_trace is only required if you want to have debug options enabled.178 For a proper configuration, see your .palm.config file for the respective computer architecture where RRTMG shall be installed. Also, add the path to the netCDF library. fopts_trace is only required if you want to have debug options enabled. 179 179 Use the switch parameters compile_static=true, compile_shared=true, compile_static_debug=false, and compile_shared_debug=false to set flags for compilation of RRTMG as static library, shared library (recommended), static library with debug options (recommended), and shared library with debug options, respectively. Save your changes. 180 180 … … 197 197 }}} 198 198 199 4. Open your . mrun.config file and add {{{-D__rrtmg}}} to {{{%cpp_options}}} of the host where PALM/RRTMG shall be used. Moreover, add the path to the library to {{{%fopts}}} and {{{%lopts}}}, e.g. (here for lcmuk)199 4. Open your .palm.config file and add {{{-D__rrtmg}}} to {{{%cpp_options}}} of the host where PALM/RRTMG shall be used. Moreover, add the path to the library to {{{%fopts}}} and {{{%lopts}}}, e.g. (here for lcmuk) 200 200 {{{ 201 201 %fopts -fpe0:-O3:-cpp:-fp-model:source:-I:/home/user/lib/rrtmg/shared/include lcmuk parallel rrtmg 202 202 %lopts -fpe0:-O3:-cpp:-fp-model:source:-L/home/user/lib/rrtmg/shared/lib:-lrrtmg lcmuk parallel rrtmg 203 203 }}} 204 when a shared RRTMG library was installed under "/home/user/lib/rrtmg/shared". A template file including hosts lcmuk and lccrayh/lccrayb are available [http://palm.muk.uni-hannover.de/browser/palm/trunk/SCRIPTS/.mrun.config.imuk_hlrnIII_rrtmghere]204 when a shared RRTMG library was installed under "/home/user/lib/rrtmg/shared". A template file for host crayb is available [http://palm.muk.uni-hannover.de/browser/palm/trunk/SCRIPTS/.palm.config.crayb here] 205 205 206 206