Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.

debug options

diedro
Beginner
547 Views

Dear all,

Usually, when I compile, I use the option -CB in order to check the correct allocations of my vector.  Is there any option to check the variables that I do not use in my code?

Thanks a lot

0 Kudos
2 Replies
FortranFan
Honored Contributor III
547 Views

See this: https://software.intel.com/en-us/node/579521

 

0 Kudos
Kevin_D_Intel
Employee
547 Views

To check for uninitialized variables, try: -check uninit  (see FortranFan's cited URL)

To check for unused variables, try: -warn unused  (https://software.intel.com/en-us/node/579575)

0 Kudos
Reply