Changes between Version 4 and Version 5 of Projects/ARCHER-UM-Module-Environment


Ignore:
Timestamp:
05/09/17 10:06:56 (2 years ago)
Author:
ros
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Projects/ARCHER-UM-Module-Environment

    v4 v5  
    1 Modules are widely used in HPC systems as a means of easily setting up or changing the environment to use particular system software and/or libraries typically needed when testing software against various compilers, reverting to default system environments, or loading bespoke environments. NCAS-CMS developed "loadcomp" to manage the HPC environment for the UM on ARHCER - loadcomp has served us well and will carry on doing so for UM versions <10.x (x=?).  
     1= Using modules to setup UM environment = 
    22 
    3 We are exploring a module template scheme, developed by ECMWF and implemented on ARCHER by Simon Wilson and Ros Hatcher, to support our UM use on ARCHER which should allow for greater flexibility in testing and thus help us manage ARCHER software upgrades. 
     3Modules are widely used in HPC systems as a means of easily setting up or changing the environment to use particular system software and/or libraries typically needed when testing software against various compilers, reverting to default system environments, or loading bespoke environments. NCAS-CMS developed "loadcomp" to manage the HPC environment for the UM on ARHCER - loadcomp has served us well and will carry on doing so for UM versions <10.0  
    44 
    5 This aligns with our move towards toward the use of modules in general. 
     5Initially we explored a module template scheme, developed by ECMWF and implemented on ARCHER by Simon Wilson and Ros Hatcher, to support our UM use on ARCHER which should allow for greater flexibility in testing and thus help us manage ARCHER software upgrades.  However, after some testing it was found that this wouldn't work for our needs.  It was also discovered that loading modules from within modules on ARCHER is not guaranteed to work.  Conversation with Cray/ARCHER confirmed the problem and we were advised of a "snapshot" facility that would hopefully suit our needs better but would not be available for several months. 
    66 
    77[Effort: 2 weeks + ongoing] 
     8 
     9'''September 2017''' 
     10 
     11With module update on ARCHER in August the new snapshot facility was finally made available. This should allow creation of snapshots of the module environment that can be saved, shared and loaded in order to create your own custom environments. 
     12 
     13The basic commands are: 
     14{{{ 
     15module snapshot <filename>      # saves the snapshot to the specified file 
     16}}} 
     17and: 
     18{{{ 
     19module restore <filename>       # to restore the environmen 
     20}}} 
     21 
     22For full information see the 'man' page for 'module' 
     23 
     24CMS plan to investigate the use of snapshots in due course.