PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

Free OpenACC Webinar

PG compilation/execution problems, works fine in UNIX system
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
mkcolg



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

PostPosted: Thu Mar 09, 2006 8:50 am    Post subject: Reply with quote

Hi Jack,

I'm glad you found the problem. Using "CONVERT" is better if you're mixing the endianess of your files or if you want to be explicit about the file's data format. Using "-Mbyteswapio" converts all file IO to big-endian which can be a problem if you're output needs to be little-endian. However, "-Mbyteswapio" is more portable since no source code change is needed and your binary data will still be compatible with the UNIX system. Use whatever's best for your situation.

Also, thanks for the compliment! We do appreciate it.

- 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