- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
See this: https://software.intel.com/en-us/node/579521
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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)

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page