Add Library to Fortran - Learn How to Launch Free Libraries

  • Context: Fortran 
  • Thread starter Thread starter astroastro
  • Start date Start date
  • Tags Tags
    Fortran
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
7 replies · 2K views
astroastro
Messages
5
Reaction score
0
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?
 
on Phys.org
astroastro said:
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?
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/
 
SteamKing said:
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/
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?
 
astroastro said:
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?

How much experience do you have using libraries with Fortran? What Fortran compiler are you using to build the FGSL library?
 
SteamKing said:
What Fortran compiler are you using to build the FGSL library?

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.
 
SteamKing said:
How much experience do you have using libraries with Fortran? What Fortran compiler are you using to build the FGSL library?
actually none I just started learning fortran about 3 weeks
 
jtbell said:
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.
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