Hi Jacob,
Great to hear from you.
Hi Ryan,
My work on the Easybuild block has stalled a bit, but now I am returning to it. The EasyBuild guys have some quite reasonable issues with my suggested EasyBuild block. There are two problems.
First, it queries your database at install time to get a list of all models. This means that installation is not reproducible, since your database may have changed. I can fix that by including a list of models and model drivers in the EasyBuild configuration file.
Yes, that sounds reasonable.
Second, the models are downloaded by the makefile with “make add-XXX” commands. This means that offline installation will break. Normally, an EasyBuild configuration can separate the download and the installation. Is there some way to download a single tar.gz file with all models and all model drivers? If not, I guess I can generate the URL of an archive to download for each model and each driver, but it will be a lot of tar files to list in the config file.
For licensing reasons, we do not distribute a single all-inclusive tarball of models and model drivers. If you have a list of the items a simple script should be easy to put together that will grab them all via wget or curl...
The cononical purl we have defined for kim items is
https://openkim.org/download/KIM_ID.ext
where KIM_ID is of the form CC_DDDDDDDDDDDDD_VVV (CC is "MO", "MD" for model and model driver, respectively) See here for more details: https://openkim.org/about-kim-ids/
and ext is the archive extension (one of: txz, tgz, zip)
The api makefile uses the command
wget -q --content-disposition ‘https://openkim.org/download/KIM_ID.ext’
to download the items....
Best regards
Jakob
PS. I will of course also need to update my block to KIM 1.8.1
The latest is actually 1.8.2
Let me know if anything is not clear or you have further questions.
Cheers,
Ryan