[easybuild] Singularity 3?

2019-09-09 Thread Loris Bennett
Hi, I see the most recent version of Singularity available is Singularity-2.4.2-GCC-5.4.0-2.26.eb Is there any particular reason why there are no easyconfigs for version 3? Regards Loris -- Dr. Loris Bennett (Mr.) ZEDAT, Freie Universität Berlin Email loris.benn...@fu-berlin.de

Re: [easybuild] Singularity 3?

2019-09-09 Thread Pablo Escobar Lopez
Hi Loris In singularity 3.x the developers did a new implementation using golang instead of the python/C used in 2.x https://archive.sylabs.io/2018/02/singularity-golang/ This changed the build procedure for 3.x so the existing easyconfigs no longer work with 3.x . Someone would need to create ne

Re: [easybuild] Singularity 3?

2019-09-09 Thread Loris Bennett
Hi Pablo, Thanks for the info. Is there some particular reason why one would want to use a system RPM? I generally prefer to install all our software as modules to an NFS share, so there is no issue of roll-out to the cluster nodes. I'll look into writing an easyconfig for Singularity 3. Cheer

Re: [easybuild] Singularity 3?

2019-09-09 Thread Valentin Plugaru
Dear all, We're using the attached EasyConfig to deploy Singularity 3.3.0. Haven't cleaned it up enough for a PR, and there's new a new v3.4.0 with support for encrypted containers that this EasyConfig should be adapted for, but I haven't had time to try it yet and see if any changes are needed.

Re: [easybuild] Singularity 3?

2019-09-09 Thread Kenneth Hoste
On 09/09/2019 16:22, Loris Bennett wrote: Hi Pablo, Thanks for the info. Is there some particular reason why one would want to use a system RPM? I generally prefer to install all our software as modules to an NFS share, so there is no issue of roll-out to the cluster nodes. There's a couple

Re: [easybuild] Singularity 3?

2019-09-09 Thread Ole Holm Nielsen
Hi Loris, FYI, the EPEL repository provides Singularity for CentOS/RHEL 7, though currently only version 3.2: $ yum list singularity Available Packages singularity.x86_64 3.2.1-1.1.el7 epel /Ole On 9/9/19 4:04 PM, Loris Bennett wrote: I see the most recent version of Singularity av

Re: [easybuild] Singularity 3?

2019-09-09 Thread Kenneth Hoste
On 10/09/2019 08:33, Ole Holm Nielsen wrote: Hi Loris, FYI, the EPEL repository provides Singularity for CentOS/RHEL 7, though currently only version 3.2: $ yum list singularity Available Packages singularity.x86_64  3.2.1-1.1.el7 epel EPEL-testing should have 3.4.0, see https://bo

Re: [easybuild] Singularity 3?

2019-09-10 Thread Loris Bennett
Kenneth Hoste writes: > On 10/09/2019 08:33, Ole Holm Nielsen wrote: >> Hi Loris, >> >> FYI, the EPEL repository provides Singularity for CentOS/RHEL 7, though >> currently only version 3.2: >> >> $ yum list singularity >> Available Packages >> singularity.x86_64  3.2.1-1.1.el7 epel > >

Re: [easybuild] Singularity 3?

2019-09-10 Thread Pablo Escobar Lopez
On Tue, Sep 10, 2019 at 11:03 AM Loris Bennett wrote: > > Thanks for the information. I appreciate the security concerns, > although it seems to me that an EasyBuild version could be the best > solution. That way I can build a new version as soon as it comes out > and deploy it immediately, wit

Re: [easybuild] Singularity 3?

2019-09-12 Thread Loris Bennett
Hi Valentin, Thanks for the EasyConfig. I have modified it for 3.4.0, which was mainly just adding 'cryptsetup' to 'osdependencies' (see attachment). However, I am getting the error: == 2019-09-12 11:20:26,246 build_log.py:163 ERROR EasyBuild crashed with an error (at easybuild/software/Easy

Re: [easybuild] Singularity 3?

2019-09-13 Thread Valentin Plugaru
Dear Loris, We're not running the install step as privileged with sudo from within EasyBuild. That's why in the .eb file there were comments for the 'next steps after installation' that are (a reminder and) taken care of outside of the EB workflow. It may be possible to allow the sudo commands fr

Re: [easybuild] Singularity 3?

2019-09-13 Thread Loris Bennett
Dear Valentin, I wasn't trying to run the install step either and left the bits you commented out commented out. The problem seems to be that preinstallopts = 'cd build && ' leads to cd build && make install which fails. I thus modified skipsteps to additionally ignore the install ste