No exe created

Hi,

I installed the 19.4 community edition about a month ago. At first it worked but then no exe file is generated. I tried uninstalling and reinstalling and it didn’t help. I tried the new 19.10 version and still no exe file is generated. There are no error messages. Basically nothing seems to happen.

Also, the debugger and profiler are often not getting installed. I think I only had them install on one try. All the other install tries nothing. Not sure what the trick to getting them to show up is.

I have read over the documents, and windows install tips etc. I’ve looked in the forum before posting. I can’t find anyone who has had this problem. I’m not sure what happened to make the compiler no longer function. I’ve also tried re-installing visual studio, but that didn’t help either.

One other odd thing. When I do pgfortran -V command it says I have a zen processor but I have a bulldozer processor.

Anthony

Hi Anthony,

At first it worked but then no exe file is generated.

There’s probably an error but for some reason isn’t getting outputed on the screen. Try adding the “-v” (verbose) flag. This might give more details as to what’s going on.

Also, the debugger and profiler are often not getting installed. I think I only had them install on one try. All the other install tries nothing. Not sure what the trick to getting them to show up is.

I’m not sure about what’s happening here. I’ll ask Alex to jump in if he has ideas.

-Mat

Hi Mat,

Thanks for the reply. Unfortunately, the -V option didn’t add much. Here is a copy of the whole DOS window:

PGI 19.10
Microsoft Windows [Version 10.0.18362.449]
© 2019 Microsoft Corporation. All rights reserved.

E:\My Files\PROP_DESIGN_DOWNLOAD\PROP_DESIGN for 64-bit Windows\PROP_DESIGN\XYZ>c

E:\My Files\PROP_DESIGN_DOWNLOAD\PROP_DESIGN for 64-bit Windows\PROP_DESIGN\XYZ>set NCPUS=2

E:\My Files\PROP_DESIGN_DOWNLOAD\PROP_DESIGN for 64-bit Windows\PROP_DESIGN\XYZ>pgfortran -pc 64 -tp px-64 -Bstatic -Mfixed -Knoieee -O4 -Mvect=simd -Munroll -Mconcur -Minfo -Mbackslash -V PROP_DESIGN_XYZ.f

pgfortran 19.10-0 64-bit target on x86-64 Windows -tp px
PGI Compilers and Tools
Copyright © 2019, NVIDIA CORPORATION. All rights reserved.
PGF90/x86-64 Windows 19.10-0
Copyright © 2019, NVIDIA CORPORATION. All rights reserved.

E:\My Files\PROP_DESIGN_DOWNLOAD\PROP_DESIGN for 64-bit Windows\PROP_DESIGN\XYZ>

UPDATE:

Lowercase -v seemed to output some more info. Have no idea what it means though. Here is a copy of the dos window:

E:\My Files\PROP_DESIGN_DOWNLOAD\PROP_DESIGN for 64-bit Windows\PROP_DESIGN\XYZ>c

E:\My Files\PROP_DESIGN_DOWNLOAD\PROP_DESIGN for 64-bit Windows\PROP_DESIGN\XYZ>set NCPUS=2

E:\My Files\PROP_DESIGN_DOWNLOAD\PROP_DESIGN for 64-bit Windows\PROP_DESIGN\XYZ>pgfortran -pc 64 -tp px-64 -Bstatic -Mfixed -Knoieee -O4 -Mvect=simd -Munroll -Mconcur -Minfo -Mbackslash -v PROP_DESIGN_XYZ.f
Export PGI_CURR_CUDA_HOME=C:/Program Files/PGI/win64/2019/cuda/

