27224, "jabraham17", "[Bug]: Running chapel with the cmp subsrate and sgement everything no longer works", "2025-05-08T17:22:11Z"
I am finding that running Chapel with CHPL_COMM=gasnet, CHPL_COMM_SUBSTRATE=smp, and CHPL_GASNET_SEGMENT=everything crashes when run with more than 1 locale.
I used the following test code
on Locales[0] {
writeln("Hello from locale 0");
}
on Locales.last {
writeln("Hello from locale 1");
}
cobegin {
on Locales[0] {
writeln("Hello from locale 0 in cobegin");
}
on Locales.last {
writeln("Hello from locale 1 in cobegin");
}
}
And ran it as follows, getting an internal assert
$ ./a.out -nl 4
$CHPL_HOME/modules/internal/ChapelDynamicLoading.chpl:108: error: assert failed
CHPL_HOST_PLATFORM: darwin
CHPL_HOST_COMPILER: clang
CHPL_HOST_CC: clang *
CHPL_HOST_CXX: clang++ *
CHPL_HOST_ARCH: arm64
CHPL_TARGET_PLATFORM: darwin
CHPL_TARGET_COMPILER: llvm
CHPL_TARGET_CC: /opt/homebrew/Cellar/llvm/20.1.1/bin/clang
CHPL_TARGET_CXX: /opt/homebrew/Cellar/llvm/20.1.1/bin/clang++
CHPL_TARGET_LD: mpicxx
CHPL_TARGET_ARCH: arm64
CHPL_TARGET_CPU: native *
CHPL_LOCALE_MODEL: flat
CHPL_COMM: gasnet *
CHPL_COMM_SUBSTRATE: smp *
CHPL_GASNET_SEGMENT: everything *
CHPL_TASKS: qthreads
CHPL_LAUNCHER: smp
CHPL_TIMERS: generic
CHPL_UNWIND: none
CHPL_HOST_MEM: cstdlib
CHPL_TARGET_MEM: jemalloc
CHPL_TARGET_JEMALLOC: bundled
CHPL_ATOMICS: cstdlib
CHPL_NETWORK_ATOMICS: none
CHPL_GMP: system *
CHPL_HWLOC: system *
CHPL_RE2: bundled *
CHPL_LLVM: system
CHPL_LLVM_SUPPORT: system
CHPL_LLVM_CONFIG: /opt/homebrew/opt/llvm@20/bin/llvm-config
CHPL_LLVM_VERSION: 20
CHPL_AUX_FILESYS: none
CHPL_LIB_PIC: none
CHPL_SANITIZE: none
CHPL_SANITIZE_EXE: none
This is a regression from 2.4, testing the same config with 2.4 works fine