TORAX-MUSCLE3 packaging¶
Updating and testing the TORAX-MUSCLE3 Easybuild configuration¶
The following steps must be performed for each of the supported tool chains
(currently intel-2023b, foss-2023b):
Create the
.ebfile for the new release.Copy the
.ebfile from the previous release.Update the
versionto reflect the just-released version tag.If any of the TORAX-MUSCLE3 dependencies in
pyproject.tomlwhere updated or changed since the previous release, update the easybuild dependencies:builddependenciescontains build-time dependencies which are available as a module on SDCC.dependenciescontains run-time dependencies which are available as a module on SDCC.exts_listcontains python package dependencies (and potentially dependencies of dependencies) which are not available in any of the Python modules on SDCC.
Update the checksum of imas: download an archive of the TORAX-MUSCLE3 repository from bitbucket. This is easiest to do by copying the following URL, replace
<version>with the version tag, and paste it in a web browser:Then, calculate the hash of the downloaded archive with
sha256sumand update it in the.ebfile.
Push the resulting
.ebfile to the easybuild-easyconfigs repository.Test the easybuild configuration:
Create an easybuild module, replace
<eb_file>with the filename of the.ebfile created in step 1.If this is unsuccessful, investigate the error and update the
.ebconfiguration. A useful environment variable for debugging isexport PIP_LOG=pip.log, which instructs pip to write logs to the specified file (pip.login this example).If the module was successfully installed by easybuild, load it:
Sanity check the module, for example by running the
pytestunit tests. These sanity checks should also be included (and run) as part of the EasyBuild installation process.