I have used 20.7 since it was released. I tried to update 20.11, and it seemed to work until I put -stdpar
in the command-line. I think I have traced the problem to one of the rcfile(s) which refers to 20.7. But I don’t understand how to fix it. Help please, particularly with regard to not repeating the problem when I install 21.1!
Good morning Mat. Seeing your name made it feel like meeting an old friend!
It appears that I am using 20.7, while believing I was running 20.11! I am displaying the results ofaa few relevant(!) commands:
nvfortran 20.7-0 LLVM 64-bit target on x86-64 Linux -tp haswell
NVIDIA Compilers and Tools
Copyright (c) 2020, NVIDIA CORPORATION. All rights reserved.
malcolm96
As you can see, 20.11 is installed, but apparently not ‘activated’! What should I do to be using 20.11?
What’s your PATH environment variable set to? (i.e. post the output from the command “echo $PATH”).
My guess is you still have your PATH pointing to the 20.7 install, or at least have it listed before the local directory (“.”). The OS uses the first instance of a binary it finds with precedence to directories listed earlier in PATH. So if you have “/opt/nvidia/hpc_sdk/Linux_x86_64/20.7/compilers/bin” listed before “.” or “/opt/nvidia/hpc_sdk/Linux_x86_64/20.11/compilers/bin” , the 20.7 nvfortran binary will be used.