/[MITgcm]/MITgcm/tools/build_options/linux_ia32_gfortran
ViewVC logotype

Diff of /MITgcm/tools/build_options/linux_ia32_gfortran

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.6 by jmc, Fri Jan 2 20:40:42 2009 UTC revision 1.7 by jmc, Fri Feb 19 22:23:22 2010 UTC
# Line 8  Line 8 
8  #              formally for gcc-gfortran 4.3*  #              formally for gcc-gfortran 4.3*
9  #       + with gcc-gfortran v4.3.0 on FC9  #       + with gcc-gfortran v4.3.0 on FC9
10  #  It fixes the ' \' versus ' &' terminator problem ;  #  It fixes the ' \' versus ' &' terminator problem ;
11  #  some namelist problems remain with old version (The biggest seems  #  some namelist problems remain with old version (The biggest seems
12  #     to be the inability to support namelist syntax such as:  #     to be the inability to support namelist syntax such as:
13  #     fields(1,1) = 'UVELSLT ','VVELSLT ','WVELSLT ',  #     fields(1,1) = 'UVELSLT ','VVELSLT ','WVELSLT ',
14  #      which results in run-time errors).  #      which results in run-time errors).
15    
16    #-------
17    # run with OpenMP: needs to set environment var. OMP_NUM_THREADS
18    #    and generally, needs to increase the thread stack-size:
19    #   -  sh,bash:
20    #     > export OMP_NUM_THREADS=2
21    #     > export GOMP_STACKSIZE=400m
22    #   - csh,tcsh:
23    #     > setenv OMP_NUM_THREADS 2
24    #     > setenv GOMP_STACKSIZE 400m
25    #-------
26    
27  FC=gfortran  FC=gfortran
28  F90C=gfortran  F90C=gfortran
# Line 21  DEFINES='-DWORDLENGTH=4 -DNML_TERMINATOR Line 31  DEFINES='-DWORDLENGTH=4 -DNML_TERMINATOR
31  CPP='cpp -traditional -P'  CPP='cpp -traditional -P'
32  NOOPTFLAGS='-O0'  NOOPTFLAGS='-O0'
33  EXTENDED_SRC_FLAG='-ffixed-line-length-132'  EXTENDED_SRC_FLAG='-ffixed-line-length-132'
34    OMPFLAG='-fopenmp'
35    
36  if test "x$DEVEL" != x ; then  if test "x$DEVEL" != x ; then
37      FFLAGS='-g -Wall -W -ffpe-trap=invalid,zero,overflow -fbounds-check'      FFLAGS='-g -Wall -W -ffpe-trap=invalid,zero,overflow -fbounds-check'

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7

  ViewVC Help
Powered by ViewVC 1.1.22