LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   Embedded C in Fortran 90 (https://www.linuxquestions.org/questions/programming-9/embedded-c-in-fortran-90-a-672139/)

aihaike 09-24-2008 04:23 PM

Embedded C in Fortran 90
 
Dear all,


I'm new in Fortran 90, I have to use it but I still want to use the GSL library which is written in C.
I read somewhere that it's possible to call C from Fortran 90.
Does someone know how and where I can find good documentations?
Thanks in advance,

Eric.

jailbait 09-24-2008 04:25 PM

You can find some documentation here:

http://www.yolinux.com/TUTORIALS/Lin...rtranAndC.html

------------------
Steve Stites

makyo 09-25-2008 03:03 PM

Hi.

You could consider using the originals in Fortran because:
Quote:

Where possible the routines have been based on reliable public-domain Fortran packages such as FFTPACK and QUADPACK, which the developers of GSL have reimplemented in C with modern coding conventions.

-- excerpt from http://www.gnu.org/software/gsl/
say from: http://www.cisl.ucar.edu/softlib/FFTPACK.html

Best wishes ... cheers, makyo

aihaike 09-26-2008 01:40 PM

Thanks, I've also found this page:

http://www.maths.bris.ac.uk/~maapw/a...re.html#CfromF

Best,

Eric.


All times are GMT -5. The time now is 03:07 PM.