- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
when I'm calling ZGEMV using the interface ZGEMV_f95, the following warning appears:
forrtl: warning (406): fort: (1): In call to ZGEMV, an array temporary was created for argument #5
forrtl: warning (406): fort: (1): In call to ZGEMV, an array temporary was created for argument #7
How to avoid this warning?
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Use the -check noarg_temp_created option, or simply ignore the warning if you don't mind what it says. If you want control over whether those temporary arrays are placed on the stack or the heap, there are other options. There is also the option that you explicitly assign an array-section expression argument to a suitable array variable before the function/subroutine call, and use that variable as the argument instead of the expression.

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