Dear Andreas,

On 19/11/2018 16:09, Andreas Hilboll wrote:
Hi,

I'm trying to build WRF-4.0.1 for foss-2018b.  My easyconfig has (among other settings)

    toolchain = {'name': 'foss', 'version': '2018b'}

    builddependencies = [('tcsh', '6.20.00')]

    dependencies = [
        ('JasPer', '2.0.14'),
        ('netCDF', '4.6.1'),
        ('netCDF-Fortran', '4.4.4'),
    ]

My EasyBuild (I'm using 3.7.1) config looks like this:

    [override]
    add-dummy-to-minimal-toolchains=True
hide-deps=M4,zlib,help2man,Bison,flex,binutils,Autoconf,Automake,libtool,ncurses,xorg-macros,gettext,numactl,libpciaccess,XZ,libxml2,hwloc,Autotools,pkg-config,ncurses,cURL,Szip,CMake,Doxygen,icc,ifort,iccifort,impi,iimpi,imkl,gompi,GCCcore,GCC,OpenBLAS,OpenMPI,FFTW,ScaLAPACK,tcsh
    hide-toolchains=GCCcore,GCC,gompi,iimpi,iccifort
    minimal-toolchains=True
    use-existing-modules=True

I built tcsh-6.20.00-GCCcore-7.3.0.eb from by previous WRF4 PR, using

    eb tcsh-6.20.00-GCCcore-7.3.0.eb --hidden -f

The module is there:

    $ module --show-hidden avail | grep tcsh

    XZ/.5.2.4-GCCcore-7.3.0    tcsh/.6.20.00-GCCcore-7.3.0

However, when I try building the WRF easyconfig,

   eb WRF-4.0.1-foss-2018b-dmpar.eb --include-easyblocks=/home2/hilboll/src/easybuild/repos/easybuild-easyblocks/easybuild/easyblocks/w/wrf.py    -r --debug --ignore-checksums -D

I get

   ERROR: Irresolvable dependencies encountered: tcsh/6.20.00-foss-2018b

On my other system, where I don't hide dependencies, and don't have minimal-toolchains turned on, the tcsh dependency is automatically resolved from the GCCcore toolchain, but here on my test system (where I'm trying to learn about --hide-deps and --minimal-toolchains) apparently it doesn't.

I'd appreciate if you could point me to my mistake.

First of all, can you make sure that the configuration is picked up as you expect?

You can check the current active configuration using "eb --show-config";
make sure that 'tcsh' is listed in 'hide-deps' in there.

One thing you also need to take into account is that the tcsh-6.20.00-GCCcore-7.3.0.eb easyconfig must be available in your robot search path ("eb --search tcsh-6.20.00-GCCcore-7.3.0" should fine it). That's a known problem which we haven't gotten around to fixing yet, see https://github.com/easybuilders/easybuild-framework/issues/2375 .

If that doesn't help, can you send us a debug log for the dry run you're doing?

Use "eb --debug ... -D", and then grab the log file that is located in /tmp (see the "== temporary log file in case of crash" line in the output generated by the 'eb' command).


regards,

Kenneth

Reply via email to