Accessing variables in a FORTRAN module using C

Dear all,

first of all apologize if this topic has been already discussed in the past. I tried to track the information using google and the internal search without success. My bad.

What I am looking for a way to accessing variables in a FORTRAN module using C. Something related to PGI, portable across pgfortran and pgcc (and eventually GNU)

Something similar to the technique described for Intel here Development Tools


Any suggestion?

Hi,

This page sort of addresses the issues you are asking about:

http://www.pgroup.com/products/freepgi/freepgi_ref/ch04.html

However, it does not specifically address the topic of accessing variables declared within a module. I will check into this, and see if this is possible with PGI compilers.

Best regards,

+chris

Thanks Chris, much appreciated!

This page might also help you:

Good luck!

+chris