How to catch assignment of unallocated variable. Visual studio 2010 (intel fortran compiler 2011) miss it -


i again struggling find mistakes in code visual studio under windows. assignment of unallocated allocatable variable variable messing code , visual studio never detected error. lost 2 days find it. tool can use can catch errors this? see there many alternative valgrind windows ( is there valgrind substitute windows? ), 1 suggest these kinda problems? thanks.

when debugging or testing, compile , run appropriate error checking , diagnostic options (in project properties under fortran > diagnostics set compile time diagnostics "show (/warn:all)" , under fortran > "run-time" set runtime error checking "all (/check:all)".

as observation - intel fortran compiler sold in bundle intel product (inspector xe) allows more intensive memory , concurrency correctness checking. runtime mode of has similar capabilities valgrind.


Comments

Popular posts from this blog

python - Subclassed QStyledItemDelegate ignores Stylesheet -

java - HttpClient 3.1 Connection pooling vs HttpClient 4.3.2 -

SQL: Divide the sum of values in one table with the count of rows in another -