PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

CUDA-x86.

Problems with initial compilation of C++ application
Goto page 1, 2  Next
 
Post new topic   Reply to topic    PGI User Forum Forum Index -> Licenses and Installation
View previous topic :: View next topic  
Author Message
Mark McKenna



Joined: 11 Dec 2005
Posts: 5

PostPosted: Sun Dec 11, 2005 10:53 pm    Post subject: Problems with initial compilation of C++ application Reply with quote

Hi there.

I'm currently developing a translational tool which takes input in the form of an intermediate representation for Prograph code with parallel annotations, and produces it as C++ with OpenMP annotations.

I've developed it to the point where it generates valid sequential code (compiling with GCC 3.4.4), and it also appears as though pgCC accepts the code as well (both sequential and parallel versions).

Anyway, I've just installed the amd64 version of your product on my Linux box running Gentoo, and I get the following error when I try to compile the file:

$ pgCC pi.par.pgir.cpp
"pi.par.pgir.cpp", line 39: warning: variable "r17" was set but never used
int r17; //MAKEVAR
^

NOTE: your evaluation license will expire in 14 days, 22.9 hours.
For a permanent license, please read the order acknowledgement
that you received. Connect to https://www.pgroup.com/License with
the username and password in the order acknowledgement.

Name: "Mark McKenna"
User: lanatha
Email: mckenna@cs.dal.ca
Hostid: PGI=0013D4E0B440FF132D03E0
/usr/local/opt/pgi/linux86-64/6.0/lib/libstd.a: could not read symbols: File format not recognized

...the last one, not the first. I know why that's happening :)

It appears to be complaining that one of the files in your distribution doesn't have the right format; however the archive is valid according to ar.

Anyway... any ideas?

Thanks very much in advance.
Back to top
View user's profile
mkcolg



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

PostPosted: Mon Dec 12, 2005 10:16 am    Post subject: Reply with quote

Hi Mark,

I think it's the same problem we've been having with SuSE 10. The binutils (ld, as, objdump, nm, etc) default behavior has changed to always do a processor specific type check on all non-user defined sections of an object. Since IPA information is stored in one of these sections, the binutlis no longer accept objects containing IPA information. We've fixed this problem for the upcoming 6.1 release and have issued a patch ftp://ftp.pgroup.com/x86/linux86-patches/suse10_patch.tar.gz for the 6.0-8 release.

Hope this helps,
Mat
Back to top
View user's profile
Mark McKenna



Joined: 11 Dec 2005
Posts: 5

PostPosted: Mon Dec 12, 2005 10:32 am    Post subject: Reply with quote

mkcolg wrote:
Hi Mark,

I think it's the same problem we've been having with SuSE 10. The binutils (ld, as, objdump, nm, etc) default behavior has changed to always do a processor specific type check on all non-user defined sections of an object. Since IPA information is stored in one of these sections, the binutlis no longer accept objects containing IPA information. We've fixed this problem for the upcoming 6.1 release and have issued a patch ftp://ftp.pgroup.com/x86/linux86-patches/suse10_patch.tar.gz for the 6.0-8 release.

Hope this helps,
Mat


Well, I assume it does; however that link you posted doesn't work. I'm currently looking around the website for something like it, but I haven't seen it yet.

Thanks,
Mark
Back to top
View user's profile
mkcolg



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

PostPosted: Mon Dec 12, 2005 10:50 am    Post subject: Reply with quote

Hi Mark,

Sorry about that. I thought our IT person had posted it already but it looks like he hasn't done it yet. I'll send you the patch via email and press John to get the patch posted.

- Mat
Back to top
View user's profile
Mark McKenna



Joined: 11 Dec 2005
Posts: 5

PostPosted: Mon Dec 12, 2005 10:52 am    Post subject: Thanks! Reply with quote

Okay, thanks very much! I really appreciate it... the deadline quickly looms, and I was concerned I wouldn't be able to test the output (we don't have a C++/OMP compiler available, just C, and I depend on pass-by-reference)
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
Goto page 1, 2  Next
Page 1 of 2

 
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