NASA’s JPL releases Two Math Libraries

Standard

NASA’s Jet Propulsion Laboratory (JPL) has released two large math libraries under an open source (BSD) license. Via Degenerate Conic:

“MATH77 is a library of Fortran 77 subroutines implementing various numerical algorithms. It was developed over decades at JPL, and contains some very high-quality and time-tested code. The code is released under a BSD-type license. There is also a C version for people who love semicolons.”

This goldmine includes basic mathematical functions, random number generators, linear algebra routines, solvers for systems of nonlinear equations, curve fitting, interpolation, and quadrature routines, and much more. The libraries are available at Netlib and are accompanied by 619 pages of detailed documentation.

[via jblevins.org]

Fortran Wiki

Advertisement

The History of FORTRAN

Standard
Interviews with the original developers of FORTRAN back in the 1950s.

other source: http://www.fortranlib.com/FORTRAN-1982.wmv

Compiling Muesli Fortran

Standard

Here is the code you need to compile and install the free numerical and graphical MUESLI library, developed by Édouard Canot [1].

sudo apt-get install 'libatlas-dev liblapack-dev zlib1g-dev libreadline6-dev imagemagick  
libx11-dev libpng12-dev g++ gfortran' #installing dependencies
 Note: for Ubuntu 10.04 replace “libatlas-dev” by “libatlas-headers”)
tar xvfj muesli-linux-all-2.6.3_2012-05-03.tar.bz2 #untar

cd muesli-linux-all-2.6.3_2012-05-03/GNU_GFC
./configure --f90=gfortran --blas=/usr/lib/ --lapack=/usr/lib/lapack/ #configuring

make -s distclean #clean your distribution from previous installation
make -s (or for detailed output: make MODE=verbose) #compiling; this will take some time

cd tests #testing
make #make the test files
./run_all #run all the made test files

cd ..
make install #installing

cd tests/fgl #testing fgl
make #make the test files
./run_all #run all the made test files


And here’s a video on how to do that [1]:

For further help, please contact MUESLI’s author from the respective homepage [2].

==========================
[1] http://playterm.org/r/compiling-muesli-fortran-on-ubuntu-1336936852
[2] MUESLI library homepage: http://people.irisa.fr/Edouard.Canot/muesli/