I tried to write a program that uses C and Fortran code at the same time. I did everything as stated in the PGI user guide but unfortunately they don’t say anything about accessing data from modules. So my question is how does the z of my example fortran module look in my c ode file (and which compiler flags do I need to use)?
INTEGER :: z
For ifort it works fine with int * xy_mp_z_. I also had a look at my object file with objdump but that does not give me any useful information.
I would really appreciate if someone could help me with that.
Thanks a lot
P.S.: I have to use pgf90 (pure fortrann 90 code)