julia compile on AMD

177 views
Skip to first unread message

jean-michel mercier

unread,
Feb 3, 2015, 9:05:56 AM2/3/15
to juli...@googlegroups.com
Hello,
When I use julia with AMD processors (CENTOS 6.6), my program is 4 times slower than the Intel processor. So I try to recompile julia with the following options:
OPENBLAS_TARGET_ARCH = BARCELONA
OPENBLAS_USE_THREAD = 0
I have this error when compiling:
gc.c: 40: error: flexible array member in struct Otherwise empty
make [2]: *** [gc.o] Error 1
make [2]: *** Waiting for unfinished jobs ...

Many tahnks for your help!

JM

Isaiah Norton

unread,
Feb 3, 2015, 10:08:15 AM2/3/15
to juli...@googlegroups.com

jean-michel mercier

unread,
Feb 3, 2015, 11:21:42 AM2/3/15
to juli...@googlegroups.com
Hello,
Yet I have a version of gcc is this:
gcc Version 4.4.7 20120313 (Red Hat 4.4.7-11) (CCG)
This version is above that recommended in the doc

Andreas Noack

unread,
Feb 3, 2015, 12:40:47 PM2/3/15
to juli...@googlegroups.com
Others know more about this, but it would probably be good if you could ude a more recent compiler. The old ones causes problems and it is not unlikely that the official requirement will be a newer one soon.

Milan Bouchet-Valat

unread,
Feb 3, 2015, 2:54:19 PM2/3/15
to juli...@googlegroups.com
Le mardi 03 février 2015 à 17:21 +0100, jean-michel mercier a écrit :
> Hello,
> Yet I have a version of gcc is this:
> gcc Version 4.4.7 20120313 (Red Hat 4.4.7-11) (CCG)
> This version is above that recommended in the doc
Yes, in the referenced issue we're currently wondering whether we should
fix the docs or the code.

Anyway, on RHEL6 you can use the devtoolset, which provides very recent
compilers. Red Hat provides one if you're under contract, and a free
version is available from:
http://linux.web.cern.ch/linux/devtoolset/


Regards
Reply all
Reply to author
Forward
0 new messages