Warning, /tools/build_options/SUPER-UX_SX-6_sx90_dkrz 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
78b43dd1c5 Patr*0001 #!/bin/bash
0002 #
0003 # for use on hurrikan.dkrz.de
0004 # compile on cross.dkrz.de using cross compiler
0005 # module load cross-compiler
0006 # heimbach@mit.edu, edhill@mit.edu
0007 #ph: on cross.dkrz.de set environment var.
0008 #ph: setenv F_UFMTENDIAN big
4f46a6c993 Jean*0009
0010 if test "x$MPI" = xtrue ; then
0011 CC='sxcc'
0012 FC='sxmpif90 -c'
0013 LINK='sxmpif90'
0014 else
0015 CC='sxc++'
0016 FC='sxf90'
0017 LINK='sxf90'
0018 fi
0019
0020 MAKE='sxgmake'
0021 FC_NAMEMANGLE="#define FC_NAMEMANGLE(X) X ## _"
78b43dd1c5 Patr*0022 DEFINES='-DTARGET_NEC_SX -DWORDLENGTH=1'
4f46a6c993 Jean*0023 CPP='/lib/cpp -traditional -P'
0024
0025 NOOPTFLAGS='-Cssafe'
0026 NOOPTFILES='barrier.F different_multiple.F external_fields_load.F'
0027
78b43dd1c5 Patr*0028 FFLAGS='-Wf "-pvctl noassume loopcnt=5000000" -Pstack'
0029 #FFLAGS= '-ew'
0030 #FOPTIM='-Cvopt'
4f46a6c993 Jean*0031
0032 if test "x$MPI" = xtrue ; then
0033 FFLAGS="$FFLAGS -sx6"
0034 INCLUDES='-I/SX/usr/include'
0035 fi