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.

array temporary

Lin_L_
Beginner
498 Views

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?

0 Kudos
1 Reply
mecej4
Honored Contributor III
498 Views

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.

0 Kudos
Reply