[MITgcm-support] ranger build options

Samar Khatiwala spk at ldeo.columbia.edu
Mon Sep 15 16:05:26 EDT 2008


Hi Matt

This is my build file for ranger:

#!/bin/bash
#
FC='mpif77'
CC='mpicc'
LINK='mpif77'
CPP='cpp -P -traditional'

MPI='true'
DEFINES='-DWORDLENGTH=4'
INCLUDES='-I/opt/apps/pgi7_1/mvapich2/1.0/include'
#LIBS=''
NOOPTFILES='exf_swapffields.F ecco_cost_final.F'
NOOPTFLAGS='-O0'

if test "x$IEEE" = x ; then
     #  No need for IEEE-754
     FFLAGS='-byteswapio -r8 -Mnodclchk -Mextend'
     FOPTIM='-fast -tp barcelona-64'
else
     #  Try to follow IEEE-754
     FFLAGS='-byteswapio -r8 -Mnodclchk -Mextend'
     FOPTIM='-tp barcelona-64 -O0 -Munroll -Kieee'
fi


Samar

On Sep 15, 2008, at 3:33 PM, Matthew Mazloff wrote:

> Hi Constantinos,
>
> Is there a build options file recommended for Ranger?  And if not,
> can you recommend one that is close to use as a template?
> http://www.tacc.utexas.edu/services/userguides/ranger/#?a
>
> Thanks,
> Matt
>
> _______________________________________________
> MITgcm-support mailing list
> MITgcm-support at mitgcm.org
> http://mitgcm.org/mailman/listinfo/mitgcm-support




More information about the MITgcm-support mailing list