|
| View previous topic :: View next topic |
| Author |
Message |
davidadams
Joined: 31 Oct 2006 Posts: 3 Location: San Diego, Ca and Manaus, Brazil
|
Posted: Mon Nov 06, 2006 1:45 pm Post subject: model crash with version pgf90 6.2-4 32-bit |
|
|
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 |
|
 |
mkcolg
Joined: 30 Jun 2004 Posts: 5001 Location: The Portland Group Inc.
|
Posted: Tue Nov 07, 2006 2:23 pm Post subject: |
|
|
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 |
|
 |
|
|
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 © 2001, 2002 phpBB Group
|