spack unable to find an lmod loaded compiler

Created on 12 Jun 2019  路  3Comments  路  Source: spack/spack

Steps to reproduce the issue

I noticed a change of behavior of the following scenario between [email protected] and spack@develop :

$ module load gcc/8.1.0
$ spack compiler find

The problem

On "release" tag v0.12.1, the compiler is found, on the develop branch, it isn鈥檛.

System information

The issue occurs on a supercomputer using lmod mechanism for modules.

bug

Most helpful comment

I confirm that the problem is now solved.

Thank you

All 3 comments

@alalazo FYI (although I can look into this if you prefer)

Bisect is implicating https://github.com/spack/spack/pull/10190 (https://github.com/spack/spack/commit/6d56d4545472ddff1cdc0e8fd49d8260428a141e)

I'm not sure why that would cause an error yet.

@adrienbernede @scheibelp I'll have a look at this today, thanks for the report

I confirm that the problem is now solved.

Thank you

Was this page helpful?
0 / 5 - 0 ratings