compile error

I have an update relative to the problem mentioned below. I used the time-honored technique of un-installing the PGI softward, then downloading again and re-installing. Perhaps not surprisingly, the problem went away.

I recently installed pgfortran on my Windows machine. When I try to compile, I get the following:

PGI$ pgfortran hello.f
pgfortran-Error-Required tool pgstrp was not found
pgfortran… looked for pgstrp at C:\PROGRA~1\PGI/win64/18.10/bin\pgstrp
pgfortran… looked for pgstrp at C:\PROGRA~1\PGI\win64\18.10\bin\pgstrp
pgfortran… looked for pgstrp at C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\bin\Hostx64\x64\pgstrp
pgfortran… looked for pgstrp at C:\Program Files (x86)\Windows Kits\10\bin\x64\pgstrp
pgfortran… looked for pgstrp at C:\PROGRA~1\PGI\win64\2018\cuda\10.0\bin\pgstrp
pgfortran… looked for pgstrp at C:\PROGRA~1\PGI\win64\2018\cuda\9.2\bin\pgstrp
pgfortran… looked for pgstrp at C:\PROGRA~1\PGI\win64\2018\cuda\9.1\bin\pgstrp
pgfortran… looked for pgstrp at C:\cygwin\bin\pgstrp
pgfortran… looked for pgstrp at C:\Program Files\PGI\flexlm\pgstrp
pgfortran… looked for pgstrp at C:\Program Files\Java\jre1.8.0_112\bin\pgstrp
pgfortran… looked for pgstrp at C:\ProgramData\Oracle\Java\javapath\pgstrp
pgfortran… looked for pgstrp at C:\Program Files\Microsoft HPC Pack 2012\Bin\pgstrp
pgfortran… looked for pgstrp at C:\Program Files (x86)\Intel\Intel® Management Engine Components\iCLS\pgstrp
pgfortran… looked for pgstrp at C:\Program Files\Intel\Intel® Management Engine Components\iCLS\pgstrp
pgfortran… looked for pgstrp at C:\windows\system32\pgstrp
pgfortran… looked for pgstrp at C:\windows\pgstrp
pgfortran… looked for pgstrp at C:\windows\System32\Wbem\pgstrp
pgfortran… looked for pgstrp at C:\windows\System32\WindowsPowerShell\v1.0\pgstrp
pgfortran… looked for pgstrp at C:\windows\System32\OpenSSH\pgstrp
pgfortran… looked for pgstrp at C:\Program Files (x86)\Intel\Intel® Management Engine Components\DAL\pgstrp
pgfortran… looked for pgstrp at C:\Program Files\Intel\Intel® Management Engine Components\DAL\pgstrp
pgfortran… looked for pgstrp at C:\Program Files (x86)\Intel\Intel® Management Engine Components\IPT\pgstrp
pgfortran… looked for pgstrp at C:\Program Files\Intel\Intel® Management Engine Components\IPT\pgstrp
pgfortran… looked for pgstrp at C:\Program Files (x86)\Wolfram Research\WolframScript\pgstrp
pgfortran… looked for pgstrp at C:\Users\tsutt\AppData\Local\Microsoft\WindowsApps\pgstrp
pgfortran… looked for pgstrp at .\pgstrp

The compiler seems to be looking for something called ‘pgstrp’ but cannot find it. Any suggestions would be greatly appreciated.

Hi Thomas,

pgstrp should be in the same folder as pgfortran, e.g. C:\Program Files\PGI\win64\18.10\bin. In fact, in the snippet you posted, it’s looking for it in that very place:

pgfortran... looked for pgstrp at C:\PROGRA~1\PGI/win64/18.10/bin\pgstrp 
pgfortran... looked for pgstrp at C:\PROGRA~1\PGI\win64\18.10\bin\pgstrp

Does that file exist? If not, re-installing the package is probably your best bet. Though I can’t imagine why that particular file wouldn’t be extracted. I created a blank vm with only 18.10 on it and if I move pgstrp out of the bin/ directory I get the same error.