Greetings. I apologise in advance if I am not using the correct subforum, but there is no explicit forum for technical issues, and this is the closest match I found.
I am attempting to get a feel for PVF, and am using the 14-day trial. I initially tried out the “hello world” example from the user guide,
program main
implicit none
print *, "Hello World"
end program main
but while it compiles it crashes when run, giving the error message “HelloWorld.exe has stopped working”. I have tried compiling with the fortran compiler in Cygwin, and the same program both compiles and runs there, so I assume there is some configuration issue, but I have been completely unable to figure out what it could be.
I hope someone here could shed some light on what I might be doing wrong.
What type of processor are you using? My guess it’s a Intel Sandybridge and hence by default, PGI will produce AVX instructions. However, you need to have Windows 7 SP2 installed, since prior versions do not recognise AVX and your program will immediately fail at runtime.
To fix, either update your Windows version or target an older processor (such as -tp nehalem-64) so that AVX instructions aren’t used.