PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

CUDA-x86.

Problem with code migration

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



Joined: 13 Jan 2005
Posts: 2

PostPosted: Thu Jan 13, 2005 1:12 am    Post subject: Problem with code migration Reply with quote

Hello,

I am now migration my fortran program from Digital Fortran of the Alpha station to PGF90 on linux. I can run the program but the results
are quite different (in the order of 1e-4 where magnitude the the variable is around 1000). Is there anyone had same problem before? And what would be the reason for this difference? Thanks a lot.

Also, I would like to ask if there's any ways to set the PGDBG GUI on Fedora Linux back to the same interface as Redhat 8.0?

Many thanks.
Back to top
View user's profile
mkcolg



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

PostPosted: Thu Jan 13, 2005 9:49 am    Post subject: Reply with quote

We have a FAQ about precision issues here. If you have a SSE2 enabled processor, you can use the "-Mscalarsse" flag to use SSE floating point operations instead of x87. This flag is automatically included when you use "-fastsse". SSE uses 64-bit floating point operations while x87 uses 80-bit operations. Using SSE instead of "-pc 64" or "-Kieee" will significantly improve your performance.

With the last release of PGDBG we added a Java interface so the look on Fedora and Redhat should be very similar (unless your Java versions are very different). You might have different versions of PGDBG which would also account for the different interfaces. We don't support the older Motiff interface any longer so there isn't a way to go back to it in the current release (5.2-4). If you prefer the new Java interface, then you'll need to update your installation.

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