On 04/08/16 11:14, Alan O'Cais wrote:
I've opended a PR that should (might?) fix the problem:
https://github.com/hpcugent/easybuild-framework/pull/1862

I merged this, but shortly after realized that this doesn't fix the problem at all, since this only deals with the dependencies of a toolchain itself (i.e. the toolchain components).

Alan's proposed change did point me in the right direction though: I reproduced the problem in a test, and implemented a fix in https://github.com/hpcugent/easybuild-framework/pull/1863 .


regards,

Kenneth

On 4 August 2016 at 10:59, Alan O'Cais <a.oc...@fz-juelich.de <mailto:a.oc...@fz-juelich.de>> wrote:

    I think the culprit is here:
    
https://github.com/hpcugent/easybuild-framework/blob/f00e82540a558f675f3019b0cc42415eb193a96d/easybuild/framework/easyconfig/easyconfig.py#L170
    
<https://github.com/hpcugent/easybuild-framework/blob/f00e82540a558f675f3019b0cc42415eb193a96d/easybuild/framework/easyconfig/easyconfig.py#L170>

    We don't take filtered deps into account here and go searching for
    them.

    On 3 August 2016 at 16:08, Kenneth Hoste <kenneth.ho...@ugent.be
    <mailto:kenneth.ho...@ugent.be>> wrote:

        Hi Riccardo,

        On 18/07/16 15:32, Riccardo Murri wrote:

            Hello,

            as I'm trying to compile RELION with EB, I get an "unresolved
            dependency" error for a dependency that's been filtered out::

                 $ eb --filter-deps=libX11
            
/apps/easybuild/ebfiles/r/RELION/RELION-1.4-foss-2015a-singleprecision.eb
                 [...]
                 ERROR: Failed to process easyconfig
            
/apps/easybuild/ebfiles/r/RELION/RELION-1.4-foss-2015a-singleprecision.eb:
            No easyconfig for {'external_module_metadata': {},
            'full_mod_name': None, 'toolchain': {'version': '2015a',
            'name': 'foss'}, 'name': 'libX11', 'dummy': False,
            'short_mod_name': None, 'external_module': False,
            'versionsuffix': '-Python-2.7.8', 'version': '1.6.3',
            'toolchain_inherited': True, 'hidden': False,
            'build_only': False} that matches toolchain hierarchy
            generated by {'version': '2015a', 'name': 'foss'}

            Why isn't `--filter-deps` honored here?

            I have tried both EB 2.8.0 and 2.8.2 FWIW.


        Hmm, that's weird...

        It looks like this has something to do with
        --minimal-toolchains being enabled, is that right?

        Do you mind sharing both the easyconfig file you're using, and
        the output of "eb --show-config"?


        regards,

        Kenneth




-- Dr. Alan O'Cais
    E-CAM Software Manager
    Juelich Supercomputing Centre
    Forschungszentrum Juelich GmbH
    52425 Juelich, Germany

    Phone: +49 2461 61 5213 <tel:%2B49%202461%2061%205213>
    Fax: +49 2461 61 6656 <tel:%2B49%202461%2061%206656>
    E-mail: a.oc...@fz-juelich.de <mailto:a.oc...@fz-juelich.de>
    WWW: http://www.fz-juelich.de/ias/jsc/EN
    <http://www.fz-juelich.de/ias/jsc/EN>




--
Dr. Alan O'Cais
E-CAM Software Manager
Juelich Supercomputing Centre
Forschungszentrum Juelich GmbH
52425 Juelich, Germany

Phone: +49 2461 61 5213
Fax: +49 2461 61 6656
E-mail: a.oc...@fz-juelich.de <mailto:a.oc...@fz-juelich.de>
WWW: http://www.fz-juelich.de/ias/jsc/EN


------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------
Forschungszentrum Juelich GmbH
52425 Juelich
Sitz der Gesellschaft: Juelich
Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498
Vorsitzender des Aufsichtsrats: MinDir Dr. Karl Eugen Huthmacher
Geschaeftsfuehrung: Prof. Dr.-Ing. Wolfgang Marquardt (Vorsitzender),
Karsten Beneke (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt,
Prof. Dr. Sebastian M. Schmidt
------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------


Reply via email to