[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-gsl] x8664 cflags blas/lapack lnking
From: |
John Chludzinski |
Subject: |
Re: [Help-gsl] x8664 cflags blas/lapack lnking |
Date: |
Thu, 6 Jan 2011 17:58:35 -0500 |
Are you targeting Windows or Linux/Unix? If Windows, MinGW or VC++? If
Window+MinGW, why not download the binaries and avoid the pain of compiling?
http://ascendwiki.cheme.cmu.edu/Binary_installer_for_GSL-1.13_on_MinGW
---John
On Thu, Jan 6, 2011 at 6:20 PM, luxInteg <address@hidden> wrote:
> 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
>
> _______________________________________________
> Help-gsl mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/help-gsl
>