-
Notifications
You must be signed in to change notification settings - Fork 211
Open
Labels
Milestone
Description
When using minimal-toolchains
, EasyBuild looks for an EasyConfig, without validating that there is a corresponding installed module. For example, we have a recipe that depends on
('METIS', '5.1.0'),
EasyBuild finds that the git repository has a recipe
METIS-5.1.0-GCCcore-7.3.0.eb
This recipe is however not installed on our system. We have
METIS-5.1.0-GCC-7.3.0.eb
installed instead. This last recipe is compatible with the recipe that we are trying to install now (which uses gompi,2018.3.312 which has GCC 7.3.0 in it).
With --minimal-toolchains
, it barfs on the following :
== Running parse hook for METIS-5.1.0-GCC-7.3.0.eb...
== Running parse hook for SCOTCH-6.0.6-gompi-2018.3.312.eb...
== processing EasyBuild easyconfig /cvmfs/soft.computecanada.ca/easybuild/easyconfigs/o/OpenFOAM/OpenFOAM-v1812-gompi-2018.3.312.eb
== building and installing avx2/MPI/gcc7.3/openmpi3.1/openfoam/v1812...
== fetching files [skipped]
== creating build dir, resetting environment...
== backup of existing module file stored at /cvmfs/soft.computecanada.ca/easybuild/modules/2017/avx2/MPI/gcc7.3/openmpi3.1/openfoam/v1812.bak_20190912155905_5432
== unpacking [skipped]
== patching [skipped]
== preparing...
== FAILED: Installation ended unsuccessfully (build directory: /cvmfs/soft.computecanada.ca/easybuild/software/2017/avx2/MPI/gcc7.3/openmpi3.1/openfoam/v1812): build failed (first 300 chars): Missing modules for dependencies (use --robot?): Core/metis/5.1.0
== Results of the build can be found in the log file(s) /tmp/eb-9upFqW/easybuild-OpenFOAM-v1812-20190912.155905.JgRvr.log
ERROR: Build of /cvmfs/soft.computecanada.ca/easybuild/easyconfigs/o/OpenFOAM/OpenFOAM-v1812-gompi-2018.3.312.eb failed (err: 'build failed (first 300 chars): Missing modules for dependencies (use --robot?): Core/metis/5.1.0')