PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

CUDA-x86.

PGFTN-S-0034 Syntax error

 
Post new topic   Reply to topic    PGI User Forum Forum Index -> Debugging and Profiling
View previous topic :: View next topic  
Author Message
sarvinmoghaddam



Joined: 14 Nov 2007
Posts: 8

PostPosted: Mon Jan 14, 2008 9:17 am    Post subject: PGFTN-S-0034 Syntax error Reply with quote

Deal All,

I am trying to compile a code using pgf77 in Unix (for the first time!)

I get this error:

PGFTN-S-0034 Syntax error at or near end of line ( ... )

I was wondering if anybody has seen this error and is there any place that I can search for the source of different errors.

Thanks ain advance!
Sarvin
Back to top
View user's profile
hongyon



Joined: 19 Jul 2004
Posts: 551

PostPosted: Mon Jan 14, 2008 9:30 am    Post subject: Reply with quote

Hi Sarvin,

Is it possible to post a file here? Check the length of each line or use -Mextend if it is longer than 73.

Hongyon
Back to top
View user's profile
sarvinmoghaddam



Joined: 14 Nov 2007
Posts: 8

PostPosted: Mon Jan 14, 2008 9:40 am    Post subject: PGFTN-S-0034 Syntax error Reply with quote

Hi Hongyon,

Thanks for your reply. But May I ask which file do you want me to send?

And I didn't understand exactly what you mean by the length of the lines?

Do you mean the length of the line in my "make" file should not be more than 75 characters. Sorry if my questions seem to simple. All my career I have been using Visual Fortran!

Thanks a lot!
Sarvin
Back to top
View user's profile
hongyon



Joined: 19 Jul 2004
Posts: 551

PostPosted: Mon Jan 14, 2008 10:17 am    Post subject: Reply with quote

Hi Savin,

The error seems to come from a source file, not makefile. There should be at least one source file that gives this error.

To make sure a file gives you an error, you can try command line:
pgf77 mysource.f -c.

The line length is for source file. -Mextend will allow up to 132 characters.

Hongyon
Back to top
View user's profile
sarvinmoghaddam



Joined: 14 Nov 2007
Posts: 8

PostPosted: Mon Jan 14, 2008 11:44 am    Post subject: PGFTN-S0# error Reply with quote

Hi Hongyon,

thanks for your reply.

Regards,
Sarvin
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
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