PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

Free OpenACC Webinar

source line to long
Goto page Previous  1, 2
 
Post new topic   Reply to topic    PGI User Forum Forum Index -> Programming and Compiling
View previous topic :: View next topic  
Author Message
Guil2ome



Joined: 22 Feb 2006
Posts: 1

PostPosted: Wed Feb 22, 2006 8:24 am    Post subject: Re: RE: macro problems Reply with quote

[/quote]
2. using the fpp-Precompiler (that breaks the lines at sign 132 with "&")
fpp -D"PGI" source.F90 > source.pr.F90
pgf90 -C -c -Mextend -o source.pr.o source.pr.F90
[/quote]

Hello,

I got the same problem, but "source line too long",
because I have approximatly 1000 caracter on one line.
But I can't make work the fortran preprocessor who cut the line.
I try pgf90 -Mcpp and/or pgf90 -Mpreprocess, but nothing work.
And fpp is not installed on the machine.
Do you have some idea ?

Thank by advance,
Gui.
Back to top
View user's profile
mkcolg



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

PostPosted: Wed Feb 22, 2006 12:46 pm    Post subject: Reply with quote

Hi Gui,

As you probably know, the 132 character per line limit is a limitation of the Fortran language. However, having the preprocessor break long lines is a good solution so I'll put a feature request in to see if we can add this to our preprocessor.

Unfortunately, I don't know which "fpp" lutz used (there are many of them) and when I did a search, I didn't see any that supported it. Does anyone else know which fpp supports line wrapping?

Thanks,
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
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