Skip to content

Spack issue on bluegene : doesn't detect compilers from $PATH #1784

@pramodk

Description

@pramodk

I am quickly trying spack on bg-q. I have xlc/gcc in $PATH but spack doesn't detect it:

$ which xlc
/usr/bin/xlc
$ which gcc
/bgsys/local/gcc/4.8.1/bin/gcc
$ spack compiler find
==> Found no new compilers
$ spack compiler add
==> Found no new compilers
$ spack compiler add /bgsys/local/gcc/4.8.1/bin/
==> Found no new compilers

For arch, I see following:

$ spack arch
bbq-None-powerpc

"None" in arch indicate problem? I have no knowledge of the code but by looking at

lib/spack/spack/platforms/bgq.py

it seems like "add_operating_system" is missing and whenever there is query for os, this returns None. This might be causing this issue?

If I run any command to install package, it hang somewhere.

Could someone have a look? Am I missing anything?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions