PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

Free OpenACC Webinar

Open Statement Syntax?
Goto page Previous  1, 2
 
Post new topic   Reply to topic    PGI User Forum Forum Index -> Debugging and Profiling
View previous topic :: View next topic  
Author Message
avemuri@epri.com



Joined: 10 Sep 2008
Posts: 2
Location: Palo Alto,CA

PostPosted: Tue Sep 30, 2008 3:16 pm    Post subject: PGF90-S-0034-Syntax error Reply with quote

Hello

I am trying to compile the following lines and get the PGF90-S-0034-Syntax error. I am not sure what the error means.

95 C Include Files
96
97 INCLUDE SUBST_MPICH ! MPI definitions and parameters
98 INCLUDE SUBST_IODECL ! I/O definitions and declarations
99 INCLUDE SUBST_PACTL_ID ! PA control parameters
PGF90-S-0034-Syntax error at or near identifier subst_mpich (par_init.F: 97)
0 inform, 0 warnings, 1 severes, 0 fatal for par_init
Back to top
View user's profile
mkcolg



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

PostPosted: Tue Sep 30, 2008 3:29 pm    Post subject: Reply with quote

Hi avemuri,

The file names after an INCLUDE directive are character constants so need to be quoted.

However, the names of the files suggest to me that these are macros so perhaps the file isn't being preprocessed? What happens if you add the flag "-Mpreprocess" to your compilation?

Hope this helps,
Mat
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    PGI User Forum Forum Index -> Debugging and Profiling All times are GMT - 7 Hours
Goto page Previous  1, 2
Page 2 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