[MITgcm-support] Executable fails, message: Trace/BPT trap: 5

Rogan, Nicholas N.Rogan at liverpool.ac.uk
Fri Feb 22 06:01:36 EST 2013


Apologies, i missed the opt file:


#!/bin/bash

# $Header: /u/gcmpack/MITgcm/tools/build_options/darwin_ia32_gfortran,v 1.2 2006/12/05 22:15:42 heimbach Exp $
#
# tested on MacBook Pro
# on 28-Nov-2006
#
# Modified for iMac9,1 OSX 10.5.8 on 11th July 2012
#

CPP='/usr/bin/cpp -traditional -P'
FC=gfortran
CC=gcc
LINK=${FC}
NOOPTFLAGS='-O0'

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

#  For IEEE, use the "-ffloat-store" option
if test "x$IEEE" = x ; then
    #FFLAGS='-Wunused -Wuninitialized -fsecond-underscore -fconvert=big-endian -fbacktrace'
    FFLAGS='-Wuninitialized -fno-second-underscore -fconvert=big-endian -fbacktrace'
    FOPTIM='-O3 -funroll-loops'
else
    FFLAGS='-ffloat-store -fsecond-underscore -fconvert=big-endian -fbacktrace'
    FOPTIM='-O0'
fi

S64='$(TOOLSDIR)/set64bitConst.sh'
DEFINES='-DWORDLENGTH=4 -DNML_TERMINATOR'
INCLUDEDIRS='/usr/local/netcdf/include'
INCLUDES="-I/usr/local/netcdf/include"
LIBS="-L/usr/local/netcdf/lib -lnetcdf -lnetcdff"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mitgcm.org/pipermail/mitgcm-support/attachments/20130222/ae7515f5/attachment-0001.htm>


More information about the MITgcm-support mailing list