Changes between Version 17 and Version 18 of doc/tec/radiation


Ignore:
Timestamp:
May 4, 2015 2:58:52 PM (9 years ago)
Author:
maronga
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • doc/tec/radiation

    v17 v18  
    3636install_rrtmg -p $HOME/lib/rrtmg
    3737}}}
     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}}}
     45with each directory having the following subdirectories:
     46{{{
     47include
     48lib
     49}}}
    3850
    39514. 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)
     
    4254%lopts  -fpe0:-O3:-cpp:-fp-model:source:-L/home/user/lib/rrtmg/shared/lib:-lrrtmg lcmuk parallel rrtmg
    4355}}}
    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]
    4557
    4658
     
    5365
    54665. Recompile PALM for the respective host. The RRTMG library will be included either as static or shared library, depending on your configuration.
     67
     686. 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}}}
     72when RRTMG was installed as shared library under "$HOME/lib/rrtmg/shared/".
     73
     74
     75You may have to login again in order to activate the profile settings.
    5576
    5677