PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

CUDA-x86.

PGC-S-0204-Actual parameters too long for ...

 
Post new topic   Reply to topic    PGI User Forum Forum Index -> Programming and Compiling
View previous topic :: View next topic  
Author Message
Paul H. Hargrove



Joined: 11 Apr 2005
Posts: 4

PostPosted: Tue Apr 12, 2005 11:50 am    Post subject: PGC-S-0204-Actual parameters too long for ... Reply with quote

I am presently unable to compile the test suite for our software with pgcc because I see the following

Code:
PGC-S-0204-Actual parameters too long for TIME_OPERATION (/home/pcp1/phargrov/UPC/upcr/gasnet/tests/testmisc.c: 318)
PGC-S-0204-Actual parameters too long for TIME_OPERATION (/home/pcp1/phargrov/UPC/upcr/gasnet/tests/testmisc.c: 318)
[SAME LINE MANY MORE TIMES]
PGC-S-0204-Actual parameters too long for TIME_OPERATION (/home/pcp1/phargrov/UPC/upcr/gasnet/tests/testmisc.c: 318)
PGC-F-0008-Error limit exceeded (/home/pcp1/phargrov/UPC/upcr/gasnet/tests/testmisc.c)
PGC/x86 Linux/x86 6.0-2: compilation aborted


We use the preprocessor to build some test cases (timed in this case), and pgi-6.0 appears unable to deal with the size of the arguments.

Are there any suggested (realistic) workarounds?

-Paul
Back to top
View user's profile
mkcolg



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

PostPosted: Wed Apr 13, 2005 10:39 am    Post subject: Reply with quote

Hi Paul,

You've come across a hard limit in the compiler. The total length of the parameters in a macro call can not exceed 2048 characters. I don't know how realistic this, but the only solution is reduce the number of characters you use.

- Mat
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    PGI User Forum Forum Index -> Programming and Compiling 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