I installed HPCX SDK 22.11 with GCC 10.2.0 visible at the time of installation.
mtml@gpnpusc300000a samples]$ nvc++ -v
Export NVCOMPILER=/data/saet/mtml/software/x86_64/nvidia/hpc_sdk/Linux_x86_64/22.11
Export PGI=/data/saet/mtml/software/x86_64/nvidia/hpc_sdk
nvc+±Warning-No files to process
However, even though I can compile and run both 22.7 and 22.11 samples properly using 22.7 on a node with 8 x A100 GPUs, with 22.11 I am getting these errors when I compile the C/C++ codes:
[mtml@gpnpusc300000a samples]$ module list
Currently Loaded Modulefiles:
- nvhpc/22.11 2) CUDA/NVHPC_22.11.0 3) 10.2.0
[mtml@gpnpusc300000a samples]$ make all
cd omploop_c1; make build; make run; make clean
make[1]: Entering directory `/data/saet/mtml/cs691/performance/analysis/systems/GPU/x86_64/hpperf/Nvidia/HPCSDK_22.11/examples/OpenMP/samples/omploop_c1’
nvc -fast -Minfo=mp -mp=gpu -o omploop_c1.out omploop_c1.c
“/usr/include/stdio.h”, line 33: catastrophic error: cannot open source file “stddef.h”
include <stddef.h>
^
1 catastrophic error detected in the compilation of “omploop_c1.c”.
Compilation terminated.
make[1]: *** [build] Error 2
make[1]: Leaving directory /data/saet/mtml/cs691/performance/analysis/systems/GPU/x86_64/hpperf/Nvidia/HPCSDK_22.11/examples/OpenMP/samples/omploop_c1' make[1]: Entering directory
/data/saet/mtml/cs691/performance/analysis/systems/GPU/x86_64/hpperf/Nvidia/HPCSDK_22.11/examples/OpenMP/samples/omploop_c1’
make[1]: *** No rule to make target omploop_c1.out', needed by
run’. Stop.
make[1]: Leaving directory /data/saet/mtml/cs691/performance/analysis/systems/GPU/x86_64/hpperf/Nvidia/HPCSDK_22.11/examples/OpenMP/samples/omploop_c1' make[1]: Entering directory
/data/saet/mtml/cs691/performance/analysis/systems/GPU/x86_64/hpperf/Nvidia/HPCSDK_22.11/examples/OpenMP/samples/omploop_c1’
Cleaning up…
make[1]: Leaving directory /data/saet/mtml/cs691/performance/analysis/systems/GPU/x86_64/hpperf/Nvidia/HPCSDK_22.11/examples/OpenMP/samples/omploop_c1' cd omploop_c2; make build; make run; make clean make[1]: Entering directory
/data/saet/mtml/cs691/performance/analysis/systems/GPU/x86_64/hpperf/Nvidia/HPCSDK_22.11/examples/OpenMP/samples/omploop_c2’
nvc -fast -Minfo=mp -mp=gpu -o omploop_c2.out omploop_c2.c
“/usr/include/stdio.h”, line 33: catastrophic error: cannot open source file “stddef.h”
include <stddef.h>
^
1 catastrophic error detected in the compilation of “omploop_c2.c”.
Compilation terminated.
make[1]: *** [build] Error 2
make[1]: Leaving directory /data/saet/mtml/cs691/performance/analysis/systems/GPU/x86_64/hpperf/Nvidia/HPCSDK_22.11/examples/OpenMP/samples/omploop_c2' make[1]: Entering directory
/data/saet/mtml/cs691/performance/analysis/systems/GPU/x86_64/hpperf/Nvidia/HPCSDK_22.11/examples/OpenMP/samples/omploop_c2’
make[1]: *** No rule to make target omploop_c2.out', needed by
run’. Stop.
make[1]: Leaving directory /data/saet/mtml/cs691/performance/analysis/systems/GPU/x86_64/hpperf/Nvidia/HPCSDK_22.11/examples/OpenMP/samples/omploop_c2' make[1]: Entering directory
/data/saet/mtml/cs691/performance/analysis/systems/GPU/x86_64/hpperf/Nvidia/HPCSDK_22.11/examples/OpenMP/samples/omploop_c2’
Cleaning up…
make[1]: Leaving directory /data/saet/mtml/cs691/performance/analysis/systems/GPU/x86_64/hpperf/Nvidia/HPCSDK_22.11/examples/OpenMP/samples/omploop_c2' cd omploop_c2a; make build; make run; make clean make[1]: Entering directory
/data/saet/mtml/cs691/performance/analysis/systems/GPU/x86_64/hpperf/Nvidia/HPCSDK_22.11/examples/OpenMP/samples/omploop_c2a’
nvc -fast -Minfo=mp -mp=gpu -o omploop_c2a.out omploop_c2a.c
“/usr/include/stdio.h”, line 33: catastrophic error: cannot open source file “stddef.h”
include <stddef.h>
^
1 catastrophic error detected in the compilation of “omploop_c2a.c”.
Compilation terminated.
make[1]: *** [build] Error 2
make[1]: Leaving directory /data/saet/mtml/cs691/performance/analysis/systems/GPU/x86_64/hpperf/Nvidia/HPCSDK_22.11/examples/OpenMP/samples/omploop_c2a' make[1]: Entering directory
/data/saet/mtml/cs691/performance/analysis/systems/GPU/x86_64/hpperf/Nvidia/HPCSDK_22.11/examples/OpenMP/samples/omploop_c2a’
make[1]: *** No rule to make target omploop_c2a.out', needed by
run’. Stop.
make[1]: Leaving directory /data/saet/mtml/cs691/performance/analysis/systems/GPU/x86_64/hpperf/Nvidia/HPCSDK_22.11/examples/OpenMP/samples/omploop_c2a' make[1]: Entering directory
/data/saet/mtml/cs691/performance/analysis/systems/GPU/x86_64/hpperf/Nvidia/HPCSDK_22.11/examples/OpenMP/samples/omploop_c2a’
Cleaning up…
make[1]: Leaving directory /data/saet/mtml/cs691/performance/analysis/systems/GPU/x86_64/hpperf/Nvidia/HPCSDK_22.11/examples/OpenMP/samples/omploop_c2a' cd omploop_c3; make build; make run; make clean make[1]: Entering directory
/data/saet/mtml/cs691/performance/analysis/systems/GPU/x86_64/hpperf/Nvidia/HPCSDK_22.11/examples/OpenMP/samples/omploop_c3’
nvc -fast -Minfo=mp -mp=gpu,multicore -o omploop_c3.out omploop_c3.c
“/usr/include/stdio.h”, line 33: catastrophic error: cannot open source file “stddef.h”
include <stddef.h>
^
1 catastrophic error detected in the compilation of “omploop_c3.c”.
Compilation terminated.
make[1]: *** [build] Error 2
make[1]: Leaving directory /data/saet/mtml/cs691/performance/analysis/systems/GPU/x86_64/hpperf/Nvidia/HPCSDK_22.11/examples/OpenMP/samples/omploop_c3' make[1]: Entering directory
/data/saet/mtml/cs691/performance/analysis/systems/GPU/x86_64/hpperf/Nvidia/HPCSDK_22.11/examples/OpenMP/samples/omploop_c3’
make[1]: *** No rule to make target omploop_c3.out', needed by
run’. Stop.
make[1]: Leaving directory /data/saet/mtml/cs691/performance/analysis/systems/GPU/x86_64/hpperf/Nvidia/HPCSDK_22.11/examples/OpenMP/samples/omploop_c3' make[1]: Entering directory
/data/saet/mtml/cs691/performance/analysis/systems/GPU/x86_64/hpperf/Nvidia/HPCSDK_22.11/examples/OpenMP/samples/omploop_c3’
Cleaning up…
make[1]: Leaving directory /data/saet/mtml/cs691/performance/analysis/systems/GPU/x86_64/hpperf/Nvidia/HPCSDK_22.11/examples/OpenMP/samples/omploop_c3' cd omploop_c3meta; make build; make run; make clean make[1]: Entering directory
/data/saet/mtml/cs691/performance/analysis/systems/GPU/x86_64/hpperf/Nvidia/HPCSDK_22.11/examples/OpenMP/samples/omploop_c3meta’
nvc -fast -Minfo=mp -mp=gpu,multicore -o omploop_c3m.out omploop_c3m.c
“/usr/include/stdio.h”, line 33: catastrophic error: cannot open source file “stddef.h”
include <stddef.h>
^
1 catastrophic error detected in the compilation of “omploop_c3m.c”.
Compilation terminated.
make[1]: *** [build] Error 2
make[1]: Leaving directory /data/saet/mtml/cs691/performance/analysis/systems/GPU/x86_64/hpperf/Nvidia/HPCSDK_22.11/examples/OpenMP/samples/omploop_c3meta' make[1]: Entering directory
/data/saet/mtml/cs691/performance/analysis/systems/GPU/x86_64/hpperf/Nvidia/HPCSDK_22.11/examples/OpenMP/samples/omploop_c3meta’
make[1]: *** No rule to make target omploop_c3m.out', needed by
run’. Stop.
make[1]: Leaving directory /data/saet/mtml/cs691/performance/analysis/systems/GPU/x86_64/hpperf/Nvidia/HPCSDK_22.11/examples/OpenMP/samples/omploop_c3meta' make[1]: Entering directory
/data/saet/mtml/cs691/performance/analysis/systems/GPU/x86_64/hpperf/Nvidia/HPCSDK_22.11/examples/OpenMP/samples/omploop_c3meta’
Cleaning up…
make[1]: Leaving directory /data/saet/mtml/cs691/performance/analysis/systems/GPU/x86_64/hpperf/Nvidia/HPCSDK_22.11/examples/OpenMP/samples/omploop_c3meta' cd nbody; make PREC=FP64 build; make run; make clean make[1]: Entering directory
/data/saet/mtml/cs691/performance/analysis/systems/GPU/x86_64/hpperf/Nvidia/HPCSDK_22.11/examples/OpenMP/samples/nbody’
nvc -c -DFP64 -fast -Minline check.c
“/usr/include/stdio.h”, line 33: catastrophic error: cannot open source file “stddef.h”
include <stddef.h>
... ^