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

Is it possible that BIND(C) has a performance impact?

Andreas_Klaedtke
Beginner
390 Views

I have converted some Fortran 77 code to Fortran 90 (free format) and am currently also using the Fortran 2003 features BIND and the ISO_C_BINDING module to make it inter-operable with C.

Since this change, the performance of the entire application has degraded and I am wondering if I have to search through all my changes or if this  might be linked to the BIND(C) or the different variable declarations.

Does BIND(C) change anything about the non-aliased parameter assumption in Fortran?

Andreas

0 Kudos
1 Reply
Steven_L_Intel1
Employee
390 Views

I can't think of any effect of BIND(C) here. I would suggest profiling the application with Intel VTune Amplifer XE and see where the time is being spent.

0 Kudos
Reply