Custom Query (964 matches)
Results (934 - 936 of 964)
Ticket | Owner | Reporter | Resolution | Summary |
---|---|---|---|---|
#933 | Done | Updated several Matlab scripts | ||
Description |
|
|||
#934 | Done | Added new module get_env.F | ||
Description |
A new module get_env.F was added to retrieve system environmental variables, which can be decoded as logical, integer, or string values. For example, we can have in the environment: setenv ROMS_DEBUG 1 setenv ROMS_TRACE 4 setenv ROMS_HOME /Users/arango/ocean/repository/git Then, we can retrieve such values into a logical, integer, and strings variables, respectively, inside ROMS code by using: Logical :: Ldebug integer :: Itrace character (len=256) :: roms_home status = get_env('ROMS_DEBUG', Ldebug) status = get_env('ROMS_TRACE', Itrace) status = get_env('ROMS_HOME', roms_home) Notice that get_env is a PUBLIC overloading function that decodes the string value of the environmental variables to another type of variable like integer and logical. Currently, this capability is used in the ROMS-JEDi interface, but I can see its usage in the ROMS source code in the future. The get_env.F module uses Fortran 2003 GET_ENVIRONMENT_VARIABLE intrinsic function. |
|||
#936 | Done | IMPORTANT: Miscelaneous Update | ||
Description |
Many thanks to David Robertson for figuring out the complicated manipulations with CMake, which is exclusively used in JEDI. |