[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-gsl] How to install the GNU Scientific Library

From: John Lamb
Subject: Re: [Help-gsl] How to install the GNU Scientific Library
Date: Tue, 08 Mar 2005 18:24:14 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.2) Gecko/20040906

address@hidden wrote:
Hello, I'm new to the Linux environment. But I have recently been elected to maintain our Linux server. Can someone provide me with instruction on how to installed the GNU Scientific Library on a Linux box. Thank you in advance,

Download the latest version
$ tar zxvf gsl-1.6.tar.gz
$ cd gsl-1.6

Read the README/INSTALL files.

Generally I create a build directory parallel to the source and build as
$ cd build
$ CFLAGS="-march=pentium4 -O2 -mfpmath=sse -msse -msse2 -malign-double -Wall -pipe -Wno-long-long" ../gsl-1.6/configure --prefix=/usr -v
$ make
$ make check
# make install

You may find, esp. with recent versions or Red Hat and SuSE, that they come with GSL on RPMs on the DVD. These may be good enough unless you need the latest version or want to squeeze a bit more performance out, hence the "-march=pentium4 -O2 -mfpmath=sse -msse -msse2 -malign-double" above.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]