[MITgcm-support] Chasing a seg fault

Jody Klymak jklymak at uvic.ca
Fri Aug 10 15:31:31 EDT 2007


Hello,

I'm trying to get mitgcm running on a cluster of AIX machines at  
westgrid (IBM AIX) http://www.westgrid.ca/support/programming/robson.php

I can compile fine if I use the -ignoretime option for genmake2.

I get the segmentation fault after the zeroth mds write has  
completed, and after the MONITOR output has been written.  gdb  
indicates that the problem is in the first call to DO_OCEANIC_PHYS,  
and says:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 549765433280 (LWP 966)]
0x00000000100fd6f0 in do_oceanic_phys (mytime=Cannot access memory at  
address 0x200026c6070
) at do_oceanic_phys.f:424
424           SUBROUTINE DO_OCEANIC_PHYS(myTime, myIter, myThid)

My build options file is below....

The exact model setup runs fine on an OSX machine, but under g77, if  
that makes a difference.

Thanks for any pointers on what I may have done wrong.

Cheers,  Jody

 >>> robson<<<

#!/bin/bash
#
#  $Header: /u/gcmpack/MITgcm/tools/build_options/sp4+mpi,v 1.3  
2005/12/22 01:38:05 ce107 Exp $
#

#  tested on bluesky, ce107 Dec 2005
#  using the following invocation:
#    ../../../tools/genmake2 -mods=../code -of=../../../tools/ 
build_options/sp4 -make=gmake

S64='$(TOOLSDIR)/set64bitConst.sh'
MAKEDEPEND=makedepend
DEFINES='-DWORDLENGTH=4'

INCLUDES=''
CPP='/usr/bin/cpp -traditional -P'
CC='xlc'
FC='xlf95'
LINK='xlf95'
LIBS=''
FFLAGS='-qfixed=132 -q64 -g'

FOPTIM='-q64  -Q -qarch=auto'
CFLAGS='-q64  -Q -qarch=auto -g'

FC_NAMEMANGLE="#define FC_NAMEMANGLE(X) X ## _"




--
Jody Klymak
http://web.uvic.ca/~jklymak/





More information about the MITgcm-support mailing list