Changes between Version 17 and Version 18 of doc/tec/radiation
- Timestamp:
- May 4, 2015 2:58:52 PM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
doc/tec/radiation
v17 v18 36 36 install_rrtmg -p $HOME/lib/rrtmg 37 37 }}} 38 The script will create up to four directories depening on the setting of the flag parameters (see above), each including one installation of RRTMG: 39 {{{ 40 $HOME/lib/rrtmg/shared 41 $HOME/lib/rrtmg/shared_trace 42 $HOME/lib/rrtmg/static 43 $HOME/lib/rrtmg/static_trace 44 }}} 45 with each directory having the following subdirectories: 46 {{{ 47 include 48 lib 49 }}} 38 50 39 51 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) … … 42 54 %lopts -fpe0:-O3:-cpp:-fp-model:source:-L/home/user/lib/rrtmg/shared/lib:-lrrtmg lcmuk parallel rrtmg 43 55 }}} 44 when a shared RRTMG library was installed under /home/user/lib/rrtmg. 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_rrtmg here]56 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_rrtmg here] 45 57 46 58 … … 53 65 54 66 5. Recompile PALM for the respective host. The RRTMG library will be included either as static or shared library, depending on your configuration. 67 68 6. To be able to use RRTMG, the LD_LIBRARY_PATH variable has to be extended by the path where RRTMG library (plus "/lib" added) was installed. For convenience, setting should be done in the respective profile of the users default shell (e.g. in .profile, if ksh is used), e.g.: 69 {{{ 70 export LD_LIBRARY_PATH=$HOME/lib/rrtmg/shared/lib:$PATH 71 }}} 72 when RRTMG was installed as shared library under "$HOME/lib/rrtmg/shared/". 73 74 75 You may have to login again in order to activate the profile settings. 55 76 56 77