Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
28701 Discussions

Compile Real KIND 8 with DFLOGM Library Functions

william_s_6
Beginner
242 Views


Within the compiler options, I set the Default Integer KIND and Default Real KIND to 8.  I get a compiler error on all the DFLOGM libraries functions, such as "error #6284: There is no matching specific function for this generic function reference.   [DLGINIT]".

Instead of globally making all my variables KIND 8, am I going to have to declare each one in all subroutines to get around this  error with the library functions?

 

 

 

0 Kudos
1 Reply
Steven_L_Intel1
Employee
242 Views

Yes - no different than any other source of explicit interfaces.  The DFLOGM routines are not generic.  In general, I recommend against using the options to change the default kinds. You should declare PARAMETER constants for your kind values based on SELECTED_INT_KIND and SELECTED_REAL_KIND and reference those, rather than hard-coding 8 or 4.

0 Kudos
Reply