Back to home page

MITgcm

 
 

    


Warning, /tools/build_options/sunos_sun4u_f90 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
1d60c706ff Mart*0001 #!/bin/bash
                0002 #
                0003 #
                0004 # tested on 
                0005 # SunOS rays1.awi.de 5.10 Generic_137111-01 sun4u sparc SUNW,Sun-Fire-880
                0006 # with f90: Sun Fortran 95 8.3 SunOS_sparc Patch 127000-03 2008/01/29
                0007 
                0008 
                0009 FC_NAMEMANGLE="#define FC_NAMEMANGLE(X) X ## _"
                0010 S64='$(TOOLSDIR)/set64bitConst.sh'
                0011 DEFINES='-DWORDLENGTH=4'
                0012 #AWK='gawk'
                0013 MAKEDEPEND='$(TOOLSDIR)/cyrus-imapd-makedepend/makedepend'
                0014 #MAKEDEPEND='$(TOOLSDIR)/xmakedepend'
                0015 #MAKE='gmake'
                0016 CPP='/usr/ccs/lib/cpp -P'
                0017 # this one works, too
                0018 #CPP='/opt/sfw/bin/cpp -traditional -P'
                0019 FC='f90'
                0020 # This is an example of how to specify where your 
                0021 # netcdf libraries and include files are; 
                0022 # in this particular example, they are in 
                0023 # /usr/local/libs and /usr/local/include.
                0024 INCLUDES='-I/usr/local/include'
                0025 LIBS='-L/usr/local/lib'
                0026 
                0027 if test "x$IEEE" = x ; then
                0028     #  No need for IEEE-754
                0029     FFLAGS='-stackvar -explicitpar -vpara -e -u -noautopar -xtypemap=real:64,double:64,integer:32'
                0030     FOPTIM='-dalign -O4 -xarch=native -fsimple=2'
                0031     CFLAGS='-dalign -xO4 -xarch=native'
                0032 else
                0033     #  Try to follow IEEE-754
                0034     FFLAGS='-e -u -xtypemap=real:64,double:64,integer:32 -fsimple=0'
                0035     FOPTIM='-O0'
                0036     CFLAGS='-xO0'
                0037 fi
                0038 NOOPTFLAGS='-dalign -O0'