Re: [easybuild] How to setup EB in the global /etc/profile.d/ ?

2016-10-13 Thread Kenneth Hoste
On 13/10/16 16:42, Ole Holm Nielsen wrote: On 10/13/2016 04:27 PM, Kenneth Hoste wrote: I'm afraid I don't have one. We don't load Easybuild by default for our users. But you should take a look at: https://lmod.readthedocs.io/en/latest/070_standard_modules.html Thanks, this page is

Re: [easybuild] matplotlib installation fails with ImportError

2016-10-13 Thread Maik Schmidt
Hi, I noticed that in the site-packages directory of the Python installation, there was only "numpy" but no corresponding *egg-info file. Apparently, this caused setuptools to fetch the latest version again during the matplotlib setup. I have no idea why the file was gone, but after

Re: [easybuild] How to setup EB in the global /etc/profile.d/ ?

2016-10-13 Thread Ole Holm Nielsen
On 10/13/2016 05:15 PM, Kenneth Hoste wrote: You need to move the 'module --initial_load restore' after the 'module use', otherwise the EasyBuild module is indeed not available. No Catch-22 imho... And then you shouldn't need to load the EasyBuild module again, it should be loaded via the

Re: [easybuild] How to setup EB in the global /etc/profile.d/ ?

2016-10-13 Thread Kenneth Hoste
On 13/10/16 16:11, Ole Holm Nielsen wrote: On 10/13/2016 03:28 PM, Ward Poelmans wrote: For loading Easybuild by default, I would use a Lmod default collection. Could you possibly offer a specific example of what you mean? Like a complete script to put into /etc/profile.d/ ? I'm afraid I

Re: [easybuild] no module for CUDA-7.5.18

2016-10-13 Thread Kenneth Hoste
Hi Joachim, On 11/10/16 11:57, Joachim Hein wrote: Hi, We are still struggling to build a CUDA 7.5.18 with EB 2.9.0. It seems to be failing in the “sanity check”, though the actual nvidia installer doesn’t give an error and the bin directory looks reasonable to us. We get a “KeyError:

Re: [easybuild] How to setup EB in the global /etc/profile.d/ ?

2016-10-13 Thread Ole Holm Nielsen
On 10/13/2016 04:27 PM, Kenneth Hoste wrote: I'm afraid I don't have one. We don't load Easybuild by default for our users. But you should take a look at: https://lmod.readthedocs.io/en/latest/070_standard_modules.html Thanks, this page is actually useful and specific! So I've created a new

Re: [easybuild] How to setup EB in the global /etc/profile.d/ ?

2016-10-13 Thread Kenneth Hoste
On 13/10/16 17:12, Ole Holm Nielsen wrote: On 10/13/2016 05:01 PM, Kenneth Hoste wrote: The recommended line "module --initial_load restore" generates an unwarranted message: The system default contains no modules (env var: LMOD_SYSTEM_DEFAULT_MODULES is empty) No changes in loaded

Re: [easybuild] no module for CUDA-7.5.18

2016-10-13 Thread Alvarez, Damian
Well, you can simply put CUDA as a dependency in the OpenMPI easyconfig, right? You don’t really need to have a gcccuda toolchain for it, GCC would work just fine. Also, as far as I remember, the CUDA installation doesn’t actively check which version of GCC you are using. That is done at

Re: [easybuild] fpm error issues building GCC-5.2.0.eb

2016-10-13 Thread Kenneth Hoste
Hello, On 13/10/16 17:36, shahzeb.siddi...@pfizer.com wrote: I am getting an error during fpm process for GCC 5.2.0. I have eb set for packaging by default. I have given the output of the log where the error occurs. Which EasyBuild & FPM versions are you using? The only thing I can get from

Re: [easybuild] matplotlib installation fails with ImportError

2016-10-13 Thread Kenneth Hoste
Hi Maik, On 13/10/16 10:43, Maik Schmidt wrote: Hi all, I've installed Python-3.5.1-intel-2016a.eb (with --try-toolchain="intel,2016.03-GCC-5.3" but that shouldn't be relevant to the problem) and am now trying to install matplotlib-1.5.1-intel-2016a-Python-3.5.1.eb, but it always fails on

Re: [easybuild] matplotlib installation fails with ImportError

2016-10-13 Thread Maik Schmidt
Hi Kenneth, thanks for your input. I have tried with matplotlib 1.5.2 and 1.5.3, but unfortunately, the error remains the same. The numpy version in my Python 3.5.1 is the original one from the respective easyconfig, namely 1.10.4. The matplotlib installer even says so under REQUIRED

Re: [easybuild] matplotlib installation fails with ImportError

2016-10-13 Thread Ole Holm Nielsen
FWIW, we build matplotlib without problems using the foss2016b toolchain, see the attached easyconfig file, which is based upon the distribution file matplotlib-1.5.2-intel-2016b-Python-2.7.12.eb. /Ole On 10/13/2016 11:39 AM, Kenneth Hoste wrote: Hi Maik, On 13/10/16 11:37, Maik Schmidt

