Compiling Muesli Fortran

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:

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

[1] MUESLI library homepage: http://people.irisa.fr/Edouard.Canot/muesli/

No comments:

Post a Comment