gcc - BLAS-LAPACK-ATLAS-R installation with multithreading? -
i trying setup atlas, blas, lapack, , r on opensuse 12.2 server 8 core amd athlon fx-8320. have turned off cpu frequency scaling using cpufreq , script cfu paste.opensuse.org/92162247 made james mcdaniel.
so following instructions, here http://math-atlas.sourceforge.net/atlas_install/node45.html didn't need install gcc (that know yet) have gcc (suse linux) 4.7.1 20120723 installed, g++, , gfortran same version gcc.
the instructions make bogus configuration of atlas determine compiler flags use. atlas configured in instructions '../configure -b 64 -d c -dpentiumcps=2200 -fa alg -fpic'. modify think work setup ' ../configure -b 64 -t 8 -fa alg -fpic -a x86_64 -d c -dpentiumcps=3500 -si latune 1 --prefix=/usr/local/lib64 --with-netlib-lapack-tarfile=/opt/maths/lapack-3.4.2.tgz' these errors.
os configured linux (1) assembly configured gas_x8664 (2) vector isa extension configured avxmac (3,504) error: enum fam=6, chip=8, mach=0 make[3]: *** [atlas_run] error 44 make[2]: *** [irunarchinfo_x86] error 2 /bin/sh: line 1: 13849 segmentation fault ./xarchinfo_linux -a > config0.out make[3]: *** [atlas_run] error 139 make[2]: *** [irunarchinfo_linux] error 2 architecture configured unknownx86 (35) error: enum fam=6, chip=8, mach=0 make[3]: *** [atlas_run] error 44 make[2]: *** [irunarchinfo_x86] error 2 clock rate configured 3500mhz parallel make command configured '$(make) -j 8' error: enum fam=6, chip=8, mach=0 make[3]: *** [atlas_run] error 44 make[2]: *** [irunarchinfo_x86] error 2 cannot detect cpu throttling. atlas makes make.inc , if fgrep f77 , f77 flags 'gfortran-4.7' , '-o -mavx -fpic -m64'. maybe -mavx flag handles avxmac error? need -mavx? proceed instructions...
(not real answer, difficult read comment):
a few more considerations on dirk's recommendation use openblas.
i use openblas (on ubuntu , centos systems).
one consideration important me on 8 , 12 core machines openblas allows dynamic setting of number of threads use, atlas doesn't. in order set number of threads dynamicall within r, use simon fuller's openblasthreads.
openblas pretty straightforward build on both systems.
binary .deb packages available, last time checked them, had maximum possible number of threads set 2. however, going change. till now, build library source on ubuntu machines > 2 cores.
Comments
Post a Comment