Creating fortran shared library

Creating fortran shared library

I have some fortran routines that I'd like to call from C. I'm having trouble finding how to create a shared libarary and how to link to that library from C.

using Redhat Linux 7.3 Intel Fortran 7.0

2 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

You might like to check the thread from anuraag in this forum. Then, see the Fortran User's Guide, "Libraries" and "Mixing C and Fortran" sections, and also the man pages for ld for how to use -shared to create a shared object.

Martyn

Leave a Comment

Please sign in to add a comment. Not a member? Join today