Thank you both for your replies !
@xwb - I am allocating data in fortran and sending it to a C function. And it is a GNU Toolchain project on Linux. I am porting sections to accelerate on a GPU using CUDA...
@Jacq - Thanks a ton for clarifying that , and so far that seems to do the trick. My...
Hi,
I am trying to send a derived data type , which has a derived data type as a member, to a 'C' function. However from the C function trying to access to access the derived type member results in a segmentation fault. For more context here is the little snippet of code..
TYPE :: TEST...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.