Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Add library to fortran

  1. Sep 19, 2015 #1
    Hi I'm completely new to fortran I've downloaded FGSL and I don't know how to run it and also I don't How should I launch the free libraries in fortran,can give me an outline?
     
  2. jcsd
  3. Sep 19, 2015 #2

    SteamKing

    User Avatar
    Staff Emeritus
    Science Advisor
    Homework Helper

    You don't "run" FGSL in the conventional sense, like you execute an application.

    A library is a collection of compiled code which can be linked to other routines written and compiled by the user to make a new program.

    Have you read the README file at the following link?:

    http://www.lrz.de/services/software/mathematik/gsl/fortran/
     
  4. Sep 19, 2015 #3
    yes but It wasn't so meaningful to me ,
    for example it said : ....
    export FC=<fortran compiler command>
    export FCFLAGS=<additional Fortran flags>.....
    I couldn't find these files in the FGSL file where are they?
    and I also it need so many modification and extra files which I don't have them :(
    Do you know any scientific library which is easier to use for fortran?
     
  5. Sep 19, 2015 #4

    SteamKing

    User Avatar
    Staff Emeritus
    Science Advisor
    Homework Helper

    How much experience do you have using libraries with Fortran? What Fortran compiler are you using to build the FGSL library?
     
  6. Sep 19, 2015 #5

    jtbell

    User Avatar

    Staff: Mentor

    And which operating system? Those instructions look like they're for one of the GNU Fortran compilers (g77 or gfortran) on a Unix- or Linux-based computer.
     
  7. Sep 20, 2015 #6
    actually none I just started learning fortran about 3 weeks
     
  8. Sep 20, 2015 #7
    I use windows 7 I couldn't find any other instruction in the site.I had thought about what you are saying .instruction wasn't really clear :D
     
  9. Sep 20, 2015 #8

    SteamKing

    User Avatar
    Staff Emeritus
    Science Advisor
    Homework Helper

    Well, exactly which routines from FGSL do you need in your program?

    Since the sources are available, perhaps making a whole library at this point would be unnecessary, until you have acquired more experience with Fortran.
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook




Similar Discussions: Add library to fortran
  1. Fortran FFT library (Replies: 2)

Loading...