X
PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 24 Jul 2018 04:13 PM by  David Starbuck
How to Call Fortran module using CALL_EXTERNAL
 0 Replies
Sort:
You are not authorized to post a reply.
Author Messages

David Starbuck



Basic Member


Posts:143
Basic Member


--
24 Jul 2018 04:13 PM
    Question: A users asked how to call a Fortran module using IDL's CALL_EXTERNAL routine

    Answer: Write a subroutine wrapper within Fortran of the form "subroutine name(argc,argv)" that calls the module. Then use IDL's CALL_EXTERAL routine to call the subroutine.

    IDL CALL_EXTERNAL -> Fortran subroutine wrapper -> Fortran module

    David
    -HGS
    You are not authorized to post a reply.