Hi Ian,
Hi Ian,Yes, I am using ifort version 12.0.2 so maybe it is just a compiler glitch. At any rate I am just relieved that the two languages can share pointers even if opaquely. It helps in my case to be...
View ArticleWhich compiler version are
Which compiler version are you using? I have some notes that indicate that ifort has had issues returning C_PTR's from functions in the 12.0 era. (I don't have access to recent compilers on linux to...
View ArticleJust a follow up in case
Just a follow up in case anybody else is interested. I still haven't figured out how to create a fortran function that returns a C_PTR to fortran allocated memory but I was able to do it via a fortran...
View ArticleThank you TimP for your reply
Thank you TimP for your reply. It is quite possible that I am just not fluent enough with fortran to explain what I think that code fragment is doing. My intention was to somehow return a valid C...
View ArticleI don't think your example
I don't think your example explains well enough what you're trying to do. I doubt that you really want to see a C_PTR to an unassociated Fortran pointer. I'm surprised that you don't get complaints...
View ArticleHi Ian,
Hi Ian,Yes, I am using ifort version 12.0.2 so maybe it is just a compiler glitch. At any rate I am just relieved that the two languages can share pointers even if opaquely. It helps in my case to be...
View ArticleWhich compiler version are
Which compiler version are you using? I have some notes that indicate that ifort has had issues returning C_PTR's from functions in the 12.0 era. (I don't have access to recent compilers on linux to...
View ArticleJust a follow up in case
Just a follow up in case anybody else is interested. I still haven't figured out how to create a fortran function that returns a C_PTR to fortran allocated memory but I was able to do it via a fortran...
View ArticleThank you TimP for your reply
Thank you TimP for your reply. It is quite possible that I am just not fluent enough with fortran to explain what I think that code fragment is doing. My intention was to somehow return a valid C...
View ArticleI don't think your example
I don't think your example explains well enough what you're trying to do. I doubt that you really want to see a C_PTR to an unassociated Fortran pointer. I'm surprised that you don't get complaints...
View Article