“C:/Program Files/PGI/win64/19.10/bin\pgf901.exe” PROP_DESIGN_XYZ.f -opt 4 -nostatic -quad -x 15 2 -x 49 0x400004 -x 51 0x20 -x 57 0x4c -x 58 0x10000 -x 124 0x1000 -x 120 0x80000000 -x 59 4 -x 124 0x400 -x 19 0x400000 -x 119 0x8800000 -x 129 2 -tp px -x 57 0x7b0000 -x 58 0x78031040 -x 119 0x610400 -x 70 0x6c00 -x 47 0x400000 -x 47 0x08 -x 120 0x80000000 -x 59 4 -x 15 2 -x 49 0x100 -x 48 5376 -stdinc “C:/Program Files/PGI/win64/19.10/include/wrap;C:/Program Files/PGI/win64/19.10/include/;C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.23.28105/include/sys;C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.23.28105/include;C:/Program Files (x86)/Windows Kits/10/Include/10.0.18362.0/shared;C:/Program Files (x86)/Windows Kits/10/Include/10.0.18362.0/ucrt;C:/Program Files (x86)/Windows Kits/10/Include/10.0.18362.0/um” -cmdline “+pgfortran PROP_DESIGN_XYZ.f -tp px-64 -pc 64 -Bstatic -Mfixed -Knoieee -O4 -Mvect=sse -Mcache_align -Mpre -Mvect=simd -Munroll -Mconcur -Minfo -Mbackslash -v” -def _M_AMD64 -def _MT -def _WIN32 -def __WIN32 -def WIN32 -def _WIN64 -def __WIN64 -def WIN64 -def x86_64 -def X86_64 -def __unaligned= -def _INTEGRAL_MAX_BITS=64 -def extension= -def amd64 -def AMD64 -def _M_X64 -def MMX -def SSE -def SSE2 -def __PGI_TOOLS17 -ccff -nofreeform -vect 48 -x 54 1 -ieee 0 -y 163 0xc0000000 -x 189 0x10 -nofreeform -x 53 2 -quad -x 119 0x10000000 -concur 512 -x 124 0x40 -modexport C:\temp\pgfortran4cDmKxXZ5R0gQ.cmod -modindex C:\temp\pgfortran5dfmKp8Xkkuin.cmdx -output C:\temp\pgfortran2anmKNadjzH0n.ilm
pgfortran-Fatal-f901 completed with exit code -1073741819

Unlinking C:\temp\pgfortran2anmKNadjzH0n.ilm
Unlinking C:\temp\pgfortran3b1mKFf7l4WSs.stb
Unlinking C:\temp\pgfortran4cDmKxXZ5R0gQ.cmod
Unlinking C:\temp\pgfortran5dfmKp8Xkkuin.cmdx

E:\My Files\PROP_DESIGN_DOWNLOAD\PROP_DESIGN for 64-bit Windows\PROP_DESIGN\XYZ>

Correct the “-V” flag says to print the version, “-v” (lower-case) is the verbose flag where the compiler driver shows the steps it’s taking. In this case, it looks like the front-end is crashing for some reason:

pgfortran-Fatal-f901 completed with exit code -1073741819

No idea why and we would need to get a reproducing example in order to investigate.

Though, you might try changing some of your flags to see if you can work around it. In particular, try removing “-Mvect=simd -Munroll -Mconcur” and change “-O4” to “-O0”.

-Mat

ok, i’ll play around with the flags. previously they worked though. so not sure why they stopped working. my code is public domain. it’s available at https://propdesign.jimdo.com. there are a bunch of different files that need to be compiled. since the problem happened, i have tried xyz for practice. i also tried analysis. neither will compile now.

some oddities that i don’t know if they matter:

  • when i do pgfortran -V it says i have a zen processor when i have a bulldozer processor
  • there is no debugger or profiler shortcuts in my start menu. i don’t think they are getting installed
  • when i uninstall the program, i have to manually delete the start menu shortcuts, everything else seems to get removed

i have tried uninstalling and reinstalling many many times, but it doesn’t help. i’ve tried with different options being checked yes or no and different versions of visual studio.

i have manually tried editing the dos batch file to point to the correct location for visual studio and associated windows sdk. but that didn’t help any.

i’m stuck right now. so any ideas help.

when this first started happening, i tried writing your test program of hello world, and even that wouldn’t compile.

hi again,

here is the results with the test you asked for. still get an error and no exe generated:

E:\My Files\PROP_DESIGN_DOWNLOAD\PROP_DESIGN for 64-bit Windows\PROP_DESIGN\XYZ>c1

E:\My Files\PROP_DESIGN_DOWNLOAD\PROP_DESIGN for 64-bit Windows\PROP_DESIGN\XYZ>set NCPUS=2

E:\My Files\PROP_DESIGN_DOWNLOAD\PROP_DESIGN for 64-bit Windows\PROP_DESIGN\XYZ>pgfortran -pc 64 -tp px-64 -Bstatic -Mfixed -Knoieee -O0 -Minfo -Mbackslash -v PROP_DESIGN_XYZ.f
Export PGI_CURR_CUDA_HOME=C:/Program Files/PGI/win64/2019/cuda/

