Questions tagged [fgsl]

Fortran wrapper for GSL (GNU Scientific Library)

4 questions
1
vote
1 answer

How to install FGSL in Ubuntu 20.04?

How to install FGSL in Ubuntu 20.04? I tried the following : Add key sudo apt install curl curl http://lvserver.ugent.be/apt/xmi.packages.key | sudo apt-key add - Add repo deb [arch=amd64] http://lvserver.ugent.be/apt/ubuntu focal…
Thuliyan
  • 39
  • 5
1
vote
1 answer

Passing external function and self-defined data type through type(c_ptr) dummy variable

I want to use the GSL with the Fortran interface FGSL in order to use the provided multiroots solver. In order to run the simulation I need to define the residual of the root finding problem. In the tests of FSGL there is this Rosenbrock…
Lithium
  • 113
  • 7
0
votes
1 answer

FGSL configuration with local install of GSL

I would like to use library fgsl, that depends on gsl. I have problem indicating where gsl is installed while configuring fgsl. I want to use the static version of these libraries. I can not use gsl library from Linux packages, these versions are…
Guillaume Jacquenot
  • 9,076
  • 5
  • 38
  • 47
-3
votes
1 answer

I have a piece of code written in fortran 90 output is different when I compile it different times

I use the same compiler (gfortran) and computer every time I compile it and I don't change the source code, but on different compilations it gives a completely different outcome. Sometimes a reasonable outcome and sometimes a wrong outcome. For…