Opened 10 months ago
Last modified 8 months ago
#69238 assigned defect
chapel: Can't run chpl after install
Reported by: | zibo-wang (Zibo Wang) | Owned by: | tenomoto (Takeshi Enomoto) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.9.0 |
Keywords: | Cc: | ||
Port: | chapel |
Description
I have installed chapel and sourced the startup script, however, it keeps complaining
$ chpl -h Error: $CHPL_HOME is not where it is expected /opt
if I do printchplenv,
machine info: Darwin MacBook-Pro-M3.local 23.2.0 Darwin Kernel Version 23.2.0: Wed Nov 15 21:54:05 PST 2023; root:xnu-10002.61.3~2/RELEASE_ARM64_T6031 arm64 CHPL_HOME: /opt/local/lib/chapel * script location: /opt/local/lib/chapel/util/chplenv CHPL_HOST_PLATFORM: darwin CHPL_HOST_COMPILER: clang CHPL_HOST_ARCH: arm64 CHPL_TARGET_PLATFORM: darwin CHPL_TARGET_COMPILER: clang CHPL_TARGET_ARCH: arm64 CHPL_TARGET_CPU: native CHPL_LOCALE_MODEL: flat CHPL_COMM: none CHPL_TASKS: qthreads CHPL_LAUNCHER: none CHPL_TIMERS: generic CHPL_UNWIND: none CHPL_MEM: jemalloc CHPL_ATOMICS: cstdlib CHPL_GMP: none CHPL_HWLOC: hwloc CHPL_REGEXP: none CHPL_LLVM: none CHPL_AUX_FILESYS: none CHPL_LIB_PIC: none
Eventhough if I echo, the CHPL_HOME is pointing to the right location. Please help. Also I think chapel has been updated to 1.33 as well.
Cheers, Z
Change History (2)
comment:1 Changed 10 months ago by ryandesign (Ryan Carsten Schmidt)
Owner: | set to tenomoto |
---|---|
Status: | new → assigned |
Summary: | Can't run chpl after install → chapel: Can't run chpl after install |
comment:2 Changed 8 months ago by zibo-wang (Zibo Wang)
The star "*" only indicates this is the current chpl env points to. The issue shows here is that even though echo the env var shows the location is /opt/local/lib/chapel, but the chpl binary thought itself is in /opt. I am not sure how macports manage formulas.
Note: See
TracTickets for help on using
tickets.
I don't know this software, but do I see correctly that the value of
CHPL_HOME
is/opt/local/lib/chapel *
? Is that what it should be or should it be/opt/local/lib/chapel
instead?