PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

Free OpenACC Webinar

Assembler error for pgf77 and pgf90

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



Joined: 25 Jun 2005
Posts: 1

PostPosted: Sat Jun 25, 2005 3:27 pm    Post subject: Assembler error for pgf77 and pgf90 Reply with quote

For even the simplest fortran programs I always get the following assembler error messages upon compiling any *.f program that otherwise works for g77 or f77:

/tmp/gfp77zK1tAL.s: Assembler messages:
/tmp/pgf77zK1tAL.s:12: Error: suffix or operands invalid for 'push'
/tmp/pgf77zK1tAL.s:47: Error: suffix or operands invalid for 'pop'

and for pgf90:

/tmp/gfp90zK1tAL.s: Assembler messages:
/tmp/pgf90zK1tAL.s:23: Error: suffix or operands invalid for 'push'
/tmp/pgf90zK1tAL.s:70: Error: suffix or operands invalid for 'pop'

The code will compile with the -S option to produce a *.s file, but it will neither assemble nor link under any option or no option specified.

The versions of pgf77 and pgf90 are:

/usr/pgi/linux86/5.1/bin/pgf77 and
/usr/pgi/linux86/5.1/bin/pgf90 respectively.



Thanks

miltie
Back to top
View user's profile
mkcolg



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

PostPosted: Mon Jun 27, 2005 10:14 am    Post subject: Reply with quote

Hi Milte,

While this type of code generator bug can occur, it usually only happens with very high optimization and very few source code are effected. Since it happens with any fortran program you compile, its more likely a configuration or installation issue.

What OS are you using? What optimization are you using? Can you compile one of your simple programs with "-v" and post the output?

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