Back to home page

MITgcm

 
 

    


Warning, /tools/build_options/unsupported/osf1_alpha_g77 is written in an unsupported language. File is not indexed.

view on githubraw file Latest commit add29e06 on 2018-01-31 20:35:05 UTC
236ae57e6b Ed H*0001 #!/bin/bash
                0002 #
                0003 #
                0004 
                0005 
                0006 FC=g77
7a8d0b199d Jean*0007 DEFINES='-D_BYTESWAPIO -DWORDLENGTH=4 -DNML_EXTENDED_F77'
ffb4582cb1 Ed H*0008 CPP='/usr/local/bin/cpp  -traditional -P'
236ae57e6b Ed H*0009 NOOPTFLAGS='-O0'
7a8d0b199d Jean*0010 EXTENDED_SRC_FLAG='-ffixed-line-length-132'
                0011 GET_FC_VERSION="--version"
bbd6594406 Ed H*0012 #EH3  Remove the buggy mkdep since the newly included cyrus version
                0013 #EH3  works much better on machines such as "halem"
                0014 #EH3  MAKEDEPEND='mkdep -f depend.out'
236ae57e6b Ed H*0015 
c5eb9f268f Ed H*0016 FC_NAMEMANGLE="#define FC_NAMEMANGLE(X) X ## _"
                0017 
236ae57e6b Ed H*0018 # netcdf
353dc202ae Ed H*0019 # DOES NOT (YET) WORK because the netcdf library installed on Halem
7a8d0b199d Jean*0020 # was compiled with the "f77" compiler and the library is not
                0021 # compatible with g77 -- so we need to either build our own lib for
353dc202ae Ed H*0022 # g77 or ask the admins to do so.
                0023 #   INCLUDES="$INCLUDES -I/usr/ulocal/stow/netcdf-3.5.1/include"
                0024 #   LIBS="-L/usr/ulocal/stow/netcdf-3.5.1/lib -lnetcdf"
236ae57e6b Ed H*0025 
                0026 #  For IEEE, use the "-ffloat-store" option
                0027 if test "x$IEEE" = x ; then
                0028     FFLAGS='-Wimplicit -Wunused -Wuninitialized'
                0029     FOPTIM='-O3 -funroll-loops'
                0030 else
                0031     FFLAGS='-Wimplicit -Wunused -ffloat-store'
                0032     FOPTIM='-O0'
                0033 fi
                0034 
                0035 
                0036