No exe created

prop_design
Posts: 11
Joined: Nov 06 2019

No exe created

Post by prop_design » Wed Nov 06, 2019 2:37 pm

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

mkcolg
Posts: 8107
Joined: Jun 30 2004

Re: No exe created

Post by mkcolg » Fri Nov 08, 2019 7:58 am

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

prop_design
Posts: 11
Joined: Nov 06 2019

Re: No exe created

Post by prop_design » Fri Nov 08, 2019 9:31 am

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]
(c) 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 (c) 2019, NVIDIA CORPORATION. All rights reserved.
PGF90/x86-64 Windows 19.10-0
Copyright (c) 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>

mkcolg
Posts: 8107
Joined: Jun 30 2004

Re: No exe created

Post by mkcolg » Fri Nov 08, 2019 10:32 am

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:

Code: Select all

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

prop_design
Posts: 11
Joined: Nov 06 2019

Re: No exe created

Post by prop_design » Fri Nov 08, 2019 10:40 am

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.
Last edited by prop_design on Fri Nov 08, 2019 10:51 am, edited 1 time in total.

Post Reply