You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After downloading, and checking prerequisites, I began the 'make' to begin
the chapel code compiling process. After several minutes of watching compiling
process, it quit with the following error message:
topo-hwloc.c:43:10: fatal error: hwloc.h: No such file or directory
43 | #include "hwloc.h"
| ^~~~~~~~~
compilation terminated.
I also went through the compiling info and came across this warning:
n file included from /home/kurt/chapel-1.27.0/third-party/hwloc/hwloc-src/src/topology.c:45:
/usr/include/x86_64-linux-gnu/sys/sysctl.h:21:2: warning: #warning "The <sys/sysctl.h> header is deprecated and will be removed." [-Wcpp]
21 | #warning "The <sys/sysctl.h> header is deprecated and will be removed."
| ^~~~~~~
Here is the output from printchplenv:
Warning: $/.chplconfig:line 21: "CHPL_REGEXP" is not an acceptable variable
Warning: $/.chplconfig:line 22: "CHPL_WIDE_POINTERS" is not an acceptable variable
@kurtnordlander : Thanks for reporting this. Since hwloc is a third-party package we bundle, I did a google search on the warning message and hwloc and found my way to this issue which suggests to me that its cause relates to glibc versions and that it may have long since been resolved by newer releases of hwloc (?).
In the meantime, I wonder whether setting CHPL_HWLOC=none to disable the use of hwloc will help you make some forward progress? I'm seeing that we also have an #include of sys/sysctl.h in our runtime, so there's a chance you'll just hit the same issue later in compilation, but maybe not depending on which flags we throw relative to hwloc (?).
Can you provide more information so we can try to reproduce the issue (in particular OS flavor/version and gcc version would be helpful)
I'd also like to better understand how you ended up with your chplenv settings. In particular why you selected CHPL_TASKS=fifo, CHPL_ATOMICS=intrinsics, and CHPL_MEM=cstdlib
@kurtnordlander : Backing away from my previous comment a bit: I'm accustomed to warnings being errors as a developer and am only realizing now that that warning shouldn't have broken the hwloc build. In addition to Elliot's question above, I'd be curious what the C compiler invocation line for topo-hwloc.c looks like and also what you see for cd $CHPL_HOME/third-party/hwloc/install && ls.
Beyond that, if you're willing to share your full build log, that could be particularly helpful.
After downloading, and checking prerequisites, I began the 'make' to begin
the chapel code compiling process. After several minutes of watching compiling
process, it quit with the following error message:
topo-hwloc.c:43:10: fatal error: hwloc.h: No such file or directory
43 | #include "hwloc.h"
| ^~~~~~~~~
compilation terminated.
I also went through the compiling info and came across this warning:
n file included from /home/kurt/chapel-1.27.0/third-party/hwloc/hwloc-src/src/topology.c:45:
/usr/include/x86_64-linux-gnu/sys/sysctl.h:21:2: warning: #warning "The <sys/sysctl.h> header is deprecated and will be removed." [-Wcpp]
21 | #warning "The <sys/sysctl.h> header is deprecated and will be removed."
| ^~~~~~~
Here is the output from printchplenv:
Warning: $
/.chplconfig:line 21: "CHPL_REGEXP" is not an acceptable variable/.chplconfig:line 22: "CHPL_WIDE_POINTERS" is not an acceptable variableWarning: $
machine info: Linux Triton 5.4.0-122-generic #138-Ubuntu SMP Wed Jun 22 15:00:31 UTC 2022 x86_64
CHPL_HOME: /home/kurt/chapel-1.27.0 *
script location: /home/kurt/chapel-1.27.0/util/chplenv
CHPL_TARGET_PLATFORM: linux64 +
CHPL_TARGET_COMPILER: gnu +
CHPL_TARGET_ARCH: native +
CHPL_TARGET_CPU: native
CHPL_LOCALE_MODEL: flat +
CHPL_COMM: none *
CHPL_TASKS: fifo *
CHPL_LAUNCHER: none +
CHPL_TIMERS: generic +
CHPL_UNWIND: none +
CHPL_MEM: cstdlib *
CHPL_ATOMICS: intrinsics +
CHPL_GMP: none *
CHPL_HWLOC: hwloc +
CHPL_RE2: none *
CHPL_LLVM: none *
CHPL_AUX_FILESYS: none +
Honestly, I have no clue.
Thank you for checking this out.
The text was updated successfully, but these errors were encountered: