On Fri, 6 Dec 2019 11:30:14 +0100 Patrick Dupre wrote: > in c, I use double complex > in f95, I use COMPLEX*16 Never heard of double complex in c. Fortran passes all arguments by reference, so a fortran routine that has a complex*16 arg probably needs something like this in C struct c16 { double real; double imag; }; fortran_routine(struct c16* arg); That would be my guess, anyway. _______________________________________________ users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx