PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

CUDA-x86.

model crash with version pgf90 6.2-4 32-bit

 
Post new topic   Reply to topic    PGI User Forum Forum Index -> Debugging and Profiling
View previous topic :: View next topic  
Author Message
davidadams



Joined: 31 Oct 2006
Posts: 3
Location: San Diego, Ca and Manaus, Brazil

PostPosted: Mon Nov 06, 2006 1:45 pm    Post subject: model crash with version pgf90 6.2-4 32-bit Reply with quote

Hi group,
this is probably a straight-forward problem, but I am at a loss.
My relatively simple model code works fine on my AMD Athlon XP 3000 linux box (Red Hat 9.0) using pgf90 5.0.
I have moved the code to my laptop Intel Pentium M Processor 760 (Fedora Core 4, pgf90 6.2-4 32-bit) and the model blows up after a few time steps.

The code is indentical for both machines and it compiles in exactly the same manner on my laptop. Am I missing something in my pgf90 6.2-4 compiling line? Any suggestions where to look?

pgf90 -O2 -o main_program main_program.o utilities.o spec_core_driver.o constants.o transforms.o spherical_fourier.o spherical.o windows.o gauss_and_legendre.o grid_fourier.o fft.o fft99.o vert_coordinate.o update_atmosphere.o atmos_tendencies.o simple_physics.o spectral_damping.o implicit.o grid_dynamics.o matrix_invert.o vertical_advection.o spec_core_nml.o spectral_data_io.o


thanks,
Dave
Back to top
View user's profile
mkcolg



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

PostPosted: Tue Nov 07, 2006 2:23 pm    Post subject: Reply with quote

Hi Dave,

How does your model "blow up"? Does it seg fault, get a stack overflow, or get wrong answers? Does the error occur at "-O0 -g"?

Try running again, this time setting your stack size to 'unlimited'. If this doesn't try compiling with "-g" and running your code in the debugger (pgdbg).

- Mat
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    PGI User Forum Forum Index -> Debugging and Profiling 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