help-gsl
[Top][All Lists]
Advanced

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

[Help-gsl] x8664 cflags blas/lapack lnking


From: luxInteg
Subject: [Help-gsl] x8664 cflags blas/lapack lnking
Date: Thu, 6 Jan 2011 23:20:55 +0000
User-agent: KMail/1.13.5 (Linux/2.6.34.0nbf9aDRIm; KDE/4.4.5; x86_64; ; )

Greetings 

I am planning on having a go at compiling   gsl  The machine has these:-

---cpu -amd64 2 cores
---os -64-bit cblfs linux with gcc-4.4.2
---blas:- atlas3.9.32 and lapack-3.2.2

i did a trial run  compiling gls-1.14.  I noticed  lines like these
"libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I.. -O3 - ........
  -MT sasum.lo -MD -MP -MF .deps/sasum.Tpo -c sasum.c " in the compiler 
output.

I have compiled atlas3.9.(23-32)    and the corresponding  output from atlas 
for cblas seems to have more compiler optimisation 
see below for the same  file  "sasum.c" in the cblas part of the  application.  
    


 


-DAdd_ 
-DF77_INTEGER=int 
-DStringSunStyle 
-DATL_OS_Linux 
-DATL_ARCH_AMD64K10h 
-DATL_CPUMHZ=2800 
-DATL_SSE3 
-DATL_SSE2 
-DATL_SSE1 
-DATL_3DNow 
-DATL_USE64BITS 
-DATL_GAS_x8664 
-DPentiumCPS=2900 
-DATL_DYLIBS 
-DATL_FULL_LAPACK 
-DATL_NCPU=2 
-fomit-frame-pointer 
-mfpmath=sse 
-msse3 
-O2 
-falign-loops=32 
-fPIC -m64 -fPIC -DATL_USEPTHREADS 


I would like to know  
a) if there   ae recommended cflags for compiling gsl(-1.14)
b) recommended procedures if any for linking to lapack and atlas libraries  
c) recommended  procedures of linking to   blas and threaded blas  (I have 
libcblas/libptcblas and libf77blas/libptf77blas.

thanks in advance.

sincerely
lux-integ



reply via email to

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