View | Details | Raw Unified
Collapse All | Expand All

(-) gamess-orig/comp (-4 / +5 lines)
 Lines 14-21    Link Here 
#      linux-ia64,linux-pc,mac32,macG5,necsx,sgi32,sgi64,sun32,sun64
#      linux-ia64,linux-pc,mac32,macG5,necsx,sgi32,sgi64,sun32,sun64
#  2. Choose your GAMESS directory tree.
#  2. Choose your GAMESS directory tree.
#
#
set TARGET=ibm64
set TARGET=linux-pc
chdir /u1/mike/gamess
#chdir /u1/mike/gamess
#
#
#    ---- and now the script begins...
#    ---- and now the script begins...
#
#
 Lines 992-1002    Link Here 
#   Pentium II fractionally).  None of these optimizations are used below.
#   Pentium II fractionally).  None of these optimizations are used below.
#
#
if ($TARGET == linux-pc) then
if ($TARGET == linux-pc) then
   set OPT = '-O2'
   set gentoo-OPT = '-O2'
   if ($MODULE == ormas1) set OPT='-O2 -fno-move-all-movables' # RH9, g77 3.3
   if ($MODULE == ormas1) set OPT='-O2 -fno-move-all-movables' # RH9, g77 3.3
#
#
#   g77 does not support FORTRAN logical units above 99, or 128 bit math.
#   g77 does not support FORTRAN logical units above 99, or 128 bit math.
#
#
   if ($MODULE == zheev) set OPT='-O1' 
   if (($MODULE == qeigen) || ($MODULE == int2c)) then
   if (($MODULE == qeigen) || ($MODULE == int2c)) then
      mv $MODULE.f $MODULE.junk
      mv $MODULE.f $MODULE.junk
      sed -e "s/Q-/D-/g" \
      sed -e "s/Q-/D-/g" \
 Lines 1010-1016    Link Here 
      rm -f $MODULE.junk
      rm -f $MODULE.junk
   endif
   endif
   set echo
   set echo
   g77 -c $OPT -malign-double -fautomatic \
   gentoo-g77 -c $OPT -malign-double -fautomatic \
           -Wno-globals -fno-globals $MODULE.f
           -Wno-globals -fno-globals $MODULE.f
   unset echo
   unset echo
endif
endif