PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

Free OpenACC Course

Error with bulldozer instruction set

Post new topic   Reply to topic    PGI User Forum Forum Index -> Licenses and Installation
View previous topic :: View next topic  
Author Message

Joined: 06 Nov 2008
Posts: 42
Location: Carleton University

PostPosted: Tue Jan 24, 2012 12:18 pm    Post subject: Error with bulldozer instruction set Reply with quote

I recently received a CentOS 5.7 box with some AMD Opteron processors with the bulldozer instruction set.

At first I could not compile anything with pgi ( ), but then after installing gcc 4.6 and binutils 2.2 (in my home directory) I've now been able to compile.

I can't seem to run anything though:

matt@sahand:tmp$ rm -f a.out; pgfortran -V test.f90 ; ./a.out

pgfortran 11.10-0 64-bit target on x86-64 Linux -tp bulldozer
Copyright 1989-2000, The Portland Group, Inc.  All Rights Reserved.
Copyright 2000-2011, STMicroelectronics, Inc.  All Rights Reserved.
PGF90/x86-64 Linux 11.10-0

Illegal instruction

where test.f90 is simply a print hello world.

I've ever re-run the makelocalrc while specifying with my version of gcc can be found, to ensure it's using 4.6:


set LFC=-lg2c;
set LDSO=/lib64/;
set GCCDIR=/opt/home/matt/local/lib/gcc/x86_64-unknown-linux-gnu/4.6.2;
set GCCINC=/opt/home/matt/local/lib/gcc/x86_64-unknown-linux-gnu/4.6.2/include;
set G77DIR=/usr/lib/gcc/x86_64-redhat-linux/3.4.6/;
set OEM_INFO=64-bit target on x86-64 Linux $INFOTPVAL;
set EXTENSION=__extension__=;
set LC=$if(-Bstatic,-lgcc -lgcc_eh -lc -lgcc -lgcc_eh -lc, -lgcc -lc -lgcc);
# GLIBC version 2.5
# GCC version 4.6.2
set GCCVERSION=40602;
# makelocalrc executed by matt Mon Jan 23 04:22:20

LDSO doesn't look great but the rest looks right, could that be the problem?

Right now I've been using the istanbul instruction set to build everything, but I would like to use the newest one on the possibility that it might speed things up.

Back to top
View user's profile

Joined: 30 Jun 2004
Posts: 6255
Location: The Portland Group Inc.

PostPosted: Fri Feb 03, 2012 2:46 pm    Post subject: Reply with quote

Hi khea_actua1,

As best as I can tell, CentOS didn't support AVX until version 6.2. Granted, I can't find anything specific on there website, the following post from June 11, 2011 on states:
We have confirmed that AVX code won't run on CentOS 5.6. As Red Hat 6.1
(recently finalized) is meant to have full support for AVX, we
anticipate availability of CentOS 6.1. I guess 5.8 may have a degree of
AVX support.

Can you upgrade to CentOS 6.2?

- Mat
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    PGI User Forum Forum Index -> Licenses and Installation All times are GMT - 7 Hours
Page 1 of 1

Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Powered by phpBB © phpBB Group