Hello,
Something off has happened when installing nvhpc 22,1. When I inquire about the version, the system is outputting:
$ pgcc --version
pgcc (aka nvc) 22.1-0 64-bit target on x86-64 Linux -tp haswell
PGI Compilers and Tools
Copyright (c) 2022, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
The issue is that the system is Ice Lake (Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz) and shouldn’t be picking up Haswell, which I’m guessing might harm performance. [NOTE: I double-checked with a Skylake system and the installation picked up skylake-avx512.]
Thanks.
I’m not familiar with this processor and ark.intel.com doesn’t seem to have it listed. Can you please post the output from running the ‘nvcpuid’ utility?
The compiler determines what features the CPU supports but our target processor flag only list major architectural versions since the fundamental features generally don’t change with die shrinks or varying packaging. No idea why this is being listed as a Haswell, but it may just be lacking AVX512 support so is reverting to the older generation.
Unfortunately I don’t have an explanation as to why pgcc is listing the target as haswell. It uses the same code as nvcpuid which sees it as skylake.
We have been revamping the default configuration to look for the architecture features themselves rather than using the family to then set features. That is unless the user specifies the target via the “-tp” flag (which you can use as a work-around, i.e. set “-tp skylake”).
Let me ask one of the compiler engineers to review your post for ideas.
Hi Mat,
I tried v20.9/v21.9 and both recognized the processor. For example,
$ pgcc --version
pgcc (aka nvc) 21.9-0 64-bit target on x86-64 Linux -tp skylake
PGI Compilers and Tools
Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
The issue seems to be happening only for v22.1. I’ll just proceed with v21.9 as I wouldn’t expect a large performance improvement between both versions.
Also, I’m assuming that the compiler picks up skylake instead of IceLake as the ISAs are almost identical except for some AI enhancements.
Thanks.