PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

CUDA-x86.

Unexpected character in output file on AMD64 cluster

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



Joined: 29 Mar 2005
Posts: 6

PostPosted: Fri Sep 16, 2005 8:11 am    Post subject: Unexpected character in output file on AMD64 cluster Reply with quote

Hi,

I am using PGI server(6.0.5) on fedora core4 (64bit).
The cluster use AMD Athlon64 processor.
When I try to run my own application, some weird things happened randomly.
The application is written with fortran 77 format.
Compile with pgf77 -Mextend -O2 -Mlfs -tp k8-32 option (pgi 64 version)and gave no error.
Also executed without any trouble.
But the output file contain some unexpected character in floating number.
Like
0.883 0.78q 0.389" 0.243
I use the format 11(f5.3,2x) to formatted output file.

However,
this weird thing is not happened all the time.
Sometimes it works perfectly, sometimes doesn't!

Any bugs with current PGI64 version?
Or OS issue?
I have patched the OS to newest updates.
Back to top
View user's profile
mkcolg



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

PostPosted: Fri Sep 16, 2005 10:35 am    Post subject: Reply with quote

Hi Danish,

As with most software, there are bugs with the 6.0 release. While this could be a new bug, non-deterministic behavior like this is most likely caused by either an UMR (uninitialized memory read), array bounds problem, or some other memory issue. Try compiling the program with the addition of "-Mbounds -Mchkfpstk" to see if these diagnositic flags turn up anything. Also valgrind is a useful tool to find memory issues.

If these don't help, is it possible to get a copy of the program so we can try and determine where the error occurs? If so, please contact trs@prgoup.com so we can coordinate how to get the program.

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