marcelo-alvarez/desiconda2

installation failure on perlmutter

Closed this issue · 1 comments

I tried installing desiconda2 on perlmutter and it didn't work out of the box, ending with:

  checking for MPI compile and link ...
  /opt/cray/pe/craype/2.7.12/bin/cc -shared -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /global/common/software/desi/users/sjbailey/perlmutter/desiconda/20211215-2.0.0/conda/include -fPIC -O2 -isystem /global/common/software/desi/users/sjbailey/perlmutter/desiconda/20211215-2.0.0/conda/include -O3 -fPIC -pthread -fPIC -I/global/common/software/desi/users/sjbailey/perlmutter/desiconda/20211215-2.0.0/conda/include/python3.9 -c _configtest.c -o _configtest.o
  nvc-Error-Unknown switch: -Wno-unused-result
  nvc-Error-Unknown switch: -fwrapv
  failure.
  removing: _configtest.c _configtest.o
  error: Cannot compile MPI programs. Check your configuration!!!
  ----------------------------------------
  ERROR: Failed building wheel for mpi4py
Failed to build mpi4py
ERROR: Could not build wheels for mpi4py, which is required to install pyproject.toml-based projects
ERROR installing pip packages; exiting

the full log is at /global/cfs/cdirs/desi/users/sjbailey/desiconda2/perlmutter-install.log (accessible from perlmutter-p1.nersc.gov or dtn01.nersc.gov while cori is down).

Closing and copying to desihub/desiconda#44 where the latest version of this code is now hosted as the 'update' branch.