Closed JiakunYan closed 8 months ago
Is there any earlier error prevented parsing ch4_types.h
correctly?
I found a more relevant error:
In file included from ./src/include/mpiimpl.h:40,
from src/glue/romio/glue_romio.c:10:
./src/include/mpichconf.h:683:28: error: expected expression before 'default'
683 | #define MPIDI_CH4_MAX_VCIS default
| ^~~~~~~
./src/mpid/ch4/include/../netmod/ofi/ofi_pre.h:291:40: note: in expansion of macro 'MPIDI_CH4_MAX_VCIS'
291 | fi_addr_t dest[MPIDI_OFI_MAX_NICS][MPIDI_CH4_MAX_VCIS]; /* [nic][vni] */
| ^~~~~~~~~~~~~~~~~~
In mpich spack package.py, we have
if "+vci" in spec:
config_args.append("--enable-thread-cs=per-vci")
config_args.append("--with-ch4-max-vcis=default")
but the configure does not recognize this default
input value.
Yes, should be --with-ch4-max-vcis=64
or simply omit the option.
tag @raffenet
https://github.com/spack/spack/pull/42570 should fix the issue.
@raffenet It works! Thanks!
Spack spec:
mpich+vci netmod=ofi
Platform: polaris Spack version: 0.21.0 (65d3221a9c436e77af9e802e543c71bd702ff4e2)I am getting a bunch of errors in the build phase such as
Spack told me the configuration options it used were
Full spack concretization
Any idea why this could happen?