summarylogtreecommitdiffstats
path: root/opt.patch
blob: 3adaa9e6e4cd3b4f3b86ac12b4c85d630c606d80 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
--- gamess/comp	2018-04-25 14:01:49.124308188 +0300
+++ gamess/comp	2018-04-25 14:04:50.000000000 +0300
@@ -2014,10 +2014,10 @@
 #
 #         first, initialize OPT and EXTRAOPT
 #
-      set OPT='-O2'
+      set OPT='-O3'
       if ($MODULE == zheev)  set OPT='-O0'  # defensive compiling
 
-      set EXTRAOPT=" "
+      set EXTRAOPT=" -march=native -mno-fma"
       if (($MODULE_F:e == f90) || ($MODULE_F:e == F90)) then
          set EXTRAOPT="$EXTRAOPT -ffree-line-length-none"
       else
--- gamess/ddi/compddi	2018-02-08 00:15:23.000000000 +0300
+++ gamess/ddi/compddi	2018-04-25 17:08:10.133181272 +0300
@@ -741,7 +741,7 @@
      if (`uname -p` == ia64) set ARCH=''
 
      set CC = 'gcc'
-     set CFLAGS = "-DLINUX $ARCH -O3 -fstrict-aliasing -I./"
+     set CFLAGS = "-DLINUX $ARCH -O3 -march=native -mno-fma -fstrict-aliasing -I./"
      set CLIBS  = "-lpthread"
 
      if ($GMS_PHI == knc) then