llnl / llnl/scr

bootstrap.sh fails to compile with clang/6.0.0 on quartz

Open
#436 3 comments 0 reactions 1 assignee View on GitHub

@gonsie is already working on this.

Since Oct 26, 2021.

Dominant language
C
Stars
108
Forks
37
PR merge metrics
No merged PRs in 30d

Description

While clang/6.0.0 fails, switching to gcc works fine.

Steps to reproduce:

  1. ssh quartz
  2. ml clang/6.0.0
  3. git clone git@github.com:LLNL/scr.git && cd scr
  4. ./bootstrap.sh

This results in the following build failure:

[ 77%] Building C object src/CMakeFiles/redset_o.dir/redset_reedsolomon_common.c.o
/usr/workspace/martymcf/src/scr/deps/redset/src/redset_reedsolomon_common.c:13:24: fatal error: kvtree_mpi.h: No such file or directory
#include "kvtree_mpi.h"
^
/usr/workspace/martymcf/src/scr/deps/redset/src/redset_reedsolomon.c:13:24: fatal error: kvtree_mpi.h: No such file or directory
#include "kvtree_mpi.h"
^
compilation terminated.

Looking through the output, it appears that MPI_C is found, but MPI_CXX is not.

-- Found MPI_C: /usr/tce/packages/mvapich2/mvapich2-2.3-clang-6.0.0/lib/libmpi.so (found version "3.1")
-- Could NOT find MPI_CXX (missing: MPI_CXX_WORKS)
-- Could NOT find MPI (missing: MPI_CXX_FOUND) (found version "3.1")

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.