JDACS4C-IMPROVE / Singularity

Singularity definitions that can be extended to support execution of community models.
MIT License
3 stars 5 forks source link

Create TGSA.def #33

Closed smujiang closed 1 year ago

wilke commented 1 year ago

Does not build, tested from https://github.com/smujiang/Singularity.git branch patch-1 :

singularity build --fakeroot build/TGSA.def definitions/TGSA.def FATAL: Unable to build from definitions/TGSA.def: while parsing definition: definitions/TGSA.def: section %Bootstrap: docker: could not be split into section name and body

wilke commented 1 year ago

After commenting out the first two lines and rebuilding with the command above:

INFO:    Running post scriptlet
+ apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/3bf863cc.pub
E: gnupg, gnupg2 and gnupg1 do not seem to be installed, but one of them is required for this operation
FATAL:   While performing build: while running engine: exit status 255
brettin commented 1 year ago

It appears this might be needed: apt-get update && apt-get install -y gnupg2

wilke commented 1 year ago

Merged into TGSA branch, testing

wilke commented 1 year ago

Closing this PR - code in TGSA branch - definition file needs updates.