Skip to content

Issue with using --software-name option along with --software-version option #1062

@sylmarien

Description

@sylmarien

When trying to install a specific version version of a software using the --software-name and the software-version options, EasyBuild fails to install the said software.

Here are the different configurations and whether it works or not:

  • Using only the --software-name option, we get the following result:
$ eb --software-name=GCC --debug
== temporary log file in case of crash /tmp/easybuild-7c5_X1/easybuild-IsrJdt.log
ERROR: EasyBuild crashed with an error (at easybuild/framework/easyconfig/tweak.py:489 in select_or_generate_ec): No versionsuffix specified, and can't pick from available versionsuffixes ['', '-CLooG', '-CLooG-multilib']

It doesn't work because it wants me to specify a versionsuffix, so that's what I do next.
(corresponding log file: https://gist.github.com/sylmarien/f67fffa25dded235ad82#file-software-name-only )

  • Using the --software-name option and specifying the versionsuffix:
$ eb --software-name=GCC --amend versionsuffix='' --debug
== temporary log file in case of crash /tmp/easybuild-usOteG/easybuild-QimlfS.log
== resolving dependencies ...
== processing EasyBuild easyconfig /opt/apps/EasyBuild/software/EasyBuild/1.15.2/lib/python2.7/site-packages/easybuild_easyconfigs-1.15.2.0-py2.7.egg/easybuild/easyconfigs/g/GCC/GCC-4.9.1.eb
== building and installing GCC/4.9.1...
== fetching files...

Then it works, and starts to install the latest version available. But now I would like to choose the version I install.

  • Using the --software-name and the --software-version options and specifying the versionsuffix:
$ eb --software-name=GCC --software-version=4.8.1 --amend versionsuffix='' --debug
== temporary log file in case of crash /tmp/easybuild-oS4Q29/easybuild-6obaZ2.log
== ERROR: Unable to find an easyconfig for the given specifications: {'versionsuffix': '', 'version': '4.8.1', 'name': 'GCC'}; to make EasyBuild try to generate a matching easyconfig, use the --try-X options 

As you can see, it doesn't work.
(corresponding log file: https://gist.github.com/sylmarien/f67fffa25dded235ad82#file-all-the-options )

Just in case, I tried without specifying a versionsuffix:

$ eb --software-name=GCC --software-version=4.8.1 --debug
== temporary log file in case of crash /tmp/easybuild-1MQW2o/easybuild-0VMEsV.log
ERROR: EasyBuild crashed with an error (at easybuild/framework/easyconfig/tweak.py:489 in select_or_generate_ec): No versionsuffix specified, and can't pick from available versionsuffixes ['', '-CLooG-PPL']

but it isn't better than previously.
(corresponding log file: https://gist.github.com/sylmarien/f67fffa25dded235ad82#file-software-name-and-software-version-and-no-versionsuffix )
You can find the different log files in the following gist:
https://gist.github.com/sylmarien/f67fffa25dded235ad82

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions