Running Windows 10, PS XE 2018 beta.
Code runs fine as purely Release or Debug but ask it to execute VTune it crashes. Writes message into CMD window which disappears to fast to see VTune output. Suggestions on how to get the CMD open to see what it says?
If you work in Visual Studio, you can configure VTune to issue CMD messages into Visual Studio output window.
In the Visual Studio menu goto Tools / Options / Intel VTune Amplifier / General and set "Application output destination" to "Microsoft Visual Studio output" window.
If you work in VTune Amplifier standalone GUI, configure same Option to issue output into the "Product output window"
Unfortunately I had to trouble shoot it the old hard way by adding write statements and working my way through the code. Coupled with a Visual Studio issue where the executable gets lock (Dr Fortran says that is an old issue M$ hasn't fixed yet), it took a couple days to determine the problem.
Found the problem, an interesting issue.