We’re installing the PGI compilers on a Power9/Volta HPC cluster. We created a localrc file via:
makelocalrc -gcc core-gcc -g++ core-g++ -g77 core-gfortran
Note the non-standard names for gcc etc.
When we compile an OpenACC program, we get the following error:
pgnvd-Error-Required tool gcc was not found
The problem appears to be the following line in pgnvdlinpowerrc.
tool cuprepro is program(gcc) directory($PATH);