Changes between Version 33 and Version 34 of HPC_deploy
- Timestamp:
- 2015-11-19T02:43:12+01:00 (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
HPC_deploy
v33 v34 5 5 == Deploying (reference) data sets == 6 6 7 ==== Where to put reference data ====7 ==== 1. Where to put reference data ==== 8 8 9 9 Reference data sets available to all (Hence not group specific data) can be deployed ''as-is'' in: … … 28 28 }}} 29 29 30 ==== Syncing deployed reference data to nodes ==== #SyncRefData30 ==== 2. Syncing deployed reference data to nodes ==== #SyncRefData 31 31 32 32 Before you can use reference data on cluster nodes it needs to be synced to various places. … … 137 137 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. 138 138 139 === Find existing !EasyConfig or create a new one===139 ==== 1. Find existing !EasyConfig or create a new one ==== 140 140 * To search for existing !EasyConfigs in both the default robot search path as well as in our dir for custom !EasyConfigs: 141 141 {{{ … … 151 151 Make sure to name the *.eb file exactly the same as the name of the eventually installed ''module'' and its ''version''. 152 152 153 === Installing the software===153 ==== 2. Installing the software ==== 154 154 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. 155 155 {{{ … … 159 159 }}} 160 160 161 === Specifying the default version of an app (optional)===161 ==== 3. Specifying the default version of an app (optional) ==== 162 162 163 163 When you load an app into your environment with the {{{module load}}} command without specifying explicitly which version you want to use, Lmod will load the highest version number. This is usually fine, but if you installed a new version that is not yet well tested, you may want to explicitly configure an older version as the default. This can simply be accomplished by creating a **relative** symlink named default. Our module files are located at {{{/apps/modules/}}}. For example let's look at our NGS_DNA analysis pipeline. It is part of the ''bio'' collection of apps, so the the module files are in: … … 194 194 }}} 195 195 196 === Deprecating a previously installed older version of an app (optional)===196 ==== 4. Deprecating a previously installed older version of an app (optional) ==== 197 197 198 198 You can inform users that (a certain version of) an app is deprecated and will be removed in the near future by creating a custom message when an app is added to the environment with {{{module load}}}. Add your custom message to {{{/apps/modules/modules.admin}}}. For example with this modules.admin: … … 226 226 Note: You may have to [wiki:HPC_deploy#UpdateCacheAndSync update the Lmod caches] before a change in custom messages takes effect. 227 227 228 === Updating the Lmod caches and syncing installed software to nodes=== #UpdateCacheAndSync228 ==== 5. Updating the Lmod caches and syncing installed software to nodes ==== #UpdateCacheAndSync 229 229 230 230 Before you can use the installed software it needs to be synced to various places and the Lmod caches needs to be updated. … … 243 243 244 244 == FAQ == 245 === Q: Why can I not re-deploy a module and receive an error that the module file is already present===245 ==== Q: Why can I not re-deploy a module and receive an error that the module file is already present ==== 246 246 A: By default !EasyBuild will refuse to overwrite an existing installation. Modules that have been deployed and are used for production should never be modified: deploy a new version instead. During debugging/testing it may be necessary to overwrite a module though; I that case you can force install using ''-f'' like this: 247 247 {{{ 248 248 $> eb -f --robot --robot-paths=:/apps/sources/EasyBuild/custom/ /path/to/MyEasyConfig-1.2.3.eb 249 249 }}} 250 === Q: I've updated the source code for an app, but when I try to re-deploy with !EasyBuild nothing changes; What is wrong?===250 ==== Q: I've updated the source code for an app, but when I try to re-deploy with !EasyBuild nothing changes; What is wrong? ==== 251 251 A: !EasyBuild will first check whether the source code was previously already downloaded and cached. If yes, it will not re-download again. The cached sources are located in {{{/apps/sources/[a-z]/NameOfTheApp/}}}. Removing the existing download will force !EasyBuild to re-download the (updated) source code. 252 === Q: !EasyBuild fails to download the source code. How can I continue the installation process?===252 ==== Q: !EasyBuild fails to download the source code. How can I continue the installation process? ==== 253 253 A: First check if the location where !EasyBuild tries to download the source code is still up-to-date. If not update the !EasyConfig. If the location is correct, but !EasyBuild cannot access this location directly for example because it is blocked by our firewall or because it requires authentication, you can try to download the source manually and put it in the cache directory for the app in {{{/apps/sources/[a-z]/NameOfTheApp/}}}. When !EasyBuild finds the cached source code it will skip the download step and continue.