“C:/Program Files/PGI/win64/19.10/bin\pgf901.exe” PROP_DESIGN_XYZ.f -opt 0 -nostatic -quad -x 15 2 -x 49 0x400004 -x 51 0x20 -x 57 0x4c -x 58 0x10000 -x 124 0x1000 -x 120 0x80000000 -x 59 4 -x 124 0x400 -x 19 0x400000 -x 119 0x8800000 -tp px -x 57 0x7b0000 -x 58 0x78031040 -x 119 0x610400 -x 47 0x08 -x 120 0x80000000 -x 59 4 -x 15 2 -x 49 0x100 -x 48 5376 -stdinc “C:/Program Files/PGI/win64/19.10/include/wrap;C:/Program Files/PGI/win64/19.10/include/;C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.23.28105/include/sys;C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.23.28105/include;C:/Program Files (x86)/Windows Kits/10/Include/10.0.18362.0/shared;C:/Program Files (x86)/Windows Kits/10/Include/10.0.18362.0/ucrt;C:/Program Files (x86)/Windows Kits/10/Include/10.0.18362.0/um” -cmdline “+pgfortran PROP_DESIGN_XYZ.f -tp px-64 -pc 64 -Bstatic -Mfixed -Knoieee -O0 -Minfo -Mbackslash -v” -def _M_AMD64 -def _MT -def _WIN32 -def __WIN32 -def WIN32 -def _WIN64 -def __WIN64 -def WIN64 -def x86_64 -def X86_64 -def __unaligned= -def _INTEGRAL_MAX_BITS=64 -def extension= -def amd64 -def AMD64 -def _M_X64 -def MMX -def SSE -def SSE2 -def __PGI_TOOLS17 -ccff -nofreeform -vect 48 -x 54 1 -ieee 0 -y 163 0xc0000000 -x 189 0x10 -nofreeform -x 124 0x40 -modexport C:\temp\pgfortran4cI8OcMcqEqbY-.cmod -modindex C:\temp\pgfortran5dY8OcwxqjIaZQ.cmdx -output C:\temp\pgfortran2ac8OcglIb5NKn.ilm
pgfortran-Fatal-f901 completed with exit code -1073741819

Unlinking C:\temp\pgfortran2ac8OcglIb5NKn.ilm
Unlinking C:\temp\pgfortran3bs8Oc2JZ2qTyA.stb
Unlinking C:\temp\pgfortran4cI8OcMcqEqbY-.cmod
Unlinking C:\temp\pgfortran5dY8OcwxqjIaZQ.cmdx

E:\My Files\PROP_DESIGN_DOWNLOAD\PROP_DESIGN for 64-bit Windows\PROP_DESIGN\XYZ>

so even with the hello world test case from your manual, i still get nothing. here is the output from that test:

PGI 19.10
Microsoft Windows [Version 10.0.18362.449]
© 2019 Microsoft Corporation. All rights reserved.

E:\My Files\PROP_DESIGN_DOWNLOAD\PROP_DESIGN for 64-bit Windows\PROP_DESIGN\XYZ>ct

E:\My Files\PROP_DESIGN_DOWNLOAD\PROP_DESIGN for 64-bit Windows\PROP_DESIGN\XYZ>pgfortran -v hello.f
Export PGI_CURR_CUDA_HOME=C:\PROGRA~1\PGI/win64/2019/cuda/