Re: [easybuild] matplotlib installation fails with ImportError

2016-10-13 Thread Ole Holm Nielsen
Maik, we use Python 3.5.2 with the foss2016b toolchain. /Ole On 10/13/2016 12:13 PM, Maik Schmidt wrote: Kenneth, I'm using the unmodified easyconfig files from the EasyBuild distribution (just with a different toolchain as I mentioned in my original mail).

Re: [easybuild] matplotlib installation fails with ImportError

2016-10-13 Thread Kenneth Hoste
Hi Maik, On 13/10/16 11:37, Maik Schmidt wrote: Hi Kenneth, thanks for your input. I have tried with matplotlib 1.5.2 and 1.5.3, but unfortunately, the error remains the same. The numpy version in my Python 3.5.1 is the original one from the respective easyconfig, namely 1.10.4. The

Re: [easybuild] How to setup EB in the global /etc/profile.d/ ?

2016-10-13 Thread Ole Holm Nielsen
On 10/13/2016 01:54 PM, Ward Poelmans wrote: On 13-10-16 13:48, Ole Holm Nielsen wrote: I would like to enable the EB/Lmod modules to all users in a global bash/tcsh setup script. On CentOS 7.2 initialization is done using scripts in /etc/profile.d/ Basically I want every user shell to

Re: [easybuild] How to setup EB in the global /etc/profile.d/ ?

2016-10-13 Thread Ward Poelmans
On 13-10-16 15:20, Ole Holm Nielsen wrote: > On 10/13/2016 01:54 PM, Ward Poelmans wrote: >> On 13-10-16 13:48, Ole Holm Nielsen wrote: >> >> For loading Easybuild by default, I would use a Lmod default collection. > > Could you possibly offer a specific example of what you mean? Like a >

Re: [easybuild] How to setup EB in the global /etc/profile.d/ ?

2016-10-13 Thread Riccardo Murri
> Question: Can anyone share their /etc/profile.d/ script for EB setup? I use these in ElastiCluster (Jinja templates but should be still quite readable); I set user-independent options in `/etc/easybuild.cfg` and options that might need to be computed on a by-user basis in

Re: [easybuild] FFTW dynamic libraries?

2016-10-13 Thread Pablo Escobar Lopez
Hi Kenneth, I needed this because while compiling an internal application I noticed that it requires "libfftw3f_threads.so". As my compute nodes have fftw-devel rpm installed the build system was using this library from the system. After recompiling my FFTW module with --enable-shared the

Re: [easybuild] FFTW dynamic libraries?

2016-10-13 Thread Kenneth Hoste
Hi Pablo, On 13/10/16 14:06, Pablo Escobar Lopez wrote: Hi Kenneth, I needed this because while compiling an internal application I noticed that it requires "libfftw3f_threads.so". As my compute nodes have fftw-devel rpm installed the build system was using this library from the system.

Re: [easybuild] How to setup EB in the global /etc/profile.d/ ?

2016-10-13 Thread André Gemünd
Hi Ward, sorry for interfering with this thread, but *is* there actually a global config file? I asked this some time ago on the ml, and as far as I remember there are only local config files ($XDG_...), no global config e.g. under the installation prefix. Cheers Andre - Am 13. Okt 2016

Re: [easybuild] How to setup EB in the global /etc/profile.d/ ?

2016-10-13 Thread Kenneth Hoste
Hi André, On 13/10/16 14:39, André Gemünd wrote: Hi Ward, sorry for interfering with this thread, but *is* there actually a global config file? I asked this some time ago on the ml, and as far as I remember there are only local config files ($XDG_...), no global config e.g. under the

[easybuild] How to setup EB in the global /etc/profile.d/ ?

2016-10-13 Thread Ole Holm Nielsen
I would like to enable the EB/Lmod modules to all users in a global bash/tcsh setup script. On CentOS 7.2 initialization is done using scripts in /etc/profile.d/ Basically I want every user shell to execute these commands: export EASYBUILD_MODULES_TOOL=Lmod export

Re: [easybuild] How to setup EB in the global /etc/profile.d/ ?

2016-10-13 Thread Ward Poelmans
On 13-10-16 13:48, Ole Holm Nielsen wrote: > I would like to enable the EB/Lmod modules to all users in a global > bash/tcsh setup script. On CentOS 7.2 initialization is done using > scripts in /etc/profile.d/ > > Basically I want every user shell to execute these commands: > > export

Re: [easybuild] How to setup EB in the global /etc/profile.d/ ?

2016-10-13 Thread Ole Holm Nielsen
On 10/13/2016 03:28 PM, Ward Poelmans wrote: For loading Easybuild by default, I would use a Lmod default collection. Could you possibly offer a specific example of what you mean? Like a complete script to put into /etc/profile.d/ ? I'm afraid I don't have one. We don't load Easybuild by