PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

Free OpenACC Webinar

13.9 pgf95 -g generates bad assmbly instruction in OpenSuSE

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



Joined: 18 Jun 2010
Posts: 9

PostPosted: Tue Oct 08, 2013 8:31 am    Post subject: 13.9 pgf95 -g generates bad assmbly instruction in OpenSuSE Reply with quote

When using either the 13.2 or 13.9 pgf95 compiler on 11.4 or 12.2 OpenSuSE, I can not compile some F90 code in debug. I get an error in the assembly step:

pgf95 -DETHOS_OS=1005 -DLINUX=1005 -DFFT=MKL -DUSE_LICENSE -Mlarge_arrays -fPIC -Mlfs -Mnomain -Minform=inform -Mlist -Minfo=all,ccff -Manno -Mkeepasm -Mneginfo -g -I./ -I/users/richard/Geok/gksvn/ethos/include -I/usr/local/gkbase/common/2.12.0.b2/mkl/include -I/usr/local/flexnet/flexnet_11.6/machind -I/usr/local/intel/mkl/11.0.5.192/include -c -o Linux_3.4_64/source.o source.f90
Linux_3.4_64/source.s: Assembler messages:
Linux_3.4_64/source.s:142: Error: operand type mismatch for `vcvttss2si'
gmake: *** [Linux_3.4_64/source.o] Error 2

This code compiles and runs when I remove the -g and add the optimization flags.
Back to top
View user's profile
mkcolg



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

PostPosted: Tue Oct 08, 2013 10:59 am    Post subject: Reply with quote

Hi RichardVerm29401,

Can you send to PGI Customer Support (trs@pgroup.com) the "source.s" file? Also, which assembler version are you using ("as --version")?

Thanks,
Mat
Back to top
View user's profile
RichardVerm29401



Joined: 18 Jun 2010
Posts: 9

PostPosted: Tue Oct 08, 2013 12:46 pm    Post subject: Reply with quote

Hi Mat,

I just sent you the source.s
Back to top
View user's profile
RichardVerm29401



Joined: 18 Jun 2010
Posts: 9

PostPosted: Tue Oct 08, 2013 5:12 pm    Post subject: Reply with quote

Thanks, fixing the bad array declaration I missed got it to compile.
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