C:\PROGRA~1\PGI/win64/19.10/bin\pgf901.exe hello.f -opt 1 -nostatic -quad -x 15 2 -x 49 0x400004 -x 51 0x20 -x 57 0x4c -x 58 0x10000 -x 124 0x1000 -x 120 0x80000000 -x 59 4 -x 124 0x400 -x 19 0x400000 -x 119 0x8800000 -tp zen -x 57 0x7b0000 -x 58 0x78031040 -x 119 0x610400 -x 47 0x08 -x 120 0x80000000 -x 59 4 -x 15 2 -x 49 0x100 -x 48 5376 -stdinc “C:\PROGRA~1\PGI/win64/19.10/include/wrap;C:\PROGRA~1\PGI/win64/19.10/include/;C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.23.28105/include/sys;C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.23.28105/include;C:/Program Files (x86)/Windows Kits/10/Include/10.0.18362.0/shared;C:/Program Files (x86)/Windows Kits/10/Include/10.0.18362.0/ucrt;C:/Program Files (x86)/Windows Kits/10/Include/10.0.18362.0/um” -cmdline “+pgfortran hello.f -v” -def _M_AMD64 -def _MT -def _WIN32 -def __WIN32 -def WIN32 -def _WIN64 -def __WIN64 -def WIN64 -def x86_64 -def X86_64 -def __unaligned= -def _INTEGRAL_MAX_BITS=64 -def extension= -def amd64 -def AMD64 -def _M_X64 -def MMX -def SSE -def SSE2 -def SSE3 -def SSSE3 -def SSE4A -def ABM -def __PGI_TOOLS17 -nofreeform -vect 48 -x 54 1 -x 70 0x40000000 -y 163 0xc0000000 -x 189 0x10 -modexport C:\temp\pgfortran4cr85bZ1RXwLxT.cmod -modindex C:\temp\pgfortran5dz85blKQR0Olz.cmdx -output C:\temp\pgfortran2ab85bdsf6iYBs.ilm
pgfortran-Fatal-f901 completed with exit code -1073741819

Unlinking C:\temp\pgfortran2ab85bdsf6iYBs.ilm
Unlinking C:\temp\pgfortran3bj85bBIppuJ6i.stb
Unlinking C:\temp\pgfortran4cr85bZ1RXwLxT.cmod
Unlinking C:\temp\pgfortran5dz85blKQR0Olz.cmdx

E:\My Files\PROP_DESIGN_DOWNLOAD\PROP_DESIGN for 64-bit Windows\PROP_DESIGN\XYZ>

Interesting. So there must be something fundamental wrong with your installation.

I need to head to airport in a few but will ping Alex to see if he can take a look.

-Mat

I cannot reproduce the same with our own bulldozer test machine.

pgfortran-Fatal-f901 completed with exit code -1073741819

By chance, could you post the localrc file in the bin/ directory? As well as the output of pgcpuid

here is the pgcpuid output:

PGI 19.10
Microsoft Windows [Version 10.0.18362.449]
© 2019 Microsoft Corporation. All rights reserved.

E:\My Files\PROP_DESIGN_DOWNLOAD\PROP_DESIGN for 64-bit Windows\PROP_DESIGN\XYZ>pgcpuid
vendor id : AuthenticAMD
model name : AMD A9-9400 RADEON R5, 5 COMPUTE CORES 2C+3G
cores : 2
cpu family : 21
model : 112
processors : 2
clflush size : 8
threads : 2
nodes per proc : 1
L2 cache size : 1024KB
flags : abm ahf apic cflush cmov cx8 de fpu fxsr fxsropt ht lm mca
flags : mce mmx mmx-amd monitor msr mas mtrr nx pae pat pge
flags : prefetch-amd pse pseg36 sep sse sse2 sse3 sse4a fma4 lwp
flags : xop pclmul ssse3 fma cx16 sse4.1 sse4.2 popcnt aes xsave
flags : osxsave avx f16c syscall tsc vme fsgbase bmi1 avx2 smep
flags : bmi2
default target : -tp piledriver

E:\My Files\PROP_DESIGN_DOWNLOAD\PROP_DESIGN for 64-bit Windows\PROP_DESIGN\XYZ>

the forum gives an error if i try to post the contents of the localrc file. i don’t see a way to attach anything

Can you forward the RC file to webmaster@pgroup.com?

thanks for the help. i sent a zip file to that address with the localrc file and some other info that may help.

i figured out the problem. my windows installation got corrupted some how. i discovered it yesterday when i tried to install the intel mkl and couldn’t. after re-installing windows i can now install pgi and it works.

one question though. i don’t have a debugger or profiler icon in my start menu. is that normal? at one point, they were there, with a previous installation. i don’t use them, just wondering if they are supposed to be there. this is with 19.10 community edition.

Glad to hear you’ve got it sorted out! I don’t think recently we’ve included icons for the debugger or profiler for some time now. The installer will ask to create a desktop icon, but that should just be a shortcut for a shell, from which you can launch pgdbg or pgprof.