Hello, I am trying to install HPCSDK 22.7 on a network location that I have write access to, using the ./install that when prompts me for installation directory I specify “/data/saet/mtml/software/x86_64/nvidia/hpc_sdk”
I’ve enabled GCC 10.2.x prior to installation and I am selecting “network installation”. Please see below. However, at the makelocalrc fails.
The HPC stack installs as follows
./install
Welcome to the NVIDIA HPC SDK Linux installer!
You are installing NVIDIA HPC SDK 2022 version 22.7 for Linux_x86_64.
Please note that all Trademarks and Marks are the properties
of their respective owners.
Press enter to continue...
A network installation will save disk space by having only one copy of the
compilers and most of the libraries for all compilers on the network, and
the main installation needs to be done once for all systems on the network.
1 Single system install
2 Network install
Please choose install option:
2
Please specify the directory path under which the software will be installed.
The default directory is /opt/nvidia/hpc_sdk, but you may install anywhere you wish,
assuming you have permission to do so.
Installation directory? [/opt/nvidia/hpc_sdk]
/data/saet/mtml/software/x86_64/nvidia/hpc_sdk
Common local directory on all hosts for shared objects? [/data/saet/mtml/software/x86_64/nvidia/hpc_sdk/Linux_x86_64/22.7/share_objects]
Note: directory /data/saet/mtml/software/x86_64/nvidia/hpc_sdk/Linux_x86_64/22.7/share_objects was created.
Installing NVIDIA HPC SDK version 22.7 into /data/saet/mtml/software/x86_64/nvidia/hpc_sdk
Output from gcc:
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/4.8.5/lto-wrapper
Target: x86_64-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-linker-hash-style=gnu --enable-languages=c,c++,objc,obj-c++,java,fortran,ada,go,lto --enable-plugin --enable-initfini-array --disable-libgcj --with-isl=/builddir/build/BUILD/gcc-4.8.5-20150702/obj-x86_64-redhat-linux/isl-install --with-cloog=/builddir/build/BUILD/gcc-4.8.5-20150702/obj-x86_64-redhat-linux/cloog-install --enable-gnu-indirect-function --with-tune=generic --with-arch_32=x86-64 --build=x86_64-redhat-linux
Thread model: posix
gcc version 4.8.5 20150623 (Red Hat 4.8.5-44) (GCC)
COLLECT_GCC_OPTIONS='-o' '/tmp/tmp.3x9FPb8FZI/a.out' '-v' '-mtune=generic' '-march=x86-64'
/usr/libexec/gcc/x86_64-redhat-linux/4.8.5/cc1 -quiet -v /tmp/tmp.3x9FPb8FZI/hello-7542.c -quiet -dumpbase hello-7542.c -mtune=generic -march=x86-64 -auxbase hello-7542 -version -o /tmp/ccz7cjMR.s
GNU C (GCC) version 4.8.5 20150623 (Red Hat 4.8.5-44) (x86_64-redhat-linux)
compiled by GNU C version 4.8.5 20150623 (Red Hat 4.8.5-44), GMP version 6.0.0, MPFR version 3.1.1, MPC version 1.0.1
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
ignoring nonexistent directory "/util/gcc/gcc-10.2.0/lib/gcc/x86_64-redhat-linux/4.8.5/include"
ignoring nonexistent directory "/util/gcc/gcc-10.2.0/lib/gcc/x86_64-redhat-linux/4.8.5/include-fixed"
ignoring nonexistent directory "/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../x86_64-redhat-linux/include"
#include "..." search starts here:
#include <...> search starts here:
/data/saet/mtml/software/x86_64/RHEL7/intel/OneAPI/mkl/2022.1.0/include
/data/saet/mtml/software/x86_64/RHEL7/intel/OneAPI/tbb/2021.6.0/include
/usr/local/include
/usr/include
End of search list.
GNU C (GCC) version 4.8.5 20150623 (Red Hat 4.8.5-44) (x86_64-redhat-linux)
compiled by GNU C version 4.8.5 20150623 (Red Hat 4.8.5-44), GMP version 6.0.0, MPFR version 3.1.1, MPC version 1.0.1
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
Compiler executable checksum: 231b3394950636dbfe0428e88716bc73
In file included from /tmp/tmp.3x9FPb8FZI/hello-7542.c:1:0:
/usr/include/stdio.h:33:21: fatal error: stddef.h: No such file or directory
# include <stddef.h>
^
compilation terminated.
ERROR: Linker : not found
** makelocalrc step has FAILED. Linker not found **
** See gcc output above **
Command used:
gcc -o /tmp/tmp.3x9FPb8FZI/a.out -v /tmp/tmp.3x9FPb8FZI/hello-7542.c
cat /tmp/tmp.3x9FPb8FZI/hello-7542.c:
#include <stdio.h>
int main()
{
printf ("Hi\n");
return 0;
}
Making symbolic links in /data/saet/mtml/software/x86_64/nvidia/hpc_sdk/Linux_x86_64/2022
How can I run properly the “makelocalrc” and the “add_network_host” ? Given that my installation location is “/data/saet/mtml/software/x86_64/nvidia/hpc_sdk”, what should the -net argument be ?