# use 8 segments (max 2Gb) instead of 1 (max 256Meg) by default.
xLDFLAGS="$xLDFLAGS -bmaxdata:0x80000000"
case "${gmxcpu}" in
+ power6*)
+ xCFLAGS="-O3 -qarch=pwr6 -qtune=pwr6 -qmaxmem=-1 -qstrict -qaltivec -qenablevmx -qvecnvol"
+ xFFLAGS="-O3 -qarch=pwr6 -qtune=pwr6 -qmaxmem=-1 -qhot -qstrict -qaltivec -qenablevmx -qvecnvol"
+ ;;
power5*)
xCFLAGS="-O3 -qarch=pwr5 -qtune=pwr5 -qmaxmem=16384"
xFFLAGS="-O3 -Q -qarch=pwr5 -qtune=pwr5 -qmaxmem=16384 -qhot -qnoipa"
-# zsh configuration file for Gromacs
+# bash configuration file for Gromacs
# First we remove old gromacs stuff from the paths
# by selecting everything else.
# This is not 100% necessary, but very useful when we
tmppath=""
for i in `echo $LD_LIBRARY_PATH | sed "s/:/ /g"`; do
if test "$i" != "$GMXLDLIB"; then
- if test "${tmppath}" == ""; then
- tmppath=$i
- else
- tmppath=${tmppath}:$i
- fi
+ tmppath="${i}${tmppath:+:}${tmppath}"
fi
done
LD_LIBRARY_PATH=$tmppath
tmppath=""
for i in `echo $PKG_CONFIG_PATH | sed "s/:/ /g"`; do
if test "$i" != "$GMXLDLIB/pkgconfig"; then
- tmppath=${tmppath}:$i
+ tmppath="${i}${tmppath:+:}${tmppath}"
fi
done
PKG_CONFIG_PATH=$tmppath
tmppath=""
for i in `echo $PATH | sed "s/:/ /g"`; do
if test "$i" != "$GMXBIN"; then
- tmppath=${tmppath}:$i
+ tmppath="${i}${tmppath:+:}${tmppath}"
fi
done
PATH=$tmppath
tmppath=""
for i in `echo $MANPATH | sed "s/:/ /g"`; do
if test "$i" != "$GMXMAN"; then
- tmppath=${tmppath}:$i
+ tmppath="${i}${tmppath:+:}${tmppath}"
fi
done
-if test "$tmppath" == ""; then
- tmppath=":"
-fi
MANPATH=$tmppath
##########################################################
GMXMAN=@MAN_INSTALL_DIR@
GMXDATA=@DATA_INSTALL_DIR@
-# NB: The variables already begin with ':' now, or are empty
-LD_LIBRARY_PATH=${GMXLDLIB}${LD_LIBRARY_PATH}
-PKG_CONFIG_PATH=${GMXLDLIB}/pkgconfig${PKG_CONFIG_PATH}
-PATH=${GMXBIN}${PATH}
-MANPATH=${GMXMAN}${MANPATH}
+LD_LIBRARY_PATH=${GMXLDLIB}${LD_LIBRARY_PATH:+:}${LD_LIBRARY_PATH}
+PKG_CONFIG_PATH=${GMXLDLIB}/pkgconfig${PKG_CONFIG_PATH:+:}${PKG_CONFIG_PATH}
+PATH=${GMXBIN}${PATH:+:}${PATH}
+#debian/ubuntu needs a : at the end
+MANPATH=${GMXMAN}:${MANPATH}
# export should be separate, so /bin/sh understands it
export GMXBIN GMXLDLIB GMXMAN GMXDATA LD_LIBRARY_PATH PATH MANPATH PKG_CONFIG_PATH
-# zsh configuration file for Gromacs
+# bash configuration file for Gromacs
# First we remove old gromacs stuff from the paths
# by selecting everything else.
# This is not 100% necessary, but very useful when we
tmppath=""
for i in `echo $LD_LIBRARY_PATH | sed "s/:/ /g"`; do
if test "$i" != "$GMXLDLIB"; then
- if test "${tmppath}" == ""; then
- tmppath=$i
- else
- tmppath=${tmppath}:$i
- fi
+ tmppath="${i}${tmppath:+:}${tmppath}"
fi
done
LD_LIBRARY_PATH=$tmppath
tmppath=""
for i in `echo $PKG_CONFIG_PATH | sed "s/:/ /g"`; do
if test "$i" != "$GMXLDLIB/pkgconfig"; then
- tmppath=${tmppath}:$i
+ tmppath="${i}${tmppath:+:}${tmppath}"
fi
done
PKG_CONFIG_PATH=$tmppath
tmppath=""
for i in `echo $PATH | sed "s/:/ /g"`; do
if test "$i" != "$GMXBIN"; then
- tmppath=${tmppath}:$i
+ tmppath="${i}${tmppath:+:}${tmppath}"
fi
done
PATH=$tmppath
tmppath=""
for i in `echo $MANPATH | sed "s/:/ /g"`; do
if test "$i" != "$GMXMAN"; then
- tmppath=${tmppath}:$i
+ tmppath="${i}${tmppath:+:}${tmppath}"
fi
done
-if test "$tmppath" == ""; then
- tmppath=":"
-fi
MANPATH=$tmppath
##########################################################
GMXMAN=@mandir@
GMXDATA=@datadir@
-# NB: The variables already begin with ':' now, or are empty
-LD_LIBRARY_PATH=${GMXLDLIB}${LD_LIBRARY_PATH}
-PKG_CONFIG_PATH=${GMXLDLIB}/pkgconfig${PKG_CONFIG_PATH}
-PATH=${GMXBIN}${PATH}
-MANPATH=${GMXMAN}${MANPATH}
+LD_LIBRARY_PATH=${GMXLDLIB}${LD_LIBRARY_PATH:+:}${LD_LIBRARY_PATH}
+PKG_CONFIG_PATH=${GMXLDLIB}/pkgconfig${PKG_CONFIG_PATH:+:}${PKG_CONFIG_PATH}
+PATH=${GMXBIN}${PATH:+:}${PATH}
+#debian/ubuntu needs a : at the end
+MANPATH=${GMXMAN}:${MANPATH}
# export should be separate, so /bin/sh understands it
export GMXBIN GMXLDLIB GMXMAN GMXDATA LD_LIBRARY_PATH PATH MANPATH PKG_CONFIG_PATH
# remove previous gromacs part from PKG_CONFIG_PATH
set tmppath = ""
foreach i ( `echo $PKG_CONFIG_PATH | sed "s/:/ /g"` )
- if ( "$i" != "$GMXLDLIB/pkgconfig" ) set tmppath = "${tmppath}:$i"
+ if ( "$i" != "$GMXLDLIB/pkgconfig" ) then
+ if ("${tmppath}" == "") then
+ set tmppath = "$i"
+ else
+ set tmppath = "${tmppath}:$i"
+ endif
+ endif
end
setenv PKG_CONFIG_PATH $tmppath
# remove gromacs stuff from binary path
set tmppath = ""
foreach i ( `echo $PATH | sed "s/:/ /g"` )
- if ( "$i" != "$GMXBIN" ) set tmppath = "${tmppath}:$i"
+ if ( "$i" != "$GMXBIN" ) then
+ if ("${tmppath}" == "") then
+ set tmppath = "$i"
+ else
+ set tmppath = "${tmppath}:$i"
+ endif
+ endif
end
setenv PATH $tmppath
# and remove stuff from manual path
set tmppath = ""
foreach i ( `echo $MANPATH | sed "s/:/ /g"` )
- if ( "$i" != "$GMXMAN" ) set tmppath = "${tmppath}:$i"
+ if ( "$i" != "$GMXMAN" ) then
+ if ("${tmppath}" == "") then
+ set tmppath = "$i"
+ else
+ set tmppath = "${tmppath}:$i"
+ endif
+ endif
end
-if ("$tmppath" == "") then
- set tmppath = ":"
-endif
setenv MANPATH $tmppath
##########################################################
setenv GMXMAN @MAN_INSTALL_DIR@
setenv GMXDATA @DATA_INSTALL_DIR@
-# old variables begin with ':' now, or are empty.
-setenv PATH ${GMXBIN}${PATH}
+#make them begin with :
+if ($?LD_LIBRARY_PATH) setenv LD_LIBRARY_PATH ":${LD_LIBRARY_PATH}"
+if ($?PKG_CONFIG_PATH) setenv PKG_CONFIG_PATH ":${PKG_CONFIG_PATH}"
+
+#path is never empty
+setenv PATH ${GMXBIN}:${PATH}
setenv LD_LIBRARY_PATH ${GMXLDLIB}${LD_LIBRARY_PATH}
setenv PKG_CONFIG_PATH ${GMXLDLIB}/pkgconfig${PKG_CONFIG_PATH}
-setenv MANPATH ${GMXMAN}${MANPATH}
+#debian/ubuntu needs a : at the end
+setenv MANPATH ${GMXMAN}:${MANPATH}
setenv GMXFONT 10x20
# remove previous gromacs part from PKG_CONFIG_PATH
set tmppath = ""
foreach i ( `echo $PKG_CONFIG_PATH | sed "s/:/ /g"` )
- if ( "$i" != "$GMXLDLIB/pkgconfig" ) set tmppath = "${tmppath}:$i"
+ if ( "$i" != "$GMXLDLIB/pkgconfig" ) then
+ if ("${tmppath}" == "") then
+ set tmppath = "$i"
+ else
+ set tmppath = "${tmppath}:$i"
+ endif
+ endif
end
setenv PKG_CONFIG_PATH $tmppath
# remove gromacs stuff from binary path
set tmppath = ""
foreach i ( `echo $PATH | sed "s/:/ /g"` )
- if ( "$i" != "$GMXBIN" ) set tmppath = "${tmppath}:$i"
+ if ( "$i" != "$GMXBIN" ) then
+ if ("${tmppath}" == "") then
+ set tmppath = "$i"
+ else
+ set tmppath = "${tmppath}:$i"
+ endif
+ endif
end
setenv PATH $tmppath
# and remove stuff from manual path
set tmppath = ""
foreach i ( `echo $MANPATH | sed "s/:/ /g"` )
- if ( "$i" != "$GMXMAN" ) set tmppath = "${tmppath}:$i"
+ if ( "$i" != "$GMXMAN" ) then
+ if ("${tmppath}" == "") then
+ set tmppath = "$i"
+ else
+ set tmppath = "${tmppath}:$i"
+ endif
+ endif
end
-if ("$tmppath" == "") then
- set tmppath = ":"
-endif
setenv MANPATH $tmppath
##########################################################
setenv GMXMAN @mandir@
setenv GMXDATA @datadir@
-# old variables begin with ':' now, or are empty.
-setenv PATH ${GMXBIN}${PATH}
+#make them begin with :
+if ($?LD_LIBRARY_PATH) setenv LD_LIBRARY_PATH ":${LD_LIBRARY_PATH}"
+if ($?PKG_CONFIG_PATH) setenv PKG_CONFIG_PATH ":${PKG_CONFIG_PATH}"
+
+#path is never empty
+setenv PATH ${GMXBIN}:${PATH}
setenv LD_LIBRARY_PATH ${GMXLDLIB}${LD_LIBRARY_PATH}
setenv PKG_CONFIG_PATH ${GMXLDLIB}/pkgconfig${PKG_CONFIG_PATH}
-setenv MANPATH ${GMXMAN}${MANPATH}
+#debian/ubuntu needs a : at the end
+setenv MANPATH ${GMXMAN}:${MANPATH}
setenv GMXFONT 10x20
# This is not 100% necessary, but very useful when we
# repeatedly switch between gmx versions in a shell.
+# ATTENTION
+# zsh understands sh syntax - so this is just a copy from GMXRC.bash.in
+# BEGIN COPY
+
# First remove gromacs part of ld_library_path
tmppath=""
for i in `echo $LD_LIBRARY_PATH | sed "s/:/ /g"`; do
if test "$i" != "$GMXLDLIB"; then
- if test "${tmppath}" = ""; then
- tmppath=$i
- else
- tmppath=${tmppath}:$i
- fi
+ tmppath="${i}${tmppath:+:}${tmppath}"
fi
done
LD_LIBRARY_PATH=$tmppath
-# First remove gromacs part of PKG_CONFIG_PATH
+# remove gromacs part of PKG_CONFIG_PATH
tmppath=""
for i in `echo $PKG_CONFIG_PATH | sed "s/:/ /g"`; do
if test "$i" != "$GMXLDLIB/pkgconfig"; then
- tmppath=${tmppath}:$i
+ tmppath="${i}${tmppath:+:}${tmppath}"
fi
done
PKG_CONFIG_PATH=$tmppath
tmppath=""
for i in `echo $PATH | sed "s/:/ /g"`; do
if test "$i" != "$GMXBIN"; then
- tmppath=${tmppath}:$i
+ tmppath="${i}${tmppath:+:}${tmppath}"
fi
done
PATH=$tmppath
tmppath=""
for i in `echo $MANPATH | sed "s/:/ /g"`; do
if test "$i" != "$GMXMAN"; then
- tmppath=${tmppath}:$i
+ tmppath="${i}${tmppath:+:}${tmppath}"
fi
done
-if test "$tmppath" = ""; then
- tmppath=":"
-fi
MANPATH=$tmppath
##########################################################
# things in separate vars, so we can remove them later.
# If you move gromacs, change the next four line.
##########################################################
-export GMXBIN=@BIN_INSTALL_DIR@
-export GMXLDLIB=@LIB_INSTALL_DIR@
-export GMXMAN=@MAN_INSTALL_DIR@
-export GMXDATA=@DATA_INSTALL_DIR@
+GMXBIN=@BIN_INSTALL_DIR@
+GMXLDLIB=@LIB_INSTALL_DIR@
+GMXMAN=@MAN_INSTALL_DIR@
+GMXDATA=@DATA_INSTALL_DIR@
-# NB: The variables already begin with ':' now, or are empty
-export LD_LIBRARY_PATH=${GMXLDLIB}${LD_LIBRARY_PATH}
-export PKG_CONFIG_PATH=${GMXLDLIB}/pkgconfig${PKG_CONFIG_PATH}
-export PATH=${GMXBIN}${PATH}
-export MANPATH=${GMXMAN}${MANPATH}
+LD_LIBRARY_PATH=${GMXLDLIB}${LD_LIBRARY_PATH:+:}${LD_LIBRARY_PATH}
+PKG_CONFIG_PATH=${GMXLDLIB}/pkgconfig${PKG_CONFIG_PATH:+:}${PKG_CONFIG_PATH}
+PATH=${GMXBIN}${PATH:+:}${PATH}
+#debian/ubuntu needs a : at the end
+MANPATH=${GMXMAN}:${MANPATH}
+
+# export should be separate, so /bin/sh understands it
+export GMXBIN GMXLDLIB GMXMAN GMXDATA LD_LIBRARY_PATH PATH MANPATH PKG_CONFIG_PATH
+
+# END COPY
# read zsh completions if understand how to use them
if compctl >& /dev/null; then
# This is not 100% necessary, but very useful when we
# repeatedly switch between gmx versions in a shell.
+# ATTENTION
+# zsh understands sh syntax - so this is just a copy from GMXRC.bash.in
+# BEGIN COPY
+
# First remove gromacs part of ld_library_path
tmppath=""
for i in `echo $LD_LIBRARY_PATH | sed "s/:/ /g"`; do
if test "$i" != "$GMXLDLIB"; then
- if test "${tmppath}" = ""; then
- tmppath=$i
- else
- tmppath=${tmppath}:$i
- fi
+ tmppath="${i}${tmppath:+:}${tmppath}"
fi
done
LD_LIBRARY_PATH=$tmppath
-# First remove gromacs part of PKG_CONFIG_PATH
+# remove gromacs part of PKG_CONFIG_PATH
tmppath=""
for i in `echo $PKG_CONFIG_PATH | sed "s/:/ /g"`; do
if test "$i" != "$GMXLDLIB/pkgconfig"; then
- tmppath=${tmppath}:$i
+ tmppath="${i}${tmppath:+:}${tmppath}"
fi
done
PKG_CONFIG_PATH=$tmppath
tmppath=""
for i in `echo $PATH | sed "s/:/ /g"`; do
if test "$i" != "$GMXBIN"; then
- tmppath=${tmppath}:$i
+ tmppath="${i}${tmppath:+:}${tmppath}"
fi
done
PATH=$tmppath
tmppath=""
for i in `echo $MANPATH | sed "s/:/ /g"`; do
if test "$i" != "$GMXMAN"; then
- tmppath=${tmppath}:$i
+ tmppath="${i}${tmppath:+:}${tmppath}"
fi
done
-if test "$tmppath" = ""; then
- tmppath=":"
-fi
MANPATH=$tmppath
##########################################################
# things in separate vars, so we can remove them later.
# If you move gromacs, change the next four line.
##########################################################
-export GMXBIN=@bindir@
-export GMXLDLIB=@libdir@
-export GMXMAN=@mandir@
-export GMXDATA=@datadir@
+GMXBIN=@bindir@
+GMXLDLIB=@libdir@
+GMXMAN=@mandir@
+GMXDATA=@datadir@
-# NB: The variables already begin with ':' now, or are empty
-export LD_LIBRARY_PATH=${GMXLDLIB}${LD_LIBRARY_PATH}
-export PKG_CONFIG_PATH=${GMXLDLIB}/pkgconfig${PKG_CONFIG_PATH}
-export PATH=${GMXBIN}${PATH}
-export MANPATH=${GMXMAN}${MANPATH}
+LD_LIBRARY_PATH=${GMXLDLIB}${LD_LIBRARY_PATH:+:}${LD_LIBRARY_PATH}
+PKG_CONFIG_PATH=${GMXLDLIB}/pkgconfig${PKG_CONFIG_PATH:+:}${PKG_CONFIG_PATH}
+PATH=${GMXBIN}${PATH:+:}${PATH}
+#debian/ubuntu needs a : at the end
+MANPATH=${GMXMAN}:${MANPATH}
+
+# export should be separate, so /bin/sh understands it
+export GMXBIN GMXLDLIB GMXMAN GMXDATA LD_LIBRARY_PATH PATH MANPATH PKG_CONFIG_PATH
+
+# END COPY
# read zsh completions if understand how to use them
if compctl >& /dev/null; then
</dl></dd>
<dt><b>MTTK</b></dt>
<dd>Martyna-Tuckerman-Tobias-Klein implementation, only useable with <b>md-vv</b>
-or <b>md-vv-avek</b>, very similar to Parinello-Raphman.
+or <b>md-vv-avek</b>, very similar to Parrinello-Rahman.
As for Nose-Hoover temperature coupling the time constant <b>tau_p</b>
[ps] is the period of pressure fluctuations at equilibrium. This is
probably a better method when you want to apply pressure scaling