I recently tried to up-date to the new Visual fortran compiler (13.0.0.089), and have subsequently encountered a run-time error with my release configuration. My application compiles and runs using my debug configurations, and compiles in my release configuration, but displays a run-time error when I run the release configuration. My release configuration makes use of OpenMP dynamic link libraries (I know the most recent compiler release no longer allows for the statically linked library). Furthermore, my release configuration appears to run just fine after compiling using compiler 13.0 (produces identical results to those obtained after compiling using previous version of the compiler), so long as I "check for null pointers and allocatable array references" (/check:pointer). I believe that including this option is likely to lead to some loss in efficiency, and so would prefer not to have to resort to this work-around.
I include, below, my compiler options for your information.
Any help would be gratefully appreciated,
/nologo /O3 /Qparallel /Qopt-prefetch=3 /Qip /Qopt-matmul /arch:SSE3 /Qopenmp /fpscomp:logicals /Qopenmp-report0 /Qpar-report0 /Qvec-report0 /real_size:64 /align:rec8byte /align:dcommons /fp:strict /fp:except /module:"x64\test" /object:"x64\test\\" /Fd"x64\test\vc100.pdb" /gen-dep:"x64\test\SIDD.dep" /libs:static /threads /Qmkl:parallel /c /F900000000 [only works if I add the option /check:pointer]
/OUT:"C:\MyFiles\MODEL_LAB\MODEL\SIDD.exe" /INCREMENTAL:NO /NOLOGO /LIBPATH:"C:\MyFiles\MODEL_LAB\MODEL\\" /MANIFEST /MANIFESTFILE:"C:\MyFiles\MODEL_LAB\MODEL\SIDD.exe.intermediate.manifest" /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /MAP:"x64\test/NIBAX.map" /SUBSYSTEM:CONSOLE /OPT:REF /OPT:ICF /IMPLIB:"C:\MyFiles\MODEL_LAB\MODEL\SIDD.lib" taxes.lib excel.lib analysis.lib