20671, "sdbachman", "unable to make Chapel on SGI machine w/ Intel", "2022-09-09T19:56:27Z"
I was unable to progress through the Quickstart on NCAR's computer cluster Cheyenne (Documentation | ARC NCAR). I had our Intel module loaded, and executing the make command returns the following error:
(base) bachman@cheyenne6:/glade/scratch/bachman/chapel> make
Making the compiler...
make[2]: Nothing to be done for 'llvm'.
make[2]: Nothing to be done for 'jemalloc'.
***** adt/ *****
icpc -c -O3 -I. -I../include/linux64 -I../include -I../../build/compiler/linux64/intel/x86_64/hostmem-cstdlib/llvm-none/14/san-none -I../../runtime/include/encoding -I/glade/scratch/bachman/chapel/third-party/utf8-decoder -I../dyno/include -I/glade/scratch/bachman/chapel/third-party/llvm/install/support-only-linux64-x86_64/include -std=c++14 -fno-exceptions -fno-rtti -D_GNU_SOURCE -D_DEBUG -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Wno-comment -DNDEBUG -DCOMPILER_SUBDIR=adt -o ../../build/compiler/linux64/intel/x86_64/hostmem-cstdlib/llvm-none/14/san-none/adt/vec.o vec.cpp
In file included from ../dyno/include/chpl/framework/UniqueString-detail.h(30),
from ../dyno/include/chpl/framework/UniqueString.h(28),
from ../dyno/include/chpl/framework/ID.h(23),
from ../include/astlocs.h(27),
from ../include/baseAST.h(40),
from ../include/misc.h(27),
from vec.cpp(53):
../dyno/include/chpl/framework/stringify-functions.h(194): error: namespace "std" has no member "index_sequence"
std::index_sequence<I...>) {
^
In file included from ../dyno/include/chpl/framework/UniqueString-detail.h(30),
from ../dyno/include/chpl/framework/UniqueString.h(28),
from ../dyno/include/chpl/framework/ID.h(23),
from ../include/astlocs.h(27),
from ../include/baseAST.h(40),
from ../include/misc.h(27),
from vec.cpp(53):
../dyno/include/chpl/framework/stringify-functions.h(194): error: expected a ")"
std::index_sequence<I...>) {
^
In file included from ../dyno/include/chpl/framework/UniqueString.h(30),
from ../dyno/include/chpl/framework/ID.h(23),
from ../include/astlocs.h(27),
from ../include/baseAST.h(40),
from ../include/misc.h(27),
from vec.cpp(53):
../dyno/include/chpl/util/hash.h(86): error: namespace "std" has no member "index_sequence"
inline size_t hash_tuple_impl(const TUP& tuple, std::index_sequence<I...>) {
^
In file included from ../dyno/include/chpl/framework/UniqueString.h(30),
from ../dyno/include/chpl/framework/ID.h(23),
from ../include/astlocs.h(27),
from ../include/baseAST.h(40),
from ../include/misc.h(27),
from vec.cpp(53):
../dyno/include/chpl/util/hash.h(86): error: expected a ")"
inline size_t hash_tuple_impl(const TUP& tuple, std::index_sequence<I...>) {
^
compilation aborted for vec.cpp (code 2)
../make/Makefile.compiler.foot:55: recipe for target '../../build/compiler/linux64/intel/x86_64/hostmem-cstdlib/llvm-none/14/san-none/adt/vec.o' failed
make[3]: *** [../../build/compiler/linux64/intel/x86_64/hostmem-cstdlib/llvm-none/14/san-none/adt/vec.o] Error 2
make/Makefile.compiler.foot:29: recipe for target 'adt.makedir' failed
make[2]: *** [adt.makedir] Error 2
Makefile:78: recipe for target 'compiler' failed
make[1]: *** [compiler] Error 2
Makefile:59: recipe for target 'comprt' failed
make: *** [comprt] Error 2