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

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

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

2 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

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.

Steve - Intel Developer Support

Leave a Comment

Please sign in to add a comment. Not a member? Join today