help-octave
[Top][All Lists]
Advanced

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

Buidling Octave with ATLAS, FFTW, BLAS, LAPACK and following with forge


From: Donat-Pierre Luigi
Subject: Buidling Octave with ATLAS, FFTW, BLAS, LAPACK and following with forge Octave on Cygwin
Date: Fri, 12 Nov 2004 01:23:51 -0800

A week ago, I emailed the list about building Octave and Forge Octave using ATLAS, FFTW and LAPACK on a Cygwin with gcc 3.3.3 (see below for details), and I did not hear back from anyone.   The question should have been first can ./configure prepare the required makefile to build octave and then forge octave using these libraries.  ATLAS-3.6.0, LAPACK (using ATLAS), BLAS derived from ATLAS and FFTW-3.0.1 are all already compiled (see my previous email to the list below).

It seems that ./configure fails to detect these libraries/package.  Out of frustration I added few extra options.  I am not a seasoned C programmer so I am not clear on the good use of al the compilation option, e.g. --enable-static or not.

Here is the syntax I use, (out

$  ./configure --enable-shared --enable-static=yes --libdir=/usr/local/lib --with-blas=/usr/local/lib/libf77blas.a --with-lapack=/usr/local/lib/liblapack.a --w
ith-atlas=yes --with-fftw3=yes

 

And here is the end of the standard output from ./configure:

config.status: config.h is unchanged


Octave is now configured for i686-pc-cygwin

  Source directory:     .
  Installation prefix:  /usr/local
  C compiler:           gcc  -mieee-fp  -Wall -W -Wshadow -g -O2
  C++ compiler:         g++  -mieee-fp  -Wall -W -Wshadow -g -O2
  Fortran compiler:     g77 -O
  Fortran libraries:     -L/usr/lib/gcc-lib/i686-pc-cygwin/3.3.3 -L/usr/lib/gcc-lib/i686-pc-cygwin/3.3.3/../../.. -lm -lfrtbegin -lg2c -lcygwin -luser32 -lkerne
l32 -ladvapi32 -lshell32
  BLAS libraries:
  FFTW libraries:
  HDF5 libraries:
  MPI libraries:
  LIBS:                 -lreadline  -ltermcap -lwsock32 -lm
  Default pager:        less
  gnuplot:              pgnuplot

  Do internal array bounds checking:  false
  Build static libraries:             true
  Build shared libraries:             true
  Dynamic Linking:                    true (dlopen)
  Include support for GNU readline:   true


address@hidden /usr/src/octave-2.1.58

 

I don't mind installing 2.1.61 if it helps.  Also, if you are further comments about installing octave forge, it will be my next step.

 

Thank you in advance for your help,

 

Donat-Pierre LUIGI, Ph.D.

Research Associate
Institute for Creative Technologies
University of Southern California
13274 Fiji Way                          desk: 310-574-1620
Marina Del Rey, CA 90292          fax: 310-574-5725

 

-----Original Message-----
From: Donat-Pierre Luigi
Sent:
Monday, November 01, 2004 12:49 AM
To: address@hidden
Subject: Buidling Octave with ATLAS, FFTW, BLAS, LAPACK and following with forge Octave on Cygwin

 

I am new to Octave and it has been many years since I last was using a UNIX and/or UNIX-like OS environment.  So far I compiled ATLAS-3.6.0, LAPACK (using ATLAS), BLAS derived from ATLAS and FFTW-3.0.1 on Cygwin, (Windows 2000, and Pentium IV).  Gnuplot was installed from cygwin package, and  according to gnuplot -V
its version is gnuplot 4.0 patchlevel 0.

 

I would to uses with Octave 2.1.57 or 2.1.58.  Although all this libraries are now linked in my /usr/local/lib, ./configure does not seem to detect them.  I could use the following:

$ ./configure --enable-shared --disable-static --libdir=/usr/local/lib --with-blas=/usr/local/lib/libf77blas.a --with-lapack=/usr/local/lib/liblapack.a --enable-atlas

 

but I am not sure which blas libraries shall I put (i.e. just libf77blas.a, or also libcblas.a) and how to point to ATLAS libraries either.

 

Here is the 

$ ls -alF /usr/local/lib
total 800
drwxrwxrwx+   4 luigi    mkgroup-     4096 Oct 31
15:31 ./
drwxrwxrwx+  10 luigi    mkgroup-     4096 Oct 25 12:04 ../
lrwxrwxrwx    1 luigi    mkgroup-       10 Oct 31 15:26 libatlas.a -> libatlas.a
lrwxrwxrwx    1 luigi    mkgroup-       10 Oct 31 15:28 libcblas.a -> libcblas.a
lrwxrwxrwx    1 luigi    mkgroup-       12 Oct 31 15:28 libf77blas.a -> libf77blas.a
-rw-r--r--    1 luigi    mkgroup-   809414 Oct 26 22:27 libfftw3.a
-rwxr-xr-x    1 luigi    mkgroup-      657 Oct 26 22:27 libfftw3.la*
lrwxrwxrwx    1 luigi    mkgroup-       15 Oct 31 15:30 liblapack.a -> lapack_CYGWIN.a
lrwxrwxrwx    1 luigi    mkgroup-       15 Oct 31 15:31 libtmg.a -> tmglib_CYGWIN.a
lrwxrwxrwx    1 luigi    mkgroup-       13 Oct 31 15:28 libtstatlas.a -> libtstatlas.a
drwxr-xr-x+   2 luigi    mkgroup-        0 Oct 31 20:18 octave-2.1.57/
drwxr-xr-x+   2 luigi    mkgroup-        0 Oct 26 22:27 pkgconfig/

 

Before, I bury myself into more confusion, could someone could briefly explain the correct syntax and steps to proceed from now to build octave and octave forge (say 2.1.58)?

 

Gnuplot did not seem to work with my previous install of octave 2.1.57, even though the related octaverc was edited with commands like gnuplot_binary=gnuplot.  Does this mean I should compile gnuplot from source instead?

 

I look forward to your comments and can't wait to use Octave for signal processing.

 

Many thanks in advance.

Donat-Pierre 


reply via email to

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