Hi Bart,

On 07/08/15 11:28, Bart Oldeman wrote:

> the default does not set --with-arch but many easybuilds use it via
> the optarch setting.

Thanks so much for that - I went and checked the GCC build I'd already
done and found that it does indeed appear to not work as expected, the
logic seems to be there and appears to trigger when run with:

[samuel@qan02 ~]$ eb GCC-4.9.2.eb -f

The logs say:

== 2015-08-07 13:58:27,549 main INFO Command line: 
--buildpath=/usr/local/easybuild/build --force 
--installpath=/usr/local/easybuild --modules-tool=Lm
od --optarch=native --prefix=/usr/local/easybuild 
--repositorypath=/usr/local/easybuild/ebfiles_repo 
--robot-paths=/usr/local/src/INTEL:/usr/local/eas
ybuild/local-easybuild/: --sourcepath=/usr/local/easybuild/sources 
--tmpdir=/dev/shm GCC-4.9.2.eb
[...]
== 2015-08-07 13:58:28,086 main.Dummy INFO _set_optimal_architecture: using 
native as optarch for Intel.

But the GCC configure line generated does not have -march=native:

== 2015-08-07 13:58:55,651 main.run INFO cmd " ../configure   
--enable-languages=c,c++,fortran --enable-lto --enable-checking=release  
--disable-multilib --enable-shared=yes --enable-static=yes  
--enable-threads=posix  --enable-gold=default --enable-plugins  --enable-ld 
--with-plugin-ld=ld.gold  --enable-bootstrap 
--prefix=/usr/local/easybuild/software/GCC/4.9.2 
--with-local-prefix=/usr/local/easybuild/software/GCC/4.9.2" exited with 
exitcode 0 and output:

I guess I'll wait for the build to complete and check it out.

cheers,
Chris
-- 
 Christopher Samuel        Senior Systems Administrator
 VLSCI - Victorian Life Sciences Computation Initiative
 Email: [email protected] Phone: +61 (0)3 903 55545
 http://www.vlsci.org.au/      http://twitter.com/vlsci

Reply via email to