Changes between Version 23 and Version 24 of HPC_deploy
- Timestamp:
- 2015-11-18T20:27:36+01:00 (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
HPC_deploy
v23 v24 93 93 For more complicated installations like for example for ''R'', please read the [https://hpcugent.github.io/easybuild/ documentation] online and have a look at existing !EasyConfigs. 94 94 95 === Find existing !EasyConfig or create a new one === 96 * To search for existing !EasyConfigs in both the default robot search path as well as in our dir for custom !EasyConfigs: 97 {{{ 98 $> module load EasyBuild 99 $> module list 100 $> eb --robot-paths=:/apps/sources/EasyBuild/custom/ -S MySearchTerm 101 }}} 102 * When no suitable !EasyConfig is present, create your own in !MyEasyConfig-1.2.3.eb file in {{{/apps/sources/EasyBuild/custom/}}} 103 95 104 === Installing the software === 96 * Create a MyEasyConfig-1.2.3.eb file in {{{/apps/sources/EasyBuild/custom/}}} 97 * module load !EasyBuild 98 * eb --robot --robot-paths=:/apps/sources/EasyBuild/custom/ /path/to/MyEasyConfig-1.2.3.eb 105 Enable the ''robot'' option for automatic dependency resolution and **append** our dir for custom !EasyConfigs to the search path to make !EasyBuild search for deps in first the default and second our custom dir in that order of precedence. 106 {{{ 107 $> module load EasyBuild 108 $> module list 109 $> eb --robot --robot-paths=:/apps/sources/EasyBuild/custom/ /path/to/MyEasyConfig-1.2.3.eb 110 }}} 99 111 100 112 === Updating the Lmod caches and syncing installed software to nodes === 101 113 102 Before you can use the installed software it needs to be synced to various places and the Lmod caches needs to be updated: 114 Before you can use the installed software it needs to be synced to various places and the Lmod caches needs to be updated. 115 * Switch to the ''envsync'' user: 103 116 {{{ 104 sudo -u umcg-envsync bash117 $> sudo -u umcg-envsync bash 105 118 }}} 106 A new environment will be loaded, afterwards sync the new module by executing: 119 A new environment will be loaded, afterwards sync the new module by executing: 120 * 107 121 {{{ 108 hpc-environment-sync.bash -m <modulename>/<module version>122 $> hpc-environment-sync.bash -m <modulename>/<module version> 109 123 }}} 110 124 To see the full list of options in the sync script use: