Gentoo Archives: gentoo-commits

From: Justin Lecher <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/sci:master commit in: sci-chemistry/ambertools/files/, sci-chemistry/ambertools/
Date: Fri, 19 Feb 2016 12:56:49
Message-Id: 1455886538.ff6a64f8cc45313c370860fae925de4f50c2404e.jlec@gentoo
1 commit: ff6a64f8cc45313c370860fae925de4f50c2404e
2 Author: Reinis Danne <rei4dan <AT> gmail <DOT> com>
3 AuthorDate: Wed Jan 20 21:00:58 2016 +0000
4 Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
5 CommitDate: Fri Feb 19 12:55:38 2016 +0000
6 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=ff6a64f8
7
8 sci-chemistry/ambertools: Version bump to 15
9
10 sci-chemistry/ambertools/ambertools-15_p6.ebuild | 165 +++
11 .../ambertools/files/ambertools-15-gentoo.patch | 1441 ++++++++++++++++++++
12 .../ambertools/files/ambertools-15-update.1.patch | 118 ++
13 .../ambertools/files/ambertools-15-update.2.patch | 56 +
14 .../ambertools/files/ambertools-15-update.3.patch | 95 ++
15 .../ambertools/files/ambertools-15-update.4.patch | 908 ++++++++++++
16 .../ambertools/files/ambertools-15-update.5.patch | 25 +
17 .../ambertools/files/ambertools-15-update.6.patch | 59 +
18 8 files changed, 2867 insertions(+)
19
20 diff --git a/sci-chemistry/ambertools/ambertools-15_p6.ebuild b/sci-chemistry/ambertools/ambertools-15_p6.ebuild
21 new file mode 100644
22 index 0000000..c3a46c5
23 --- /dev/null
24 +++ b/sci-chemistry/ambertools/ambertools-15_p6.ebuild
25 @@ -0,0 +1,165 @@
26 +# Copyright 1999-2016 Gentoo Foundation
27 +# Distributed under the terms of the GNU General Public License v2
28 +# $Id$
29 +
30 +EAPI=5
31 +
32 +PYTHON_COMPAT=( python2_7 )
33 +
34 +inherit eutils fortran-2 multilib python-r1 toolchain-funcs
35 +
36 +DESCRIPTION="A suite for carrying out complete molecular mechanics investigations"
37 +HOMEPAGE="http://ambermd.org/#AmberTools"
38 +SRC_URI="
39 + AmberTools${PV%_p*}.tar.bz2"
40 +
41 +LICENSE="GPL-2"
42 +SLOT="0"
43 +KEYWORDS="~amd64 ~x86 ~amd64-linux"
44 +IUSE="X"
45 +
46 +RESTRICT="fetch"
47 +
48 +RDEPEND="${PYTHON_DEPS}
49 + virtual/cblas
50 + virtual/lapack
51 + sci-libs/clapack
52 + sci-libs/arpack
53 + sci-chemistry/mopac7
54 + sci-libs/netcdf
55 + sci-libs/netcdf-fortran
56 + >=sci-libs/fftw-3.3:3.0
57 + sci-chemistry/reduce"
58 +DEPEND="${RDEPEND}
59 + app-shells/tcsh
60 + dev-util/byacc
61 + dev-libs/libf2c
62 + sys-devel/ucpp"
63 +
64 +S="${WORKDIR}/amber14"
65 +
66 +pkg_nofetch() {
67 + einfo "Go to ${HOMEPAGE} and get AmberTools${PV%_p*}.tar.bz2"
68 + einfo "Place it into ${DISTDIR}"
69 +}
70 +
71 +pkg_setup() {
72 + fortran-2_pkg_setup
73 + export AMBERHOME="${S}"
74 +}
75 +
76 +src_prepare() {
77 + epatch \
78 + "${FILESDIR}"/${PN}-15-gentoo.patch \
79 + "${FILESDIR}"/${PN}-15-update.{1..6}.patch
80 +
81 + epatch_user
82 +
83 + cd "${S}"/AmberTools/src || die
84 + rm -r \
85 + arpack \
86 + blas \
87 + byacc \
88 + lapack \
89 + fftw-3.3 \
90 + c9x-complex \
91 + netcdf-fortran-4.2 \
92 + netcdf-4.3.0 \
93 + reduce \
94 + ucpp-1.3 \
95 + || die
96 +
97 + cd "${S}"/AmberTools/src || die
98 + sed \
99 + -e "s:\\\\\$(LIBDIR)/arpack.a:-larpack:g" \
100 + -e "s:\\\\\$(LIBDIR)/lapack.a:$($(tc-getPKG_CONFIG) lapack --libs) -lclapack:g" \
101 + -e "s:-llapack:$($(tc-getPKG_CONFIG) lapack --libs) -lclapack:g" \
102 + -e "s:\\\\\$(LIBDIR)/blas.a:$($(tc-getPKG_CONFIG) blas cblas --libs):g" \
103 + -e "s:-lblas:$($(tc-getPKG_CONFIG) blas cblas --libs):g" \
104 + -e "s:GENTOO_CFLAGS:${CFLAGS}:g" \
105 + -e "s:GENTOO_CXXFLAGS:${CXXFLAGS}:g" \
106 + -e "s:GENTOO_FFLAGS:${FFLAGS}:g" \
107 + -e "s:GENTOO_LDFLAGS:${LDFLAGS}:g" \
108 + -e "s:GENTOO_INCLUDE:${EPREFIX}/usr/include:g" \
109 + -e "s:GENTOO_FFTW3_LIBS:$($(tc-getPKG_CONFIG) fftw3 --libs):" \
110 + -e "s:fc=g77:fc=$(tc-getFC):g" \
111 + -e "s:NETCDF=\$netcdf:NETCDF=netcdf.mod:g" \
112 + -e "s:\$netcdf_flag:$($(tc-getPKG_CONFIG) netcdf --libs):g" \
113 + -e "s:\$netcdfflagc:$($(tc-getPKG_CONFIG) netcdf --libs):g" \
114 + -e "s:\$netcdfflagf:$($(tc-getPKG_CONFIG) netcdf-fortran --libs):g" \
115 + -i configure2 || die
116 +
117 + sed \
118 + -e "s:arsecond_:arscnd_:g" \
119 + -i sff/time.c sff/sff.h sff/sff.c || die
120 +
121 +}
122 +
123 +src_configure() {
124 + python_setup
125 +
126 + local myconf="--no-updates"
127 +
128 + use X || myconf="${myconf} -noX11"
129 +
130 + cd "${S}" || die
131 +
132 + sed \
133 + -e '/patch_amber.py/d' \
134 + -i configure || die
135 +
136 + ./configure \
137 + ${myconf} \
138 + -nomtkpp \
139 + --with-python ${PYTHON} \
140 + --with-netcdf /usr \
141 + gnu || die
142 +}
143 +
144 +src_test() {
145 + source ${AMBERHOME}/amber.sh
146 +
147 + emake test
148 +}
149 +
150 +src_compile() {
151 + emake \
152 + CC=$(tc-getCC) \
153 + FC=$(tc-getFC)
154 +}
155 +
156 +src_install() {
157 + for x in bin/*
158 + do
159 + [ ! -d ${x} ] && dobin ${x}
160 + done
161 +
162 + dobin AmberTools/src/antechamber/mopac.sh
163 + sed \
164 + -e "s:\$AMBERHOME/bin/mopac:mopac7:g" \
165 + -i "${ED}/usr/bin/mopac.sh" || die
166 +
167 + # Make symlinks untill binpath for amber will be fixed
168 + dodir /usr/share/${PN}/bin
169 + cd "${ED}/usr/bin" || die
170 + for x in *
171 + do dosym /usr/bin/${x} ../share/${PN}/bin/${x}
172 + done
173 + cd "${S}" || die
174 +
175 + dodoc doc/Amber15.pdf
176 + dolib.a lib/*{.a,.so}
177 + insinto /usr/$(get_libdir)
178 + doins -r lib/python2.7
179 + insinto /usr/include/${PN}
180 + doins include/*
181 + insinto /usr/share/${PN}
182 + doins -r dat
183 + cd AmberTools || die
184 + doins -r benchmarks examples test
185 +
186 + cat >> "${T}"/99ambertools <<- EOF
187 + AMBERHOME="${EPREFIX}/usr/share/ambertools"
188 + EOF
189 + doenvd "${T}"/99ambertools
190 +}
191
192 diff --git a/sci-chemistry/ambertools/files/ambertools-15-gentoo.patch b/sci-chemistry/ambertools/files/ambertools-15-gentoo.patch
193 new file mode 100644
194 index 0000000..f949a49
195 --- /dev/null
196 +++ b/sci-chemistry/ambertools/files/ambertools-15-gentoo.patch
197 @@ -0,0 +1,1441 @@
198 +diff --git a/AmberTools/src/Makefile b/AmberTools/src/Makefile
199 +index 3d69773..c2a5045 100644
200 +--- a/AmberTools/src/Makefile
201 ++++ b/AmberTools/src/Makefile
202 +@@ -15,12 +15,6 @@ install: $(INSTALLTYPE)
203 + serial: configured_serial THIRDPARTY $(MTKPP)
204 + @echo "Starting installation of ${AMBERTOOLS} serial at `date`".
205 + # utility routines and libraries:
206 +- (cd ucpp-1.3 && $(MAKE) $(UCPP) )
207 +- (cd byacc && $(MAKE) install )
208 +- (cd arpack && $(MAKE) install );
209 +- (cd lapack && $(MAKE) $(LAPACK) )
210 +- (cd blas && $(MAKE) $(BLAS) )
211 +- (cd c9x-complex && $(MAKE) $(C9XCOMPLEX) )
212 + (cd pbsa && $(MAKE) install )
213 + (cd gbnsr6 && $(MAKE) install )
214 + (cd cifparse && $(MAKE) install )
215 +@@ -33,7 +27,6 @@ serial: configured_serial THIRDPARTY $(MTKPP)
216 + $(MAKE) cpptraj
217 +
218 + # miscellaneous:
219 +- (cd reduce && $(MAKE) install )
220 +
221 + # leap
222 + (cd leap && $(MAKE) install )
223 +@@ -103,12 +96,6 @@ serial: configured_serial THIRDPARTY $(MTKPP)
224 +
225 + nabonly: configured_serial $(XBLAS)
226 + # utility routines and libraries:
227 +- (cd ucpp-1.3 && $(MAKE) $(UCPP) )
228 +- (cd byacc && $(MAKE) install )
229 +- (cd arpack && $(MAKE) install );
230 +- (cd lapack && $(MAKE) $(LAPACK) )
231 +- (cd blas && $(MAKE) $(BLAS) )
232 +- (cd c9x-complex && $(MAKE) $(C9XCOMPLEX) )
233 + (cd pbsa && $(MAKE) libinstall )
234 + (cd rism && $(MAKE) $(RISM) )
235 + (cd cifparse && $(MAKE) install )
236 +@@ -144,12 +131,6 @@ parallel: configured_parallel THIRDPARTY
237 + # (cd pbsa && $(MAKE) clean && $(MAKE) install.parallel )
238 + (cd pbsa && $(MAKE) libinstall )
239 + $(MAKE) cpptraj
240 +- (cd byacc && $(MAKE) install )
241 +- (cd ucpp-1.3 && $(MAKE) $(UCPP) )
242 +- (cd cifparse && $(MAKE) install )
243 +- (cd arpack && $(MAKE) install );
244 +- (cd lapack && $(MAKE) $(LAPACK) )
245 +- (cd blas && $(MAKE) $(BLAS) )
246 + (cd mdgx && $(MAKE) $(MDGX) )
247 + (if [ "$(RISM)" = "yes" ]; then \
248 + cd rism && $(MAKE) install_mpi ; \
249 +@@ -215,18 +196,11 @@ netcdf_uninstall:
250 + -/bin/rm -f netcdf_config.log ../lib/libnetcdf* ../include/netcdf.*
251 +
252 + clean::
253 +- -(cd ucpp-1.3 && $(MAKE) clean )
254 +- -(cd byacc && $(MAKE) clean )
255 +- -(cd cifparse && $(MAKE) clean )
256 + -(cd nab && $(MAKE) clean )
257 + -(cd sff && $(MAKE) clean )
258 + -(cd nss && $(MAKE) clean )
259 + -(cd leap && $(MAKE) clean )
260 +- -(cd arpack && $(MAKE) clean )
261 +- -(cd blas && $(MAKE) clean )
262 + -(cd xblas && $(MAKE) clean )
263 +- -(cd lapack && $(MAKE) clean )
264 +- -(cd c9x-complex && $(MAKE) clean )
265 + -(cd etc && $(MAKE) clean )
266 + -(cd chamber && $(MAKE) clean )
267 + -(cd pbsa && $(MAKE) clean )
268 +@@ -236,15 +210,12 @@ clean::
269 + -(cd lib && $(MAKE) clean )
270 + -(cd ptraj && $(MAKE) clean )
271 + -(cd cpptraj && $(MAKE) clean)
272 +- -(cd reduce && $(MAKE) clean )
273 + -(cd mtkpp && $(MAKE) clean )
274 + -(cd mdgx && $(MAKE) clean )
275 + -(cd xtalutil/CPrograms && $(MAKE) clean )
276 + -(cd saxs && $(MAKE) clean )
277 + -(cd paramfit && $(MAKE) clean )
278 + -(cd rism && $(MAKE) clean )
279 +- -(cd fftw-3.3 && $(MAKE) clean )
280 +- -($(RM) -f fftw-3.3/mpi/fftw3-mpi.f03 )
281 + -(cd mmpbsa_py && /bin/rm -fr MMPBSA.py.MPI build/ mpi4py-1.2.2/)
282 + -(cd mm_pbsa && $(MAKE) clean )
283 + -(cd FEW && $(MAKE) clean )
284 +@@ -315,7 +286,7 @@ $(LIBDIR)/libxblas-amb.a:
285 + $(LIBDIR)/libfftw3.a $(LIBDIR)/libfftw3_mpi.a:
286 + cd fftw-3.3 && $(MAKE) && $(MAKE) -j 1 install;
287 +
288 +-THIRDPARTY: $(XBLAS) $(FFTW3)
289 ++THIRDPARTY: $(XBLAS)
290 +
291 + cuda:
292 + @echo "$(AMBERTOOLS) has no CUDA-enabled components"
293 +diff --git a/AmberTools/src/configure2 b/AmberTools/src/configure2
294 +index f1a3cff..4b07fa5 100755
295 +--- a/AmberTools/src/configure2
296 ++++ b/AmberTools/src/configure2
297 +@@ -318,7 +318,7 @@ fi
298 + #------------------------------------------------------------------------------
299 + # Define variables that are currently constants:
300 + #------------------------------------------------------------------------------
301 +-bintraj='yes'
302 ++bintraj='no'
303 + ldout=' -o '
304 + localcp='cp'
305 + localmv='mv'
306 +@@ -358,7 +358,7 @@ cygwin='no'
307 + debug='no'
308 + dragonegg=''
309 + fpp="cpp -traditional -P"
310 +-fppflags=''
311 ++fppflags='-DBINTRAJ'
312 + freeformat_flag=''
313 + fwarnflag=''
314 + g95='no'
315 +@@ -370,7 +370,7 @@ installtype='serial'
316 + intel_compiler_flag_mkl='no'
317 + intelmpi='no'
318 + is_mac='no'
319 +-ldflags=''
320 ++ldflags='GENTOO_LDFLAGS'
321 + ld='ld '
322 + lfs='yes'
323 + lm='-lm'
324 +@@ -599,11 +599,11 @@ omp_flag=
325 + mpi_flag=
326 + lex=flex
327 + flibs_mkl=
328 +-lapack=install
329 +-blas=install
330 ++lapack=skip
331 ++blas=skip
332 + f2c=skip
333 +-ucpp=install
334 +-cpp="ucpp -l"
335 ++ucpp=skip
336 ++cpp="\$(EPREFIX)/usr/bin/ucpp -l"
337 +
338 + #-----------------------------------
339 + # skip building of xleap?
340 +@@ -907,7 +907,7 @@ gnu)
341 + flibs_arch="-lgfortran -w"
342 + flibsf_arch=
343 + cc=gcc
344 +- cflags="-fPIC"
345 ++ cflags="-fPIC -DBINTRAJ"
346 + ambercflags=""
347 + cplusplus=g++
348 + cxxflags="-fPIC"
349 +@@ -937,11 +937,11 @@ gnu)
350 + foptflags=""
351 + else
352 + cnooptflags=
353 +- coptflags="-O3"
354 ++ coptflags="GENTOO_CFLAGS"
355 + cxxnooptflags=
356 +- cxxoptflags="-fPIC -O3"
357 ++ cxxoptflags="-fPIC GENTOO_CXXFLAGS"
358 + fnooptflags="-O0"
359 +- foptflags="-O3"
360 ++ foptflags="GENTOO_FFLAGS"
361 + fi
362 +
363 + # Debugging options
364 +@@ -957,11 +957,11 @@ gnu)
365 + if [ $sse = 'yes' ]; then
366 + if [ $x86_64 = 'yes' ]; then
367 + #-mfpmath=sse is default for x86_64, no need to specific it
368 +- coptflags="$coptflags -mtune=native"
369 +- foptflags="$foptflags -mtune=native"
370 ++ coptflags="$coptflags"
371 ++ foptflags="$foptflags"
372 + else # i386 needs to be told to use sse prior to using -mfpmath=sse
373 +- coptflags="$coptflags -mtune=native -msse -mfpmath=sse"
374 +- foptflags="$foptflags -mtune=native -msse -mfpmath=sse"
375 ++ coptflags="$coptflags"
376 ++ foptflags="$foptflags"
377 + fi
378 + fi
379 + fcreal8="-fdefault-real-8"
380 +@@ -1032,7 +1032,7 @@ gnu)
381 + # pmemd_fpp_flags='-DFFTW_FFT'
382 + # fi
383 + pmemd_foptflags="$foptflags"
384 +- pmemd_coptflags="$coptflags"
385 ++ pmemd_coptflags="$coptflags -DBINTRAJ"
386 + if [ ! -z $dragonegg ]; then
387 + pmemd_foptflags="-fplugin=$dragonegg $fflags $pmemd_foptflags"
388 + pmemd_coptflags="-fplugin=$dragonegg $pmemd_coptflags"
389 +@@ -1062,7 +1062,7 @@ gnu)
390 + fi
391 + pmemd_cu_includes="$pmemd_cu_includes $mpi_inc"
392 + pmemd_cu_defines="$pmemd_cu_defines -DMPI -DMPICH_IGNORE_CXX_SEEK"
393 +- pmemd_coptflags="$coptflags -DMPICH_IGNORE_CXX_SEEK"
394 ++ pmemd_coptflags="$coptflags -DMPICH_IGNORE_CXX_SEEK -DBINTRAJ"
395 + fi
396 + fi
397 + if [ "$cuda_SPFP" = 'yes' ]; then
398 +@@ -2649,40 +2649,40 @@ if [ "$has_fftw3" = 'yes' ]; then
399 + if [ "$sse" = "yes" ]; then
400 + enable_sse="--enable-sse2=yes" # --enable-avx=yes"
401 + fi
402 +- if [ "$mic" = 'yes' ]; then
403 +- echo " --configuring for mic (native mode)..."
404 +- echo
405 +- cd fftw-3.3 && \
406 +- ./configure --prefix=$AMBERHOME --libdir=$AMBERHOME/lib \
407 +- --enable-static --enable-shared --host=x86_64-k1om-linux \
408 +- --build=x86_64-unknown-linux \
409 +- $enable_mpi $mpicc $enable_debug \
410 +- CC="$cc -mmic" CFLAGS="$cflags $coptflags " \
411 +- F77="$fc -mmic" FFLAGS="$fflags $foptflags " \
412 +- FLIBS="$flibs_arch" \
413 +- > ../fftw3_config.log 2>&1
414 +- ncerror=$?
415 +- else
416 +- cd fftw-3.3 && \
417 +- ./configure --prefix=$AMBERHOME --libdir=$AMBERHOME/lib \
418 +- --enable-static --enable-shared \
419 +- $enable_mpi $mpicc $enable_debug $enable_sse\
420 +- CC="$cc" CFLAGS="$cflags $coptflags" \
421 +- F77="$fc" FFLAGS="$fflags $foptflags" \
422 +- FLIBS="$flibs_arch" \
423 +- > ../fftw3_config.log 2>&1
424 +- ncerror=$?
425 +- fi
426 +- if [ $ncerror -gt 0 ]; then
427 +- echo "Error: FFTW configure returned $ncerror"
428 +- echo " FFTW configure failed! Check the fftw3_config.log file"
429 +- echo " in the $AMBERHOME/AmberTools/src directory."
430 +- exit 1
431 +- else
432 +- echo " fftw-3.3 configure succeeded."
433 +- fi
434 +- cd ..
435 +- flibs_fftw3="-lfftw3"
436 ++# if [ "$mic" = 'yes' ]; then
437 ++# echo " --configuring for mic (native mode)..."
438 ++# echo
439 ++# cd fftw-3.3 && \
440 ++# ./configure --prefix=$AMBERHOME --libdir=$AMBERHOME/lib \
441 ++# --enable-static --enable-shared --host=x86_64-k1om-linux \
442 ++# --build=x86_64-unknown-linux \
443 ++# $enable_mpi $mpicc $enable_debug \
444 ++# CC="$cc -mmic" CFLAGS="$cflags $coptflags " \
445 ++# F77="$fc -mmic" FFLAGS="$fflags $foptflags " \
446 ++# FLIBS="$flibs_arch" \
447 ++# > ../fftw3_config.log 2>&1
448 ++# ncerror=$?
449 ++# else
450 ++# cd fftw-3.3 && \
451 ++# ./configure --prefix=$AMBERHOME --libdir=$AMBERHOME/lib \
452 ++# --enable-static --enable-shared \
453 ++# $enable_mpi $mpicc $enable_debug $enable_sse\
454 ++# CC="$cc" CFLAGS="$cflags $coptflags" \
455 ++# F77="$fc" FFLAGS="$fflags $foptflags" \
456 ++# FLIBS="$flibs_arch" \
457 ++# > ../fftw3_config.log 2>&1
458 ++# ncerror=$?
459 ++# fi
460 ++# if [ $ncerror -gt 0 ]; then
461 ++# echo "Error: FFTW configure returned $ncerror"
462 ++# echo " FFTW configure failed! Check the fftw3_config.log file"
463 ++# echo " in the $AMBERHOME/AmberTools/src directory."
464 ++# exit 1
465 ++# else
466 ++# echo " fftw-3.3 configure succeeded."
467 ++# fi
468 ++# cd ..
469 ++ flibs_fftw3="GENTOO_FFTW3_LIBS"
470 + fftw3="\$(LIBDIR)/libfftw3.a"
471 + if [ "$mpi" = 'yes' -a "$intelmpi" = 'no' ]; then
472 + flibs_fftw3="-lfftw3_mpi $flibs_fftw3"
473 +@@ -2701,23 +2701,23 @@ elif [ "$mdgx" = 'yes' ]; then
474 + if [ "$sse" = "yes" ]; then
475 + enable_sse="--enable-sse2=yes" # --enable-avx=yes"
476 + fi
477 +- cd fftw-3.3 && \
478 +- ./configure --prefix=$AMBERHOME --libdir=$AMBERHOME/lib \
479 +- --enable-static --enable-shared --disable-fortran \
480 +- $enable_debug $enable_sse\
481 +- CC="$cc" CFLAGS="$cflags $coptflags" \
482 +- > ../fftw3_config.log 2>&1
483 +- ncerror=$?
484 +- if [ $ncerror -gt 0 ]; then
485 +- echo "Error: FFTW configure returned $ncerror"
486 +- echo " FFTW configure failed! Check the fftw3_config.log file"
487 +- echo " in the $AMBERHOME/AmberTools/src directory."
488 +- exit 1
489 +- else
490 +- echo " fftw-3.3 configure succeeded."
491 +- fi
492 +- cd ..
493 +- flibs_fftw3="-lfftw3"
494 ++# cd fftw-3.3 && \
495 ++# ./configure --prefix=$AMBERHOME --libdir=$AMBERHOME/lib \
496 ++# --enable-static --enable-shared --disable-fortran \
497 ++# $enable_debug $enable_sse\
498 ++# CC="$cc" CFLAGS="$cflags $coptflags" \
499 ++# > ../fftw3_config.log 2>&1
500 ++# ncerror=$?
501 ++# if [ $ncerror -gt 0 ]; then
502 ++# echo "Error: FFTW configure returned $ncerror"
503 ++# echo " FFTW configure failed! Check the fftw3_config.log file"
504 ++# echo " in the $AMBERHOME/AmberTools/src directory."
505 ++# exit 1
506 ++# else
507 ++# echo " fftw-3.3 configure succeeded."
508 ++# fi
509 ++# cd ..
510 ++ flibs_fftw3="GENTOO_FFTW3_LIBS"
511 + fftw3="\$(LIBDIR)/libfftw3.a"
512 + else
513 + echo ""
514 +@@ -3162,7 +3162,7 @@ LDFLAGS=$ldflags \$(CUSTOMBUILDFLAGS) \$(AMBERBUILDFLAGS)
515 + AMBERLDFLAGS=\$(AMBERBUILDFLAGS)
516 +
517 + LEX= $lex
518 +-YACC= \$(BINDIR)/yacc
519 ++YACC= byacc
520 + AR= ar rv
521 + M4= $m4
522 + RANLIB=$ranlib
523 +@@ -3198,7 +3198,7 @@ CP=$localcp
524 + # Information about Fortran compilation:
525 +
526 + FC=$fc
527 +-FFLAGS= $fflags \$(LOCALFLAGS) \$(CUSTOMBUILDFLAGS) -I\$(INCDIR) \$(NETCDFINC) $mklinc \$(AMBERBUILDFLAGS)
528 ++FFLAGS= $fflags \$(LOCALFLAGS) \$(CUSTOMBUILDFLAGS) -IGENTOO_INCLUDE \$(NETCDFINC) $mklinc \$(AMBERBUILDFLAGS)
529 + FNOOPTFLAGS= $fnooptflags
530 + FOPTFLAGS= $foptflags
531 + AMBERFFLAGS=\$(AMBERBUILDFLAGS)
532 +diff --git a/AmberTools/src/cpptraj/src/Makefile_at b/AmberTools/src/cpptraj/src/Makefile_at
533 +index 977439f..4bf25c8 100644
534 +--- a/AmberTools/src/cpptraj/src/Makefile_at
535 ++++ b/AmberTools/src/cpptraj/src/Makefile_at
536 +@@ -10,7 +10,7 @@ CPPTRAJ_FLAGS= -I$(INCDIR) $(COPTFLAGS) $(CFLAGS) $(NETCDFINC)
537 + # NOTE: Since -nobintraj is possible and the dependency for netcdf is not
538 + # set correctly by configure there is no way this can work for netcdf
539 + READLINE_HOME=readline
540 +-READLINE=$(READLINE_HOME)/libreadline.a
541 ++READLINE=-lreadline
542 + EXTERNAL_LIBS=$(LIBDIR)/libarpack.a $(LIBDIR)/liblapack.a $(LIBDIR)/libblas.a $(READLINE)
543 +
544 + include cpptrajfiles
545 +@@ -45,7 +45,7 @@ depend: findDepend
546 + dependclean:
547 + /bin/rm -f FindDepend.o findDepend
548 +
549 +-cpptraj$(SFX): $(OBJECTS) pub_fft.o $(EXTERNAL_LIBS)
550 ++cpptraj$(SFX): $(OBJECTS) pub_fft.o
551 + $(CXX) $(WARNFLAGS) $(LDFLAGS) -o cpptraj$(SFX) $(OBJECTS) pub_fft.o \
552 + -L$(LIBDIR) $(NETCDFLIB) $(ZLIB) $(BZLIB) $(FLIBS_PTRAJ) $(READLINE)
553 +
554 +@@ -53,12 +53,12 @@ ambpdb$(SFX): $(AMBPDB_OBJECTS)
555 + $(CXX) $(WARNFLAGS) $(LDFLAGS) -o ambpdb$(SFX) $(AMBPDB_OBJECTS) \
556 + -L$(LIBDIR) $(NETCDFLIB) $(ZLIB) $(BZLIB)
557 +
558 +-cpptraj.sander$(SFX): $(OBJECTS) pub_fft.o $(EXTERNAL_LIBS) $(LIBDIR)/libsander.so
559 ++cpptraj.sander$(SFX): $(OBJECTS) pub_fft.o $(LIBDIR)/libsander.so
560 + $(CXX) $(WARNFLAGS) $(LDFLAGS) -o cpptraj.sander$(SFX) $(OBJECTS) pub_fft.o \
561 + -L$(LIBDIR) $(NETCDFLIB) $(ZLIB) $(BZLIB) $(FLIBS_PTRAJ) $(READLINE) \
562 + -lsander
563 +
564 +-libcpptraj$(SHARED_SUFFIX): $(OBJECTS) pub_fft.o $(EXTERNAL_LIBS)
565 ++libcpptraj$(SHARED_SUFFIX): $(OBJECTS) pub_fft.o
566 + $(CXX) $(MAKE_SHARED) $(WARNFLAGS) $(LDFLAGS) -o $@ $(OBJECTS) pub_fft.o \
567 + -L$(LIBDIR) $(NETCDFLIB) $(ZLIB) $(BZLIB) $(FLIBS_PTRAJ) $(READLINE)
568 +
569 +diff --git a/AmberTools/src/gbnsr6/Makefile b/AmberTools/src/gbnsr6/Makefile
570 +index 0d704cb..85042d4 100644
571 +--- a/AmberTools/src/gbnsr6/Makefile
572 ++++ b/AmberTools/src/gbnsr6/Makefile
573 +@@ -66,7 +66,7 @@ configured_serial: configured
574 + )
575 +
576 + #---------------------------------------------------------------------------
577 +-gbnsr6$(SFX): $(OBJ) syslib netlib c9x-complex configured_serial
578 ++gbnsr6$(SFX): $(OBJ) syslib configured_serial
579 + $(FC) $(PBSAFLAG) $(FPPFLAGS) $(FFLAGS) $(AMBERFFLAGS) -o gbnsr6$(SFX) $(OBJ) \
580 + ../lib/nxtsec.o ../lib/random.o \
581 + -L$(LIBDIR) $(FLIBSF) $(LDFLAGS) $(AMBERLDFLAGS)
582 +diff --git a/AmberTools/src/mdgx/Makefile b/AmberTools/src/mdgx/Makefile
583 +index 5751142..04e8e1c 100644
584 +--- a/AmberTools/src/mdgx/Makefile
585 ++++ b/AmberTools/src/mdgx/Makefile
586 +@@ -151,7 +151,7 @@ MDGX_HEADERS = \
587 + ptrajmask.h \
588 + AmberNetcdf.h
589 +
590 +-$(BINDIR)/mdgx$(SFX) : $(FFTW3) $(MDGX_OBJS)
591 ++$(BINDIR)/mdgx$(SFX) : $(MDGX_OBJS)
592 + $(CC) $(COPTFLAGS) $(CFLAGS) $(AMBERCFLAGS) $(LDFLAGS) \
593 + -o $@ $(MDGX_OBJS) -L$(LIBDIR) $(FLIBS_FFTW3) $(NETCDFLIB) $(LM)
594 +
595 +@@ -159,7 +159,7 @@ $(BINDIR)/mdgx.MPI$(SFX) : $(MDGX_OBJS)
596 + $(CC) $(COPTFLAGS) $(CFLAGS) $(AMBERCFLAGS) $(LDFLAGS) \
597 + -o $@ $(MDGX_OBJS) -L$(LIBDIR) $(FLIBSF) $(FLIBS_FFTW3) $(NETCDFLIB) $(LM)
598 +
599 +-$(LIBDIR)/libmdgx$(SHARED_SUFFIX): $(MDGX_OBJS) $(MDGXWRAP_OBJS) $(BINDIR)/ucpp
600 ++$(LIBDIR)/libmdgx$(SHARED_SUFFIX): $(MDGX_OBJS) $(MDGXWRAP_OBJS)
601 + $(CC) $(MAKE_SHARED) -o $@ $(CFLAGS) $(COPTFLAGS) -L$(LIBDIR) $(FLIBSF) \
602 + $(FLIBS_FFTW3) $(NETCDFLIB) $(LM) $(MDGX_OBJS) $(MDGXWRAP_OBJS)
603 + cp -p mdgxapi.h $(INCDIR)/mdgx.h
604 +diff --git a/AmberTools/src/nab/nab.c b/AmberTools/src/nab/nab.c
605 +index 2e90068..cf83aaa 100644
606 +--- a/AmberTools/src/nab/nab.c
607 ++++ b/AmberTools/src/nab/nab.c
608 +@@ -161,8 +161,8 @@ char *cppstring;
609 + fprintf( stderr, "AMBERHOME is not set!\n" );
610 + exit(1);
611 + }
612 +- sprintf( cmd, "%s/bin/%s %s -I%s/include %s ",
613 +- amberhome, CPP, cppstring, amberhome,
614 ++ sprintf( cmd, "%s %s -I%s/include %s ",
615 ++ CPP, cppstring, amberhome,
616 + argv[ ac ] ? argv[ ac ] : "" );
617 + if( cgdopt ) fprintf( stderr, "cpp cmd: %s\n", cmd );
618 + nfields = split( cmd, fields, " " );
619 +diff --git a/AmberTools/src/nmode/Makefile b/AmberTools/src/nmode/Makefile
620 +index 12acf35..4f26593 100644
621 +--- a/AmberTools/src/nmode/Makefile
622 ++++ b/AmberTools/src/nmode/Makefile
623 +@@ -87,12 +87,12 @@ LIBOBJ= ../lib/rfree.o ../lib/matinv.o ../lib/nxtsec.o \
624 + LIBOBJNOPATH= rfree.o matinv.o nxtsec.o \
625 + amopen.o rgroup.o
626 +
627 +-$(BINDIR)/nmode$(SFX): $(OBJ) libobj syslib netlib
628 ++$(BINDIR)/nmode$(SFX): $(OBJ) libobj syslib
629 + $(FC) $(FPPFLAGS) $(FFLAGS) $(AMBERFFLAGS) -o $(BINDIR)/nmode$(SFX) \
630 + $(OBJ) $(LIBOBJ) \
631 + ../lib/sys.a -L$(LIBDIR) $(FLIBSF) $(LDFLAGS) $(AMBERLDFLAGS)
632 +
633 +-nmanal$(SFX): $(OBJ1) libobj netlib binpos.o
634 ++nmanal$(SFX): $(OBJ1) libobj binpos.o
635 + $(FC) $(FPPFLAGS) $(FFLAGS) $(AMBERFFLAGS) -o nmanal$(SFX) \
636 + $(OBJ1) $(LIBOBJ) binpos.o \
637 + -L$(LIBDIR) $(FLIBSF) $(LDFLAGS) $(AMBERLDFLAGS)
638 +@@ -103,7 +103,7 @@ lmanal$(SFX): $(OBJ2) libobj binpos.o
639 + -L$(LIBDIR) $(FLIBSF) $(LDFLAGS) $(AMBERLDFLAGS)
640 +
641 + quasih$(SFX): quasih.o fileio.o thermo.o mexit.o \
642 +- syslib netlib libobj binpos.o
643 ++ syslib libobj binpos.o
644 + $(FC) $(FPPFLAGS) $(FFLAGS) $(AMBERFFLAGS) -o quasih$(SFX) \
645 + quasih.o fileio.o thermo.o mexit.o \
646 + $(LIBOBJ) binpos.o ../lib/sys.a -L$(LIBDIR) $(FLIBSF) \
647 +diff --git a/AmberTools/src/parmed/chemistry/unit/unit.py b/AmberTools/src/parmed/chemistry/unit/unit.py
648 +index 7767f39..a8d8a47 100644
649 +--- a/AmberTools/src/parmed/chemistry/unit/unit.py
650 ++++ b/AmberTools/src/parmed/chemistry/unit/unit.py
651 +@@ -612,7 +612,7 @@ class UnitSystem(object):
652 + to_base_units[m][n] = power
653 + try:
654 + self.from_base_units = ~to_base_units
655 +- except ArithmeticError, e:
656 ++ except ArithmeticError as e:
657 + raise ArithmeticError("UnitSystem is not a valid basis set. " + str(e))
658 +
659 + def __iter__(self):
660 +diff --git a/AmberTools/src/pbsa/Makefile b/AmberTools/src/pbsa/Makefile
661 +index 1b2c09a..6dc65a6 100644
662 +--- a/AmberTools/src/pbsa/Makefile
663 ++++ b/AmberTools/src/pbsa/Makefile
664 +@@ -148,23 +148,23 @@ configured_parallel: configured
665 + )
666 +
667 + #---------------------------------------------------------------------------
668 +-pbsa$(SFX): FFTW3 $(OBJ) syslib netlib c9x-complex configured_serial
669 ++pbsa$(SFX): $(OBJ) syslib configured_serial
670 + $(FC) $(PBSAFLAG) $(FPPFLAGS) $(FFLAGS) $(AMBERFFLAGS) -o pbsa$(SFX) $(OBJ) \
671 + ../lib/nxtsec.o ../lib/random.o $(FLIBS_FFTW3) \
672 + -L$(LIBDIR) $(FLIBSF) $(LDFLAGS) $(AMBERLDFLAGS)
673 +
674 +-pbsa.MPI$(SFX): FFTW3.MPI $(OBJ) syslib netlib c9x-complex configured_parallel
675 ++pbsa.MPI$(SFX): $(OBJ) syslib configured_parallel
676 + $(FC) $(PBSAFLAG) $(FPPFLAGS) $(FFLAGS) $(AMBERFFLAGS) -o pbsa.MPI$(SFX) $(OBJ) \
677 + ../lib/nxtsec.o ../lib/random.o $(FLIBS_FFTW3) \
678 + -L$(LIBDIR) $(FLIBSF) $(LDFLAGS) $(AMBERLDFLAGS)
679 +
680 +-simplepbsa$(SFX): simplepbsa.o gopt.o libpbsa.a sfflib syslib netlib c9x-complex
681 ++simplepbsa$(SFX): simplepbsa.o gopt.o libpbsa.a sfflib syslib
682 + $(FC) $(PBSAFLAG) $(FPPFLAGS) $(FFLAGS) $(AMBERFFLAGS) -o simplepbsa$(SFX) simplepbsa.o gopt.o \
683 + libpbsa.a $(LIBDIR)/libsff.a ../lib/nxtsec.o -L$(LIBDIR) $(FLIBSF) \
684 + $(LDFLAGS) $(AMBERLDFLAGS)
685 + /bin/mv simplepbsa$(SFX) $(BINDIR)
686 +
687 +-libpbsa.a: FFTW3 $(LIBPBSAOBJS) syslib
688 ++libpbsa.a: $(LIBPBSAOBJS) syslib
689 + -rm -f libpbsa.a
690 + $(AR) libpbsa.a $(LIBPBSAOBJS) ../lib/random.o
691 + $(RANLIB) libpbsa.a
692 +diff --git a/AmberTools/src/ptraj/Makefile b/AmberTools/src/ptraj/Makefile
693 +index df789e8..48227d5 100644
694 +--- a/AmberTools/src/ptraj/Makefile
695 ++++ b/AmberTools/src/ptraj/Makefile
696 +@@ -61,17 +61,16 @@ rdparm$(SFX): libs $(OBJECTS)
697 + $(CC) $(CFLAGS) $(AMBERCFLAGS) $(LDFLAGS) $(AMBERLDFLAGS) \
698 + -o rdparm$(SFX) $(OBJECTS) $(LIBS) $(NETCDFLIB) $(LM)
699 +
700 +-ptraj$(SFX): libs netlib $(OBJECTS)
701 ++ptraj$(SFX): libs $(OBJECTS)
702 + $(CC) $(CFLAGS) $(AMBERCFLAGS) $(LDFLAGS) $(AMBERLDFLAGS) \
703 + -o ptraj$(SFX) $(OBJECTS) $(LIBS) $(NETCDFLIB) $(LM)
704 +
705 +-ptraj.MPI$(SFX): libs netlib $(OBJECTS)
706 ++ptraj.MPI$(SFX): libs $(OBJECTS)
707 + $(CC) $(CFLAGS) $(AMBERCFLAGS) $(LDFLAGS) $(AMBERLDFLAGS) \
708 + -o ptraj.MPI$(SFX) $(OBJECTS) $(LIBS) $(PNETCDFLIB) $(LM)
709 +
710 + libs:
711 + cd pdb && $(MAKE)
712 +- cd ../arpack && $(MAKE)
713 +
714 + netlib:
715 + cd ../lapack && $(MAKE) $(LAPACK)
716 +diff --git a/AmberTools/src/sander/Makefile b/AmberTools/src/sander/Makefile
717 +index 9b9488c..67fe45a 100644
718 +--- a/AmberTools/src/sander/Makefile
719 ++++ b/AmberTools/src/sander/Makefile
720 +@@ -90,7 +90,7 @@ APBSOBJ= \
721 + file_io_dat.APBS.o apbs_vars.APBS.o apbs.APBS.o \
722 + constants.o state.o memory_module.o stack.o \
723 + nose_hoover.o nose_hoover_init.o \
724 +- trace.o rmsgrd.o lmod.o rand2.o lmodC.o xminC.o decomp.o \
725 ++ trace.o rmsgrd.o lmod.o rand2.o dsarpack.o lmodC.o xminC.o decomp.o \
726 + icosasurf.o egb.o remd.o findmask.o \
727 + relax_mat.o nmr.o multitmd.o \
728 + multisander.o sander.APBS.o trajene.o cshf.o nmrcal.o mtmdcall.o pearsn.o \
729 +@@ -138,7 +138,7 @@ SEBOMDLIB = ../sebomd/sebomd.a
730 +
731 + MMOBJ= file_io_dat.o constants.o state.o memory_module.o stack.o \
732 + nose_hoover.o nose_hoover_init.o \
733 +- trace.o rmsgrd.o lmod.o rand2.o lmodC.o xminC.o decomp.o \
734 ++ trace.o rmsgrd.o lmod.o rand2.o dsarpack.o lmodC.o xminC.o decomp.o \
735 + icosasurf.o egb.o remd.o findmask.o \
736 + relax_mat.o nmr.o multitmd.o \
737 + multisander.o sander.o trajene.o cshf.o nmrcal.o mtmdcall.o pearsn.o \
738 +@@ -159,7 +159,7 @@ MMOBJ= file_io_dat.o constants.o state.o memory_module.o stack.o \
739 +
740 + APIOBJ= file_io_dat.o constants.o state.o memory_module.o stack.o \
741 + nose_hoover.o nose_hoover_init.o \
742 +- trace.o rmsgrd.o lmod.o rand2.o lmodC.o xminC.o decomp.o \
743 ++ trace.o rmsgrd.o lmod.o rand2.o dsarpack.o lmodC.o xminC.o decomp.o \
744 + icosasurf.o egb.o remd.o findmask.o \
745 + relax_mat.o nmr.o multitmd.o \
746 + trajene.o cshf.o nmrcal.o mtmdcall.o pearsn.o \
747 +@@ -180,7 +180,7 @@ APIOBJ= file_io_dat.o constants.o state.o memory_module.o stack.o \
748 +
749 + LESAPIOBJ= memory_module.o stack.o file_io_dat.o les.o \
750 + constants.o state.o nose_hoover.o nose_hoover_init_LES.o \
751 +- trace.o rmsgrd.o rand2.o lmodC.o xminC.o decomp.o icosasurf.o \
752 ++ trace.o rmsgrd.o rand2.o dsarpack.o lmodC.o xminC.o decomp.o icosasurf.o \
753 + egb.LES.o remd.LES.o findmask.o relax_mat.o nmr.LES.o multitmd.o \
754 + cshf.o nmrcal.o mtmdcall.o pearsn.o cpparm.LES.o \
755 + printe.o runmin.o nonbond_list.LESAPI.o force.LES.o rdparm.LESAPI.o \
756 +@@ -209,7 +209,7 @@ PARTPIMDOBJ = pimd_vars.o pimd_force.LES.o pimd_init.LES.o cmd_vars.o cmd_matrix
757 +
758 + PUPILOBJ= file_io_dat.o constants.o state.o memory_module.o stack.o \
759 + nose_hoover.o nose_hoover_init.o \
760 +- trace.o rmsgrd.o lmod.o rand2.o lmodC.o xminC.o decomp.o \
761 ++ trace.o rmsgrd.o lmod.o rand2.o dsarpack.o lmodC.o xminC.o decomp.o \
762 + pupildata.o icosasurf.o egb.o findmask.o \
763 + relax_mat.o nmr.o multitmd.o \
764 + multisander.o sander.PUPIL.o trajene.o cshf.o nmrcal.o mtmdcall.o pearsn.o \
765 +@@ -233,7 +233,7 @@ LSCIVROBJ = lscivr_vars.o lsc_init.o lsc_xp.o
766 +
767 + LESOBJ= memory_module.o stack.o file_io_dat.o \
768 + constants.o state.o nose_hoover.o nose_hoover_init_LES.o \
769 +- trace.o rmsgrd.o rand2.o lmodC.o xminC.o decomp.o icosasurf.o \
770 ++ trace.o rmsgrd.o rand2.o dsarpack.o lmodC.o xminC.o decomp.o icosasurf.o \
771 + egb.LES.o remd.LES.o findmask.o \
772 + relax_mat.o nmr.LES.o multitmd.o \
773 + multisander.LES.o sander.LES.o cshf.o nmrcal.o mtmdcall.o pearsn.o \
774 +@@ -293,7 +293,7 @@ all_serial_programs: $(SERIALPROGS)
775 + $(BINDIR)/sander$(SFX): libsqm $(MMOBJ) $(QMOBJ) $(FULLPIMDOBJ) $(EMIL) \
776 + $(SEBOMDOBJ) sebomd \
777 + $(LSCIVROBJ) force.o syslib \
778 +- ../lib/nxtsec.o netlib configured_serial \
779 ++ ../lib/nxtsec.o configured_serial \
780 + $(NCSU_OBJECTS) $(XRAY_OBJS) libpbsa librism $(PLUMED_DEPENDENCIES)
781 + $(FC) $(FPPFLAGS) $(FFLAGS) $(AMBERFFLAGS) -o $@ $(MMOBJ) $(QMOBJ) $(SEBOMDOBJ) \
782 + $(FULLPIMDOBJ) $(LSCIVROBJ) force.o -L$(LIBDIR) -lsqm \
783 +@@ -308,7 +308,7 @@ $(BINDIR)/sander$(SFX): libsqm $(MMOBJ) $(QMOBJ) $(FULLPIMDOBJ) $(EMIL) \
784 + $(BINDIR)/sander.MPI$(SFX): libsqm $(MMOBJ) $(QMOBJ) $(FULLPIMDOBJ) $(EMIL) \
785 + $(LSCIVROBJ) $(EVBOBJ) force.o \
786 + $(SEBOMDOBJ) sebomd $(XRAY_OBJS) \
787 +- syslib ../lib/nxtsec.o netlib libpbsa librism_mpi configured_parallel $(NCSU_OBJECTS) \
788 ++ syslib ../lib/nxtsec.o libpbsa librism_mpi configured_parallel $(NCSU_OBJECTS) \
789 + $(PLUMED_DEPENDENCIES)
790 + $(FC) $(FPPFLAGS) $(FFLAGS) $(AMBERFFLAGS) -o $@ $(MMOBJ) $(QMOBJ) $(SEBOMDOBJ) \
791 + $(FULLPIMDOBJ) $(LSCIVROBJ) $(EVBOBJ) force.o \
792 +@@ -323,7 +323,7 @@ $(BINDIR)/sander.MPI$(SFX): libsqm $(MMOBJ) $(QMOBJ) $(FULLPIMDOBJ) $(EMIL) \
793 + $(BINDIR)/sander.PUPIL$(SFX): libsqm $(PUPILOBJ) $(QMOBJ) $(FULLPIMDOBJ) $(EMIL) \
794 + $(LSCIVROBJ) syslib $(XRAY_OBJS) \
795 + $(SEBOMDOBJ) sebomd \
796 +- ../lib/nxtsec.o netlib libpbsa librism configured_serial $(NCSU_OBJECTS) \
797 ++ ../lib/nxtsec.o libpbsa librism configured_serial $(NCSU_OBJECTS) \
798 + $(PLUMED_DEPENDENCIES)
799 + $(FC) $(FPPFLAGS) $(FFLAGS) $(AMBERFFLAGS) -o $@ $(PUPILOBJ) $(QMOBJ) $(SEBOMDOBJ) $(FULLPIMDOBJ) \
800 + $(LSCIVROBJ) -L$(LIBDIR) -lsqm -lFpbsa \
801 +@@ -335,7 +335,7 @@ $(BINDIR)/sander.PUPIL$(SFX): libsqm $(PUPILOBJ) $(QMOBJ) $(FULLPIMDOBJ) $(EMIL)
802 +
803 + #---------------------------------------------------------------------------
804 + $(BINDIR)/sander.LES$(SFX): libsqm $(LESOBJ) $(PARTPIMDOBJ) syslib \
805 +- ../lib/nxtsec.o netlib \
806 ++ ../lib/nxtsec.o \
807 + $(LSCIVROBJ) $(NCSU_OBJECTS) $(XRAY_OBJS) configured_serial \
808 + libpbsa librism $(EMIL) sebomd $(PLUMED_DEPENDENCIES)
809 + $(FC) $(FPPFLAGS) $(FFLAGS) $(AMBERFFLAGS) -o $@ $(LESOBJ) $(PARTPIMDOBJ) $(LSCIVROBJ) \
810 +@@ -348,7 +348,7 @@ $(BINDIR)/sander.LES$(SFX): libsqm $(LESOBJ) $(PARTPIMDOBJ) syslib \
811 + #---------------------------------------------------------------------------
812 + $(BINDIR)/sander.LES.MPI$(SFX): libsqm $(LESOBJ) $(EVBPIMD) \
813 + $(PARTPIMDOBJ) syslib ../lib/nxtsec.o \
814 +- netlib libpbsa librism_mpi $(EMIL) $(XRAY_OBJS) \
815 ++ libpbsa librism_mpi $(EMIL) $(XRAY_OBJS) \
816 + $(LSCIVROBJ) $(NCSU_OBJECTS) sebomd configured_parallel $(PLUMED_DEPENDENCIES)
817 + $(FC) $(FPPFLAGS) $(FFLAGS) $(AMBERFFLAGS) -o $@ $(LESOBJ) $(EVBPIMD) \
818 + $(PARTPIMDOBJ) $(LSCIVROBJ) $(XRAY_OBJS) \
819 +@@ -363,7 +363,7 @@ $(BINDIR)/sander.APBS$(SFX): libsqm $(APBSOBJ) $(QMOBJ) \
820 + $(LSCIVROBJ) $(FULLPIMDOBJ) $(NCSU_OBJECTS) \
821 + force.APBS.o syslib librism $(EMIL) \
822 + $(SEBOMDOBJ) sebomd $(XRAY_OBJS) \
823 +- ../lib/nxtsec.o netlib configured_serial $(PLUMED_DEPENDENCIES)
824 ++ ../lib/nxtsec.o configured_serial $(PLUMED_DEPENDENCIES)
825 + $(FC) $(FPPFLAGS) $(FFLAGS) $(AMBERFFLAGS) -o $@ $(APBSOBJ) $(QMOBJ) $(SEBOMDOBJ) \
826 + $(FULLPIMDOBJ) $(LSCIVROBJ) force.APBS.o \
827 + -L$(APBS_LIBDIR) $(APBS_LIBS) \
828 +@@ -386,7 +386,7 @@ $(BINDIR)/ambmask$(SFX): ambmask.o findmask.o amopen.o parms.o \
829 + $(LIBDIR)/libsander$(SHARED_SUFFIX): libsqm $(APIOBJ) $(QMAPIOBJ) $(FULLPIMDOBJ) $(EMIL) \
830 + $(SEBOMDOBJ) sebomd $(INCDIR)/sander_api.mod \
831 + $(LSCIVROBJ) force.o syslib $(PLUMED_DEPENDENCIES) \
832 +- ../lib/nxtsec.o netlib configured_serial \
833 ++ ../lib/nxtsec.o configured_serial \
834 + $(NCSU_OBJECTS) $(XRAY_OBJS) libpbsa librism
835 + $(FC) $(MAKE_SHARED) $(FPPFLAGS) $(FFLAGS) $(AMBERFFLAGS) -o $@ $(APIOBJ) \
836 + $(QMAPIOBJ) $(SEBOMDOBJ) $(FULLPIMDOBJ) $(LSCIVROBJ) force.o \
837 +@@ -399,7 +399,7 @@ $(LIBDIR)/libsander$(SHARED_SUFFIX): libsqm $(APIOBJ) $(QMAPIOBJ) $(FULLPIMDOBJ)
838 + $(LIOLIBS) $(PLUMED_LOAD)
839 +
840 + $(LIBDIR)/libsanderles$(SHARED_SUFFIX): libsqm $(LESAPIOBJ) $(PARTPIMDOBJ) $(QMAPIOBJ) syslib \
841 +- ../lib/nxtsec.o netlib $(INCDIR)/sanderles_api.mod \
842 ++ ../lib/nxtsec.o $(INCDIR)/sanderles_api.mod \
843 + $(LSCIVROBJ) $(NCSU_OBJECTS) $(XRAY_OBJS) configured_serial \
844 + libpbsa librism $(EMIL) sebomd $(PLUMED_DEPENDENCIES)
845 + $(FC) $(MAKE_SHARED) $(FPPFLAGS) $(FFLAGS) $(AMBERFFLAGS) \
846 +@@ -452,6 +452,10 @@ rand2.o: ../sff/rand2.c
847 + $(CC) -c $(CNOOPTFLAGS) $(CFLAGS) $(AMBERCFLAGS) \
848 + -o rand2.o ../sff/rand2.c
849 +
850 ++dsarpack.o: ../sff/dsarpack.f
851 ++ $(CC) -c -DSQM $(CNOOPTFLAGS) $(CFLAGS) $(AMBERCFLAGS) \
852 ++ -o dsarpack.o ../sff/dsarpack.f
853 ++
854 + lmodC.o: ../sff/lmodC.c
855 + $(CC) -c -DSQM $(CNOOPTFLAGS) $(CFLAGS) $(AMBERCFLAGS) \
856 + -o lmodC.o ../sff/lmodC.c
857 +diff --git a/AmberTools/src/sander/depend b/AmberTools/src/sander/depend
858 +index 67cc33b..b8667d7 100644
859 +--- a/AmberTools/src/sander/depend
860 ++++ b/AmberTools/src/sander/depend
861 +@@ -5774,7 +5774,7 @@ yammpnb.o: \
862 + yammpnb.o: yammpnb.F90
863 + $(FC) $(FWARNFLAGS) $(FPPFLAGS) -c $(FOPTFLAGS) $(FFLAGS) $(AMBERFFLAGS) $(RISMSANDER) -o $@ yammpnb.F90
864 +
865 +-netcdf.o: $(NETCDF)
866 ++netcdf.o:
867 + test -e $@ || touch netcdf.o
868 +
869 + AmberNetcdf.o: ../lib/AmberNetcdf.F90
870 +diff --git a/AmberTools/src/sander/makedepend b/AmberTools/src/sander/makedepend
871 +index 05c04c4..a18d979 100755
872 +--- a/AmberTools/src/sander/makedepend
873 ++++ b/AmberTools/src/sander/makedepend
874 +@@ -232,7 +232,7 @@ foreach $file ( <*.F90> ){
875 + }
876 +
877 + # special "compilation rule" for netcdf.o
878 +-printf "netcdf.o: \$(NETCDF)\n\ttest -e \$\@ || touch netcdf.o\n\n";
879 ++printf "netcdf.o:\n\ttest -e \$\@ || touch netcdf.o\n\n";
880 +
881 + # special compilation rule for AmberNetcdf.o, random.o, and constants.o
882 + printf "AmberNetcdf.o: ../lib/AmberNetcdf.F90\n";
883 +diff --git a/AmberTools/src/sander/sander.h b/AmberTools/src/sander/sander.h
884 +index e4ca7e3..23cb216 100644
885 +--- a/AmberTools/src/sander/sander.h
886 ++++ b/AmberTools/src/sander/sander.h
887 +@@ -47,7 +47,7 @@
888 + // Workaround for strange behavior of clang compiler -- clang C doesn't seem to
889 + // like the inline specifier on any of these functions, but clang++ handles it
890 + // just fine.
891 +-#if defined(__cplusplus) || !defined(__clang__)
892 ++#if defined(__cplusplus)
893 + # define INLINE inline
894 + #else
895 + # define INLINE
896 +diff --git a/AmberTools/src/sff/Makefile b/AmberTools/src/sff/Makefile
897 +index 228625a..88d5531 100644
898 +--- a/AmberTools/src/sff/Makefile
899 ++++ b/AmberTools/src/sff/Makefile
900 +@@ -3,7 +3,7 @@ include ../config.h
901 + .c.o:
902 + $(CC) -c -Dflex $(COPTFLAGS) $(CFLAGS) $(AMBERCFLAGS) $(RISMSFF) $(NETCDFINC) -o $@ $<
903 +
904 +-OBJS = binpos.o conjgrad.o lmodC.o memutil.o nblist.o newton.o nmode.o \
905 ++OBJS = binpos.o conjgrad.o dsarpack.o lmodC.o memutil.o nblist.o newton.o nmode.o \
906 + prm.o rand2.o sasad.o sff.o time.o xminC.o AmberNetcdf.o atomic_number.o $(SFF_RISM_INTERFACE)
907 +
908 +
909 +@@ -65,7 +65,7 @@ xminC.o: sff.h
910 + AmberNetcdf.o: AmberNetcdf.h
911 +
912 + hcp_getpdb: hcp_getpdb.c
913 +- $(CC) -o $(BINDIR)/hcp_getpdb hcp_getpdb.c
914 ++ $(CC) $(CFLAGS) $(LDFLAGS) -o $(BINDIR)/hcp_getpdb hcp_getpdb.c
915 +
916 + .PHONY: ../rism/amber_rism_interface.NAB.o
917 + ../rism/amber_rism_interface.NAB.o:
918 +diff --git a/AmberTools/src/sff/dsarpack.f b/AmberTools/src/sff/dsarpack.f
919 +new file mode 100644
920 +index 0000000..5544df9
921 +--- /dev/null
922 ++++ b/AmberTools/src/sff/dsarpack.f
923 +@@ -0,0 +1,654 @@
924 ++ subroutine dsarpack(n_dim,n_eig_in,n_eig_out,ncv_in,itr_in,
925 ++ & eigval_tol,eigvals,eigvecs,spectrum,
926 ++ & need_eigvecs,ierr,debug_arpack,
927 ++ & v,workl,workd,d,resid,ax,select,
928 ++ & xyz,grad,return_flag,label)
929 ++c
930 ++ implicit none
931 ++c
932 ++c %-----------------%
933 ++c | Dummy Arguments |
934 ++c %-----------------%
935 ++c
936 ++ integer n_dim,n_eig_in,n_eig_out,ncv_in,itr_in,spectrum,
937 ++ & need_eigvecs,ierr,debug_arpack,return_flag,label
938 ++ Double precision eigval_tol
939 ++ Double precision eigvals(n_eig_in),eigvecs(n_dim * n_eig_in)
940 ++ Double precision v(n_dim,ncv_in),
941 ++ & workl(ncv_in*(ncv_in+8)),workd(3*n_dim),
942 ++ & d(ncv_in,2),resid(n_dim),ax(n_dim),
943 ++ & xyz(n_dim),grad(n_dim)
944 ++ logical select(ncv_in)
945 ++c
946 ++ save
947 ++c
948 ++c %---------------%
949 ++c | Include Files |
950 ++c %---------------%
951 ++c
952 ++c include 'debug.h'
953 ++c
954 ++c\SCCS Information: @(#)
955 ++c FILE: debug.h SID: 2.3 DATE OF SID: 11/16/95 RELEASE: 2
956 ++c
957 ++c %---------------------------------%
958 ++c | See debug.doc for documentation |
959 ++c %---------------------------------%
960 ++ integer logfil, ndigit, mgetv0,
961 ++ & msaupd, msaup2, msaitr, mseigt, msapps, msgets, mseupd,
962 ++ & mnaupd, mnaup2, mnaitr, mneigh, mnapps, mngets, mneupd,
963 ++ & mcaupd, mcaup2, mcaitr, mceigh, mcapps, mcgets, mceupd
964 ++ common /debug/
965 ++ & logfil, ndigit, mgetv0,
966 ++ & msaupd, msaup2, msaitr, mseigt, msapps, msgets, mseupd,
967 ++ & mnaupd, mnaup2, mnaitr, mneigh, mnapps, mngets, mneupd,
968 ++ & mcaupd, mcaup2, mcaitr, mceigh, mcapps, mcgets, mceupd
969 ++c
970 ++c This code shows how to use ARPACK to find a few eigenvalues
971 ++c (lambda) and corresponding eigenvectors (x) for the standard
972 ++c eigenvalue problem:
973 ++c
974 ++c A*x = lambda*x
975 ++c
976 ++c where A is an n by n real symmetric matrix.
977 ++c
978 ++c The main points illustrated here are
979 ++c
980 ++c 1) How to declare sufficient memory to find NEV
981 ++c eigenvalues of largest magnitude. Other options
982 ++c are available.
983 ++c
984 ++c 2) Illustration of the reverse communication interface
985 ++c needed to utilize the top level ARPACK routine DSAUPD
986 ++c that computes the quantities needed to construct
987 ++c the desired eigenvalues and eigenvectors(if requested).
988 ++c
989 ++c 3) How to extract the desired eigenvalues and eigenvectors
990 ++c using the ARPACK routine DSEUPD.
991 ++c
992 ++c The only thing that must be supplied in order to use this
993 ++c routine on your problem is to change the array dimensions
994 ++c appropriately, to specify WHICH eigenvalues you want to compute
995 ++c and to supply a matrix-vector product
996 ++c
997 ++c w <- Av
998 ++c
999 ++c in place of the call to AV( ) below.
1000 ++c
1001 ++c Once usage of this routine is understood, you may wish to explore
1002 ++c the other available options to improve convergence, to solve generalized
1003 ++c problems, etc. Look at the file ex-sym.doc in DOCUMENTS directory.
1004 ++c This codes implements
1005 ++c
1006 ++c\Example-1
1007 ++c ... Suppose we want to solve A*x = lambda*x in regular mode,
1008 ++c where A is derived from the central difference discretization
1009 ++c of the 2-dimensional Laplacian on the unit square with
1010 ++c zero Dirichlet boundary condition.
1011 ++c ... OP = A and B = I.
1012 ++c ... Assume "call av (n,x,y)" computes y = A*x
1013 ++c ... Use mode 1 of DSAUPD.
1014 ++c
1015 ++c\BeginLib
1016 ++c
1017 ++c\Routines called:
1018 ++c dsaupd ARPACK reverse communication interface routine.
1019 ++c dseupd ARPACK routine that returns Ritz values and (optionally)
1020 ++c Ritz vectors.
1021 ++c dnrm2 Level 1 BLAS that computes the norm of a vector.
1022 ++c daxpy Level 1 BLAS that computes y <- alpha*x+y.
1023 ++c
1024 ++c\Author
1025 ++c Richard Lehoucq
1026 ++c Danny Sorensen
1027 ++c Chao Yang
1028 ++c Dept. of Computational &
1029 ++c Applied Mathematics
1030 ++c Rice University
1031 ++c Houston, Texas
1032 ++c
1033 ++c\SCCS Information: %Z%
1034 ++c FILE: %M% SID: %I% DATE OF SID: %G% RELEASE: %R%
1035 ++c
1036 ++c\Remarks
1037 ++c 1. None
1038 ++c
1039 ++c\EndLib
1040 ++c
1041 ++c-----------------------------------------------------------------------
1042 ++c
1043 ++c %-------------------------------------------------------%
1044 ++c | Storage Declarations: |
1045 ++c | |
1046 ++c | The maximum dimensions for all arrays are |
1047 ++c | set here to accommodate a problem size of |
1048 ++c | N .le. MAXN |
1049 ++c | |
1050 ++c | NEV is the number of eigenvalues requested. |
1051 ++c | See specifications for ARPACK usage below. |
1052 ++c | |
1053 ++c | NCV is the largest number of basis vectors that will |
1054 ++c | be used in the Implicitly Restarted Arnoldi |
1055 ++c | Process. Work per major iteration is |
1056 ++c | proportional to N*NCV*NCV. |
1057 ++c | |
1058 ++c | You must set: |
1059 ++c | |
1060 ++c | MAXN: Maximum dimension of the A allowed. (dynamic) |
1061 ++c | MAXNEV: Maximum NEV allowed. (dynamic) |
1062 ++c | MAXNCV: Maximum NCV allowed. (dynamic) |
1063 ++c %-------------------------------------------------------%
1064 ++c
1065 ++C %--------------------------------------%
1066 ++C | F90 Allocatable Arrays (on the heap) |
1067 ++C %--------------------------------------%
1068 ++c
1069 ++C Double precision,allocatable,save :: v(:,:)
1070 ++C integer,save :: v_row_allocated = 0, v_col_allocated = 0
1071 ++c
1072 ++c %----------------------------------------------%
1073 ++c | Originally, as F77 parameters, the following |
1074 ++c | integers were used to dimension work arrays. |
1075 ++c | They are replaced by dummy arguments used to |
1076 ++c | dimension the work arrays as F90 automatic |
1077 ++c | arrays, but the integers are still used for |
1078 ++c | passing the dimensions to lower level ARPACK |
1079 ++c | routines dsaupd, dseupd and dmout. |
1080 ++c %----------------------------------------------%
1081 ++c
1082 ++ integer maxn, maxnev, maxncv, ldv
1083 ++c
1084 ++c %-------------------------------------------%
1085 ++c | Local F90 Automatic Arrays (on the stack) |
1086 ++c %-------------------------------------------%
1087 ++c
1088 ++ Double precision
1089 ++C & workl(ncv_in*(ncv_in+8)),
1090 ++C & workd(3*n_dim), d(ncv_in,2), resid(n_dim),
1091 ++C & ax(n_dim),
1092 ++ & cg_dstat(4)
1093 ++C logical select(ncv_in)
1094 ++ integer iparam(11), ipntr(11),
1095 ++ & cg_istat(4)
1096 ++c
1097 ++c %---------------%
1098 ++c | Local Scalars |
1099 ++c %---------------%
1100 ++c
1101 ++ character bmat*1, which*2
1102 ++ integer ido, n, nev, ncv, lworkl, info,
1103 ++ & i, j, nx, ishfts, maxitr, mode1, nconv
1104 ++ integer L12, L18, ARPACK_ERROR, status_flag
1105 ++ data L12, L18, ARPACK_ERROR /1, 2, -2/
1106 ++C integer v_row_needed, v_col_needed
1107 ++ logical rvec
1108 ++ Double precision
1109 ++ & tol, sigma
1110 ++c
1111 ++c %------------%
1112 ++c | Parameters |
1113 ++c %------------%
1114 ++c
1115 ++ Double precision
1116 ++ & zero
1117 ++ parameter (zero = 0.0D+0)
1118 ++c
1119 ++c %-----------------------------%
1120 ++c | BLAS & LAPACK routines used |
1121 ++c %-----------------------------%
1122 ++c
1123 ++ Double precision
1124 ++ & dnrm2
1125 ++ external dnrm2, daxpy, hessvec
1126 ++c
1127 ++c %--------------------%
1128 ++c | Intrinsic function |
1129 ++c %--------------------%
1130 ++c
1131 ++ intrinsic abs
1132 ++c
1133 ++c %-----------------------%
1134 ++c | Executable Statements |
1135 ++c %-----------------------%
1136 ++c
1137 ++ if ( label.eq.0 ) go to 1
1138 ++ go to (12,18) label
1139 ++ 1 continue
1140 ++c
1141 ++c %------------------------------------------------%
1142 ++c | Values used to calculate work array dimensions |
1143 ++c %------------------------------------------------%
1144 ++c
1145 ++ maxn = n_dim
1146 ++ maxnev = n_eig_in
1147 ++ maxncv = ncv_in
1148 ++ ldv = maxn
1149 ++c
1150 ++c %---------------------------------------------------%
1151 ++c | The include debug.h statement above and |
1152 ++c | assignments here initiate trace output from the |
1153 ++c | internal actions of ARPACK. See debug.doc in the |
1154 ++c | DOCUMENTS directory for usage. Initially, the |
1155 ++c | most useful information will be a breakdown of |
1156 ++c | time spent in the various stages of computation |
1157 ++c | given by setting msaupd = 1. |
1158 ++c %---------------------------------------------------%
1159 ++c
1160 ++ ndigit = -5
1161 ++ logfil = 6
1162 ++ msgets = 0
1163 ++ msaitr = 0
1164 ++ msapps = 0
1165 ++ if ( debug_arpack.eq.1 ) then
1166 ++ msaupd = 1
1167 ++ else
1168 ++ msaupd = 0
1169 ++ endif
1170 ++ msaup2 = 0
1171 ++ mseigt = 0
1172 ++ mseupd = 0
1173 ++c
1174 ++c *** Allocatable array v will be allowed to grow to its largest size;
1175 ++c *** it is never deallocated:
1176 ++C v_row_needed = n_dim !!! ldv
1177 ++C v_col_needed = ncv_in !!! maxncv
1178 ++C if( allocated(v) )then
1179 ++C if( (v_row_needed .gt. v_row_allocated)
1180 ++C & .or. (v_col_needed .gt. v_col_allocated) )then
1181 ++C deallocate(v,stat=ierr)
1182 ++C if( ierr .ne. 0 )then
1183 ++C write( logfil, '(a,i16,1x,i8)' )
1184 ++C & 'ARPACK: could not deallocate v'
1185 ++C go to 9000
1186 ++C endif
1187 ++C endif
1188 ++C endif
1189 ++C if( .not. allocated(v) )then
1190 ++C allocate( v(v_row_needed,v_col_needed), stat=ierr )
1191 ++C if( ierr .ne. 0 )then
1192 ++C write( logfil, '(a,2i10)' )
1193 ++C & 'ARPACK: could not allocate v'
1194 ++C go to 9000
1195 ++C endif
1196 ++C v_row_allocated = v_row_needed
1197 ++C v_col_allocated = v_col_needed
1198 ++C endif
1199 ++C v = zero !!! zero out entire v array
1200 ++c
1201 ++c %-------------------------------------------------%
1202 ++c | The following sets dimensions for this problem. |
1203 ++c %-------------------------------------------------%
1204 ++c
1205 ++ n = n_dim
1206 ++c
1207 ++c %----------------------------------------------%
1208 ++c | |
1209 ++c | Specifications for ARPACK usage are set |
1210 ++c | below: |
1211 ++c | |
1212 ++c | 1) NEV = N_EIG_IN asks for N_EIG_IN |
1213 ++c | eigenvalues to be computed. |
1214 ++c | |
1215 ++c | 2) NCV = NCV_IN sets the length of the |
1216 ++c | Arnoldi factorization |
1217 ++c | |
1218 ++c | 3) This is a standard problem |
1219 ++c | (indicated by bmat = 'I') |
1220 ++c | |
1221 ++c | 4) Ask for the NEV eigenvalues of |
1222 ++c | smallest magnitude |
1223 ++c | (indicated by which = 'SM') |
1224 ++c | See documentation in SSAUPD for the |
1225 ++c | other options SA, LA, LM, BE. |
1226 ++c | |
1227 ++c | Note: NEV and NCV must satisfy the following |
1228 ++c | conditions: |
1229 ++c | NEV <= MAXNEV |
1230 ++c | NEV + 1 <= NCV <= MAXNCV |
1231 ++c %----------------------------------------------%
1232 ++c
1233 ++ nev = n_eig_in
1234 ++ ncv = ncv_in
1235 ++ bmat = 'I'
1236 ++ if ( spectrum .eq. 1 ) then
1237 ++ which = 'SM'
1238 ++ else if ( spectrum .eq. 2 ) then
1239 ++ which = 'SA'
1240 ++ else if ( spectrum .eq. 3 ) then
1241 ++ which = 'LM'
1242 ++ else if ( spectrum .eq. 4 ) then
1243 ++ which = 'LA'
1244 ++ else if ( spectrum .eq. 5 ) then
1245 ++ which = 'BE'
1246 ++ else
1247 ++ print *, ' ERROR with _SSIMP: Spectrum .NE. (SM|SA|LA|LM|BE)'
1248 ++ go to 9000
1249 ++ end if
1250 ++c
1251 ++ if ( n .gt. maxn ) then
1252 ++ print *, ' ERROR with _SSIMP: N is greater than MAXN '
1253 ++ go to 9000
1254 ++ else if ( nev .gt. maxnev ) then
1255 ++ print *, ' ERROR with _SSIMP: NEV is greater than MAXNEV '
1256 ++ go to 9000
1257 ++ else if ( ncv .gt. maxncv ) then
1258 ++ print *, ' ERROR with _SSIMP: NCV is greater than MAXNCV '
1259 ++ go to 9000
1260 ++ end if
1261 ++c
1262 ++c %-----------------------------------------------------%
1263 ++c | |
1264 ++c | Specification of stopping rules and initial |
1265 ++c | conditions before calling DSAUPD |
1266 ++c | |
1267 ++c | TOL determines the stopping criterion. |
1268 ++c | |
1269 ++c | Expect |
1270 ++c | abs(lambdaC - lambdaT) < TOL*abs(lambdaC) |
1271 ++c | computed true |
1272 ++c | |
1273 ++c | If TOL .le. 0, then TOL <- macheps |
1274 ++c | (machine precision) is used. |
1275 ++c | |
1276 ++c | IDO is the REVERSE COMMUNICATION parameter |
1277 ++c | used to specify actions to be taken on return |
1278 ++c | from DSAUPD. (See usage below.) |
1279 ++c | |
1280 ++c | It MUST initially be set to 0 before the first |
1281 ++c | call to DSAUPD. |
1282 ++c | |
1283 ++c | INFO on entry specifies starting vector information |
1284 ++c | and on return indicates error codes |
1285 ++c | |
1286 ++c | Initially, setting INFO=0 indicates that a |
1287 ++c | random starting vector is requested to |
1288 ++c | start the ARNOLDI iteration. Setting INFO to |
1289 ++c | a nonzero value on the initial call is used |
1290 ++c | if you want to specify your own starting |
1291 ++c | vector (This vector must be placed in RESID.) |
1292 ++c | |
1293 ++c | The work array WORKL is used in DSAUPD as |
1294 ++c | workspace. Its dimension LWORKL is set as |
1295 ++c | illustrated below. |
1296 ++c | |
1297 ++c %-----------------------------------------------------%
1298 ++c
1299 ++ lworkl = ncv*(ncv+8)
1300 ++ tol = eigval_tol
1301 ++ info = 0
1302 ++ ido = 0
1303 ++c
1304 ++c %---------------------------------------------------%
1305 ++c | Specification of Algorithm Mode: |
1306 ++c | |
1307 ++c | This program uses the exact shift strategy |
1308 ++c | (indicated by setting PARAM(1) = 1). |
1309 ++c | IPARAM(3) specifies the maximum number of Arnoldi |
1310 ++c | iterations allowed. Mode 1 of DSAUPD is used |
1311 ++c | (IPARAM(7) = 1). All these options can be changed |
1312 ++c | by the user. For details see the documentation in |
1313 ++c | DSAUPD. |
1314 ++c %---------------------------------------------------%
1315 ++c
1316 ++ ishfts = 1
1317 ++ maxitr = itr_in
1318 ++ mode1 = 1
1319 ++c
1320 ++ iparam(1) = ishfts
1321 ++c
1322 ++ iparam(3) = maxitr
1323 ++c
1324 ++ iparam(7) = mode1
1325 ++c
1326 ++c %------------------------------------------------%
1327 ++c | M A I N L O O P (Reverse communication loop) |
1328 ++c %------------------------------------------------%
1329 ++c
1330 ++ 10 continue
1331 ++c
1332 ++c %---------------------------------------------%
1333 ++c | Repeatedly call the routine DSAUPD and take |
1334 ++c | actions indicated by parameter IDO until |
1335 ++c | either convergence is indicated or maxitr |
1336 ++c | has been exceeded. |
1337 ++c %---------------------------------------------%
1338 ++c
1339 ++ call dsaupd ( ido, bmat, n, which, nev, tol, resid,
1340 ++ & ncv, v, ldv, iparam, ipntr, workd, workl,
1341 ++ & lworkl, info )
1342 ++c
1343 ++ if (ido .eq. -1 .or. ido .eq. 1) then
1344 ++c
1345 ++c %--------------------------------------%
1346 ++c | Perform matrix vector multiplication |
1347 ++c | y <--- OP*x |
1348 ++c | The user should supply his/her own |
1349 ++c | matrix vector multiplication routine |
1350 ++c | here that takes workd(ipntr(1)) as |
1351 ++c | the input, and return the result to |
1352 ++c | workd(ipntr(2)). |
1353 ++c %--------------------------------------%
1354 ++c
1355 ++ status_flag = 0
1356 ++ 11 continue
1357 ++ call hessvec ( n, workd(ipntr(1)), workd(ipntr(2)),
1358 ++ & xyz, grad, return_flag, status_flag )
1359 ++ if ( status_flag.eq.0 ) go to 13
1360 ++ if ( status_flag.lt.0 ) go to 9000
1361 ++ label = L12
1362 ++ return
1363 ++ 12 go to 11
1364 ++ 13 continue
1365 ++c
1366 ++c %-----------------------------------------%
1367 ++c | L O O P B A C K to call DSAUPD again. |
1368 ++c %-----------------------------------------%
1369 ++c
1370 ++ go to 10
1371 ++c
1372 ++ end if
1373 ++c
1374 ++c %----------------------------------------%
1375 ++c | Either we have convergence or there is |
1376 ++c | an error. |
1377 ++c %----------------------------------------%
1378 ++c
1379 ++ if ( info .lt. 0 ) then
1380 ++c
1381 ++c %--------------------------%
1382 ++c | Error message. Check the |
1383 ++c | documentation in DSAUPD. |
1384 ++c %--------------------------%
1385 ++c
1386 ++ print *, ' '
1387 ++ print *, ' Error with _saupd, info = ', info
1388 ++ print *, ' Check documentation in _saupd '
1389 ++ print *, ' '
1390 ++ go to 9000
1391 ++c
1392 ++ else
1393 ++c
1394 ++c %-------------------------------------------%
1395 ++c | No fatal errors occurred. |
1396 ++c | Post-Process using DSEUPD. |
1397 ++c | |
1398 ++c | Computed eigenvalues may be extracted. |
1399 ++c | |
1400 ++c | Eigenvectors may be also computed now if |
1401 ++c | desired. (indicated by rvec = .true.) |
1402 ++c | |
1403 ++c | The routine DSEUPD now called to do this |
1404 ++c | post processing (Other modes may require |
1405 ++c | more complicated post processing than |
1406 ++c | mode1.) |
1407 ++c | |
1408 ++c %-------------------------------------------%
1409 ++c
1410 ++ if ( need_eigvecs .eq. 1 ) then
1411 ++ rvec = .true.
1412 ++ else
1413 ++ rvec = .false.
1414 ++ end if
1415 ++c
1416 ++ call dseupd ( rvec, 'All', select, d, v, ldv, sigma,
1417 ++ & bmat, n, which, nev, tol, resid, ncv, v, ldv,
1418 ++ & iparam, ipntr, workd, workl, lworkl, ierr )
1419 ++c
1420 ++c %----------------------------------------------%
1421 ++c | Eigenvalues are returned in the first column |
1422 ++c | of the two dimensional array D and the |
1423 ++c | corresponding eigenvectors are returned in |
1424 ++c | the first NCONV (=IPARAM(5)) columns of the |
1425 ++c | two dimensional array V if requested. |
1426 ++c | Otherwise, an orthogonal basis for the |
1427 ++c | invariant subspace corresponding to the |
1428 ++c | eigenvalues in D is returned in V. |
1429 ++c %----------------------------------------------%
1430 ++c
1431 ++ if ( ierr .ne. 0) then
1432 ++c
1433 ++c %------------------------------------%
1434 ++c | Error condition: |
1435 ++c | Check the documentation of DSEUPD. |
1436 ++c %------------------------------------%
1437 ++c
1438 ++ print *, ' '
1439 ++ print *, ' Error with _seupd, info = ', ierr
1440 ++ print *, ' Check the documentation of _seupd. '
1441 ++ print *, ' '
1442 ++ go to 9000
1443 ++c
1444 ++ else if ( debug_arpack.eq.1 ) then
1445 ++c
1446 ++ nconv = iparam(5)
1447 ++ n_eig_out = nconv
1448 ++ if ( nconv .le. 0 ) then
1449 ++ print *, ' '
1450 ++ print *, ' ARPACK: Not a single mode converged.'
1451 ++ print *, ' '
1452 ++ go to 9000
1453 ++ endif
1454 ++c
1455 ++C %--------------------------------------------%
1456 ++C | "UnDO" DO 20 j=1,nconv loop, because it is |
1457 ++C | illegal to jump in and out from a DO loop. |
1458 ++C %--------------------------------------------%
1459 ++c
1460 ++ j = 1
1461 ++ 16 continue
1462 ++c
1463 ++c %---------------------------%
1464 ++c | Compute the residual norm |
1465 ++c | |
1466 ++c | || A*x - lambda*x || |
1467 ++c | |
1468 ++c | for the NCONV accurately |
1469 ++c | computed eigenvalues and |
1470 ++c | eigenvectors. (iparam(5) |
1471 ++c | indicates how many are |
1472 ++c | accurate to the requested |
1473 ++c | tolerance) |
1474 ++c %---------------------------%
1475 ++c
1476 ++ status_flag = 0
1477 ++ 17 continue
1478 ++ call hessvec ( n, v(1,j), ax, xyz, grad,
1479 ++ & return_flag, status_flag )
1480 ++ if ( status_flag.eq.0 ) go to 19
1481 ++ if ( status_flag.lt.0 ) go to 9000
1482 ++ label = L18
1483 ++ return
1484 ++ 18 go to 17
1485 ++ 19 continue
1486 ++c
1487 ++ call daxpy(n, -d(j,1), v(1,j), 1, ax, 1)
1488 ++ d(j,2) = dnrm2(n, ax, 1)
1489 ++ d(j,2) = d(j,2) / abs(d(j,1))
1490 ++c
1491 ++ j = j + 1
1492 ++ if ( j .gt. nconv ) go to 20
1493 ++c
1494 ++ go to 16
1495 ++c
1496 ++ 20 continue
1497 ++c
1498 ++c %-----------------------------%
1499 ++c | Display computed residuals. |
1500 ++c %-----------------------------%
1501 ++c
1502 ++ call dmout(6, nconv, 2, d, maxncv, -6,
1503 ++ & 'Ritz values and relative residuals')
1504 ++c
1505 ++c %-------------------------------------------%
1506 ++c | Print additional convergence information. |
1507 ++c %-------------------------------------------%
1508 ++c
1509 ++ if ( info .eq. 1) then
1510 ++ print *, ' '
1511 ++ print *, ' Maximum number of iterations reached.'
1512 ++ print *, ' '
1513 ++ else if ( info .eq. 3) then
1514 ++ print *, ' '
1515 ++ print *, ' No shifts could be applied during implicit',
1516 ++ & ' Arnoldi update, try increasing NCV.'
1517 ++ print *, ' '
1518 ++ end if
1519 ++c
1520 ++ print *, ' '
1521 ++ print *, ' _SSIMP '
1522 ++ print *, ' ====== '
1523 ++ print *, ' '
1524 ++ print *, ' Size of the matrix is ', n
1525 ++ print *, ' The number of Ritz values requested is ', nev
1526 ++ print *, ' The number of Arnoldi vectors generated',
1527 ++ & ' (NCV) is ', ncv
1528 ++ print *, ' What portion of the spectrum: ', which
1529 ++ print *, ' The number of converged Ritz values is ',
1530 ++ & nconv
1531 ++ print *, ' The number of Implicit Arnoldi update',
1532 ++ & ' iterations taken is ', iparam(3)
1533 ++ print *, ' The number of OP*x is ', iparam(9)
1534 ++ print *, ' The convergence criterion is ', tol
1535 ++ print *, ' '
1536 ++ end if
1537 ++c
1538 ++c %----------------------------%
1539 ++c | Return eigvals and eigvecs |
1540 ++c %----------------------------%
1541 ++c
1542 ++ nconv = iparam(5)
1543 ++ n_eig_out = nconv
1544 ++ if ( nconv .le. 0 ) then
1545 ++ print *, ' '
1546 ++ print *, ' ARPACK: Not a single mode converged.'
1547 ++ print *, ' '
1548 ++ go to 9000
1549 ++ endif
1550 ++c
1551 ++ do 40 j=1, nconv
1552 ++ eigvals(j) = d(j,1)
1553 ++c
1554 ++ do 30 i=1, n
1555 ++ eigvecs((j-1)*n+i) = v(i,j)
1556 ++ 30 continue
1557 ++ 40 continue
1558 ++c
1559 ++ end if
1560 ++c
1561 ++c %--------------------------------%
1562 ++c | Done with subroutine dsarpack. |
1563 ++c %--------------------------------%
1564 ++c
1565 ++ label = 0
1566 ++ return
1567 ++c
1568 ++ 9000 continue !!! Error
1569 ++c
1570 ++ if( status_flag.eq.0 ) status_flag = ARPACK_ERROR
1571 ++c
1572 ++ label = status_flag
1573 ++ return
1574 ++c
1575 ++ end
1576 ++c
1577 ++c ------------------------------------------------------------------
1578 +diff --git a/AmberTools/src/sqm/Makefile b/AmberTools/src/sqm/Makefile
1579 +index a0fa790..5983764 100644
1580 +--- a/AmberTools/src/sqm/Makefile
1581 ++++ b/AmberTools/src/sqm/Makefile
1582 +@@ -82,7 +82,7 @@ QMOBJ = qm2_allocate_e_repul.o qm2_calc_charges.o qm2_calc_dipole.o \
1583 + install: sqm$(SFX)
1584 + mv sqm$(SFX) $(BINDIR)
1585 +
1586 +-sqm$(SFX): $(SQMOBJ) $(QMOBJ) netlib sys
1587 ++sqm$(SFX): $(SQMOBJ) $(QMOBJ) sys
1588 + $(FC) $(FPPFLAGS) $(FFLAGS) $(AMBERFFLAGS) -o sqm$(SFX) $(SQMOBJ) $(QMOBJ) \
1589 + -L$(LIBDIR) $(FLIBSF) ../lib/sys.a $(LDFLAGS) $(AMBERLDFLAGS)
1590 +
1591 +diff --git a/AmberTools/test/Makefile b/AmberTools/test/Makefile
1592 +index 8252d52..24b9272 100644
1593 +--- a/AmberTools/test/Makefile
1594 ++++ b/AmberTools/test/Makefile
1595 +@@ -3,14 +3,14 @@ include ../src/config.h
1596 + ###### Top-level targets, for general use: ############################
1597 +
1598 + test::
1599 +- ./test_at_serial.sh
1600 ++ +./test_at_serial.sh
1601 +
1602 + test.parallel::
1603 + ./test_at_parallel.sh
1604 +
1605 + ###### Intermediate-level targets: ############################
1606 +
1607 +-test.serial: clean is_amberhome_defined \
1608 ++test.serial: is_amberhome_defined \
1609 + test.nab test.cpptraj test.antechamber test.mdgx \
1610 + test.leap test.resp test.pbsa test.gbnsr6 test.mmpbsa test.parmed \
1611 + test.elsize test.sqm test.rism1d test.amberlite \
1612 +diff --git a/AmberTools/test/test_at_serial.sh b/AmberTools/test/test_at_serial.sh
1613 +index a154c84..c092eb6 100755
1614 +--- a/AmberTools/test/test_at_serial.sh
1615 ++++ b/AmberTools/test/test_at_serial.sh
1616 +@@ -44,3 +44,9 @@ fi
1617 +
1618 + # save summary for later reporting:
1619 + tail -5 ${logfile} > ${logdir}/at_summary
1620 ++
1621 ++if [ "${questionable_count}" -ne 0 -o "${error_count}" -ne 0 ]
1622 ++then
1623 ++ # Tests failed
1624 ++ exit 1
1625 ++fi
1626 +diff --git a/AmberTools/test/test_check.sh b/AmberTools/test/test_check.sh
1627 +index 108c446..62c0b88 100644
1628 +--- a/AmberTools/test/test_check.sh
1629 ++++ b/AmberTools/test/test_check.sh
1630 +@@ -63,7 +63,7 @@ check_environment() {
1631 + # We are done here for Macs
1632 + test $is_mac = "yes" && return
1633 +
1634 +- python << EOF
1635 ++ python2 << EOF
1636 + import os
1637 + import sys
1638 + ambhome = os.getenv('AMBERHOME')
1639
1640 diff --git a/sci-chemistry/ambertools/files/ambertools-15-update.1.patch b/sci-chemistry/ambertools/files/ambertools-15-update.1.patch
1641 new file mode 100644
1642 index 0000000..28d25e5
1643 --- /dev/null
1644 +++ b/sci-chemistry/ambertools/files/ambertools-15-update.1.patch
1645 @@ -0,0 +1,118 @@
1646 +*******> update.1
1647 +
1648 +Author: Jason Swails
1649 +
1650 +Date: June 1, 2015
1651 +
1652 +Programs: MMPBSA.py, ParmEd, cpptraj
1653 +
1654 +Description: This fixes a number of small issues:
1655 + 1) Fix Python 2.4 and Python 2.5 support for ParmEd and MMPBSA.py
1656 + 2) Fix the MMPBSA.py Python API
1657 + 3) Scale charges correctly for LIE action in cpptraj with non-unity
1658 + dielectric constant
1659 +
1660 +--------------------------------------------------------------------------------
1661 +
1662 + AmberTools/src/cpptraj/src/Action_LIE.cpp | 2 +-
1663 + AmberTools/src/mmpbsa_py/MMPBSA_mods/API.py | 3 ++-
1664 + AmberTools/src/mmpbsa_py/MMPBSA_mods/infofile.py | 1 +
1665 + AmberTools/src/parmed/chemistry/__init__.py | 6 +++++-
1666 + .../test/mmpbsa_py/07_Comprehensive/Run.comprehensive | 18 ++++++++++++++++++
1667 + 5 files changed, 27 insertions(+), 3 deletions(-)
1668 +
1669 +diff --git AmberTools/src/cpptraj/src/Action_LIE.cpp AmberTools/src/cpptraj/src/Action_LIE.cpp
1670 +index 25825c1..716a04f 100644
1671 +--- AmberTools/src/cpptraj/src/Action_LIE.cpp
1672 ++++ AmberTools/src/cpptraj/src/Action_LIE.cpp
1673 +@@ -132,7 +132,7 @@ int Action_LIE::SetupParms(Topology const& ParmIn) {
1674 + atom_charge_.reserve( ParmIn.Natom() );
1675 + for (Topology::atom_iterator atom = ParmIn.begin();
1676 + atom != ParmIn.end(); ++atom)
1677 +- atom_charge_.push_back( atom->Charge() * Constants::ELECTOAMBER / dielc_ );
1678 ++ atom_charge_.push_back( atom->Charge() * Constants::ELECTOAMBER / sqrt(dielc_) );
1679 + return 0;
1680 + }
1681 +
1682 +diff --git AmberTools/src/mmpbsa_py/MMPBSA_mods/API.py AmberTools/src/mmpbsa_py/MMPBSA_mods/API.py
1683 +index e6c4fe9..d7cc7ec 100644
1684 +--- AmberTools/src/mmpbsa_py/MMPBSA_mods/API.py
1685 ++++ AmberTools/src/mmpbsa_py/MMPBSA_mods/API.py
1686 +@@ -63,7 +63,7 @@ class mmpbsa_data(dict):
1687 + self.stability = app.stability
1688 + # Now load the data
1689 + for key in app.calc_types:
1690 +- if key == 'mutant':
1691 ++ if key == 'mutant' or key =='qh':
1692 + has_mutant = True
1693 + continue
1694 + self[key] = {}
1695 +@@ -86,6 +86,7 @@ class mmpbsa_data(dict):
1696 + if has_mutant:
1697 + self.mutant = {}
1698 + for key in app.calc_types['mutant']:
1699 ++ if key == 'qh': continue
1700 + self.mutant[key] = {}
1701 + tmpdict = {}
1702 + for dkey in app.calc_types['mutant'][key]['complex'].data:
1703 +diff --git AmberTools/src/mmpbsa_py/MMPBSA_mods/infofile.py AmberTools/src/mmpbsa_py/MMPBSA_mods/infofile.py
1704 +index ecdc2f2..ecaa6c1 100644
1705 +--- AmberTools/src/mmpbsa_py/MMPBSA_mods/infofile.py
1706 ++++ AmberTools/src/mmpbsa_py/MMPBSA_mods/infofile.py
1707 +@@ -80,6 +80,7 @@ class InfoFile(object):
1708 + outfile.write('numframes = %d\n' % self.app.numframes)
1709 + outfile.write('numframes_nmode = %d\n' % self.app.numframes_nmode)
1710 + outfile.write("mut_str = '%s'\n" % self.app.mut_str)
1711 ++ outfile.write('using_chamber = %s\n' % self.app.using_chamber)
1712 + outfile.write(self.app.input_file_text)
1713 +
1714 + def read_info(self, name=None):
1715 +diff --git AmberTools/src/parmed/chemistry/__init__.py AmberTools/src/parmed/chemistry/__init__.py
1716 +index 52f5245..544e016 100644
1717 +--- AmberTools/src/parmed/chemistry/__init__.py
1718 ++++ AmberTools/src/parmed/chemistry/__init__.py
1719 +@@ -11,10 +11,14 @@ from chemistry.structure import Structure
1720 + from chemistry.topologyobjects import *
1721 + from chemistry import unit
1722 + from chemistry.residue import *
1723 +-from chemistry import amber, charmm, tinker, openmm
1724 ++from chemistry import amber, charmm, tinker
1725 + from chemistry import formats
1726 + load_file = formats.load_file
1727 + read_PDB = formats.PDBFile.parse
1728 + read_CIF = formats.CIFFile.parse
1729 + write_PDB = formats.PDBFile.write
1730 + write_CIF = formats.CIFFile.write
1731 ++try:
1732 ++ from chemistry import openmm
1733 ++except ImportError:
1734 ++ pass
1735 +diff --git AmberTools/test/mmpbsa_py/07_Comprehensive/Run.comprehensive AmberTools/test/mmpbsa_py/07_Comprehensive/Run.comprehensive
1736 +index 268515e..aa7d9df 100755
1737 +--- AmberTools/test/mmpbsa_py/07_Comprehensive/Run.comprehensive
1738 ++++ AmberTools/test/mmpbsa_py/07_Comprehensive/Run.comprehensive
1739 +@@ -108,6 +108,24 @@ if [ -z "$DO_PARALLEL" ]; then
1740 + ../../dacdif -a 6.0 FINAL_RESULTS_MMPBSA_2.dat.save FINAL_RESULTS_MMPBSA_2.dat
1741 + fi
1742 +
1743 ++# Check the API
1744 ++python << EOF
1745 ++from __future__ import division
1746 ++import MMPBSA_mods.API as API
1747 ++
1748 ++print('Checking the API')
1749 ++try:
1750 ++ stuff = API.load_mmpbsa_info('_MMPBSA_info')
1751 ++ total_data = stuff['gb']['complex']['TOTAL']
1752 ++ if abs((sum(total_data) / len(total_data)) + 466.7565) > 0.0002:
1753 ++ print('possible FAILURE')
1754 ++ else:
1755 ++ print('PASSED')
1756 ++except:
1757 ++ print('Program error')
1758 ++print('==============================================================')
1759 ++EOF
1760 ++
1761 + $EXE --clean 2>&1 > /dev/null
1762 +
1763 + rm -f mmpbsa.in mmpbsa.out FINAL_DECOMP_MMPBSA_2.csv-e FINAL_DECOMP_MMPBSA.dat
1764
1765 diff --git a/sci-chemistry/ambertools/files/ambertools-15-update.2.patch b/sci-chemistry/ambertools/files/ambertools-15-update.2.patch
1766 new file mode 100644
1767 index 0000000..b0f1cd9
1768 --- /dev/null
1769 +++ b/sci-chemistry/ambertools/files/ambertools-15-update.2.patch
1770 @@ -0,0 +1,56 @@
1771 +*******> update.2
1772 +
1773 +Author: Jason Swails, Ross Walker
1774 +
1775 +Date: June 2, 2015
1776 +
1777 +Programs: AmberTools, CUDA
1778 +
1779 +Description: Adds support for CUDA 7. Also fixes an erroneous error report when
1780 + AmberTools is configured for *only* OpenMP, CUDA, or CUDA-MPI with
1781 + regards to missing Python modules.
1782 +
1783 +--------------------------------------------------------------------------------
1784 +
1785 + AmberTools/src/configure2 | 4 ++--
1786 + AmberTools/test/test_check.sh | 7 ++++---
1787 + 2 files changed, 6 insertions(+), 5 deletions(-)
1788 +
1789 +diff --git AmberTools/src/configure2 AmberTools/src/configure2
1790 +index f1a3cff..9a504b1 100755
1791 +--- AmberTools/src/configure2
1792 ++++ AmberTools/src/configure2
1793 +@@ -861,13 +861,13 @@ if [ "$cuda_SPFP" = 'yes' -o "$cuda_SPXP" = 'yes' -o "$cuda_DPFP" = 'yes' ]; the
1794 + echo "CUDA Version $cudaversion detected"
1795 + echo "Configuring for SM2.0 and SM3.0 - warning does not support Maxwell (GM200/GM204) cards [e.g. GTX970/980]"
1796 + nvccflags="$sm20flags $sm30flags"
1797 +- elif [ "$cudaversion" = "6.5" ]; then
1798 ++ elif [ "$cudaversion" = "6.5" -o "$cudaversion" = "7.0" ]; then
1799 + echo "CUDA Version $cudaversion detected"
1800 + echo "Configuring for SM2.0, SM3.0 and SM5.0"
1801 + nvccflags="$sm20flags $sm30flags $sm50flags"
1802 + else
1803 + echo "Error: Unsupported CUDA version $cudaversion detected."
1804 +- echo " AMBER requires CUDA version == 5.0 .or. 5.5 .or. 6.0 .or. 6.5"
1805 ++ echo " AMBER requires CUDA version == 5.0 .or. 5.5 .or. 6.0 .or. 6.5 .or. 7.0"
1806 + exit 1
1807 + fi
1808 + nvcc="$nvcc $nvccflags"
1809 +diff --git AmberTools/test/test_check.sh AmberTools/test/test_check.sh
1810 +index 108c446..a5399d8 100644
1811 +--- AmberTools/test/test_check.sh
1812 ++++ AmberTools/test/test_check.sh
1813 +@@ -83,9 +83,10 @@ def error():
1814 + try:
1815 + import chemistry
1816 + except ImportError:
1817 +- sys.stderr.write('Could not import Amber Python modules. This likely means\\n'
1818 +- 'that your Amber Python environment was not set up correctly\\n\\n')
1819 +- error()
1820 ++ if os.path.exists(os.path.join(ambhome, 'parmed.py')):
1821 ++ sys.stderr.write('Could not import Amber Python modules. This likely means\\n'
1822 ++ 'that your Amber Python environment was not set up correctly\\n\\n')
1823 ++ error()
1824 +
1825 + if 'darwin' in sys.platform:
1826 + sys.exit(0) # Nothing to check here
1827
1828 diff --git a/sci-chemistry/ambertools/files/ambertools-15-update.3.patch b/sci-chemistry/ambertools/files/ambertools-15-update.3.patch
1829 new file mode 100644
1830 index 0000000..a892ece
1831 --- /dev/null
1832 +++ b/sci-chemistry/ambertools/files/ambertools-15-update.3.patch
1833 @@ -0,0 +1,95 @@
1834 +********> update.3
1835 + Author: Istvan Kolossvary
1836 + Date: 15 June 2015
1837 +
1838 + Programs: nab, sff
1839 +
1840 + Description: Fix problem with lmod docking when fixed atoms are present
1841 +
1842 + ---------------------------------------------------------------------------
1843 +
1844 +diff --git AmberTools/src/sff/lmodC.c AmberTools/src/sff/lmodC.c
1845 +index 8a19dd8..45c8244 100644
1846 +--- AmberTools/src/sff/lmodC.c
1847 ++++ AmberTools/src/sff/lmodC.c
1848 +@@ -864,7 +864,7 @@ trans_ligand(double *xyz, int start, int end, double dx, double dy,
1849 + double dz)
1850 + {
1851 + int i, x, y, z;
1852 +- for (i = start - 1; i < end; i++) {
1853 ++ for (i = start; i <= end; i++) {
1854 + x = 3 * i;
1855 + y = x + 1;
1856 + z = y + 1;
1857 +@@ -900,7 +900,7 @@ rot_ligand(double *xyz, int start, int end, double cent_x, double cent_y,
1858 + {
1859 + int i, x, y, z;
1860 + double temp_x, temp_y, temp_z;
1861 +- for (i = start - 1; i < end; i++) {
1862 ++ for (i = start; i <= end; i++) {
1863 + x = 3 * i;
1864 + y = x + 1;
1865 + z = y + 1;
1866 +@@ -930,7 +930,7 @@ calc_centroid(double *xyz, int start, int end, double *cent_x,
1867 + {
1868 + int i, x, y, z, n;
1869 + *cent_x = *cent_y = *cent_z = ZERO;
1870 +- for (i = start - 1; i < end; i++) {
1871 ++ for (i = start; i <= end; i++) {
1872 + x = 3 * i;
1873 + y = x + 1;
1874 + z = y + 1;
1875 +@@ -1591,6 +1591,7 @@ lmodC(int *nlmodit, int *nmod, int *kmod, int *rotran, int *natm_ext,
1876 + i, j, k, kk, l, n, cnt;
1877 + static int barrier_crossing_test_on, do_all, do_ligs;
1878 + static int *index = NULL;
1879 ++ static int ikk, lig_start_kk, lig_end_kk, lig_rot_cent_kk;
1880 + static double ref_energy, energy, energy_old, min_energy,
1881 + glob_min_energy, rad, sum, max_atmov, scale, lmod_step, rms,
1882 + rms_old, grad_rms;
1883 +@@ -2554,7 +2555,19 @@ lmodC(int *nlmodit, int *nmod, int *kmod, int *rotran, int *natm_ext,
1884 + xtrans *= trscale / trnorm;
1885 + ytrans *= trscale / trnorm;
1886 + ztrans *= trscale / trnorm;
1887 +- trans_ligand(xyz_local, lig_start[kk], lig_end[kk], xtrans,
1888 ++ for (ikk = 0; ikk < natm_local; ikk++ ) {
1889 ++ if ( atm_indx[ikk] == (lig_start[kk] -1) ) { /* lig_start[] contains external PDB atom numbers */
1890 ++ lig_start_kk = ikk;
1891 ++ break;
1892 ++ }
1893 ++ }
1894 ++ for (ikk = 0; ikk < natm_local; ikk++ ) {
1895 ++ if ( atm_indx[ikk] == (lig_end[kk] -1) ) { /* lig_end[] contains external PDB atom numbers */
1896 ++ lig_end_kk = ikk;
1897 ++ break;
1898 ++ }
1899 ++ }
1900 ++ trans_ligand(xyz_local, lig_start_kk, lig_end_kk, xtrans,
1901 + ytrans, ztrans);
1902 + do {
1903 + xrot = 2 * rand2() - 1;
1904 +@@ -2568,13 +2581,19 @@ lmodC(int *nlmodit, int *nmod, int *kmod, int *rotran, int *natm_ext,
1905 + rotang = angmin[kk] + (angmax[kk] - angmin[kk]) * rand2();
1906 + calc_rot_matrix(DEG2RAD * rotang, xrot, yrot, zrot, rotmat);
1907 + if (lig_rot_cent[kk]) {
1908 +- xcent = xyz_local[(lig_rot_cent[kk] - 1) * 3 ];
1909 +- ycent = xyz_local[(lig_rot_cent[kk] - 1) * 3 + 1];
1910 +- zcent = xyz_local[(lig_rot_cent[kk] - 1) * 3 + 2];
1911 ++ for (ikk = 0; ikk < natm_local; ikk++ ) {
1912 ++ if ( atm_indx[ikk] == (lig_rot_cent[kk] -1) ) { /* lig_rot_cent[] contains external PDB atom numbers */
1913 ++ lig_rot_cent_kk = ikk;
1914 ++ break;
1915 ++ }
1916 ++ }
1917 ++ xcent = xyz_local[ lig_rot_cent_kk * 3 ];
1918 ++ ycent = xyz_local[ lig_rot_cent_kk * 3 + 1];
1919 ++ zcent = xyz_local[ lig_rot_cent_kk * 3 + 2];
1920 + } else
1921 +- calc_centroid(xyz_local, lig_start[kk], lig_end[kk],
1922 ++ calc_centroid(xyz_local, lig_start_kk, lig_end_kk,
1923 + &xcent, &ycent, &zcent);
1924 +- rot_ligand(xyz_local, lig_start[kk], lig_end[kk], xcent,
1925 ++ rot_ligand(xyz_local, lig_start_kk, lig_end_kk, xcent,
1926 + ycent, zcent, rotmat);
1927 + }
1928 + /* close pair separation operates on xyz_ext[]: */
1929
1930 diff --git a/sci-chemistry/ambertools/files/ambertools-15-update.4.patch b/sci-chemistry/ambertools/files/ambertools-15-update.4.patch
1931 new file mode 100644
1932 index 0000000..4176a58
1933 --- /dev/null
1934 +++ b/sci-chemistry/ambertools/files/ambertools-15-update.4.patch
1935 @@ -0,0 +1,908 @@
1936 +*******> update.4
1937 +Author: Benjamin D. Madej
1938 +Date: October 19, 2015
1939 +Programs: Leap, Lipid14 force field
1940 +Description: Adds a parameter set for cholesterol to the Lipid14 force field.
1941 + Please reference:
1942 + Madej, B. D.; Gould, I.R.; Walker, R. C. A Parameterization of
1943 + Cholesterol for Mixed Lipid Bilayer Simulation within the Amber
1944 + Lipid14 Force Field. J. Phys. Chem. B 2015, 119 (38)
1945 + pp 12424-12435.
1946 +-------------------------------------------------------------------------------
1947 + dat/leap/lib/lipid14.lib | 480 ++++++++++++++++++++++++++++++++++++++++++++++
1948 + dat/leap/parm/lipid11.dat | 2 +-
1949 + dat/leap/parm/lipid14.dat | 291 ++++++++++++++++++----------
1950 + 3 files changed, 666 insertions(+), 107 deletions(-)
1951 +
1952 +diff --git dat/leap/lib/lipid14.lib dat/leap/lib/lipid14.lib
1953 +index 891937b..75c2f2b 100644
1954 +--- dat/leap/lib/lipid14.lib
1955 ++++ dat/leap/lib/lipid14.lib
1956 +@@ -1,10 +1,490 @@
1957 + !!index array str
1958 ++ "CHL"
1959 + "LA"
1960 + "MY"
1961 + "OL"
1962 + "PA"
1963 + "PC"
1964 + "PE"
1965 ++!entry.CHL.unit.atoms table str name str type int typex int resx int flags int seq int elmnt dbl chg
1966 ++ "C1" "cA" 0 1 131073 1 6 -0.031691
1967 ++ "H11" "hA" 0 1 131073 2 1 0.009380
1968 ++ "H12" "hA" 0 1 131073 3 1 0.009380
1969 ++ "C2" "cA" 0 1 131073 4 6 -0.088130
1970 ++ "H21" "hA" 0 1 131073 5 1 0.044625
1971 ++ "H22" "hA" 0 1 131073 6 1 0.044625
1972 ++ "C3" "cA" 0 1 131073 7 6 0.293553
1973 ++ "H31" "hE" 0 1 131073 8 1 0.029611
1974 ++ "C4" "cA" 0 1 131073 9 6 -0.162218
1975 ++ "H41" "hA" 0 1 131073 10 1 0.090036
1976 ++ "H42" "hA" 0 1 131073 11 1 0.090036
1977 ++ "C5" "cB" 0 1 131073 12 6 -0.139495
1978 ++ "C6" "cB" 0 1 131073 13 6 -0.208190
1979 ++ "H61" "hB" 0 1 131073 14 1 0.122828
1980 ++ "C7" "cA" 0 1 131073 15 6 -0.069897
1981 ++ "H71" "hA" 0 1 131073 16 1 0.047919
1982 ++ "H72" "hA" 0 1 131073 17 1 0.047919
1983 ++ "C8" "cA" 0 1 131073 18 6 -0.011390
1984 ++ "H81" "hA" 0 1 131073 19 1 0.072891
1985 ++ "C9" "cA" 0 1 131073 20 6 0.019609
1986 ++ "H91" "hA" 0 1 131073 21 1 0.029289
1987 ++ "C10" "cA" 0 1 131073 22 6 0.079112
1988 ++ "C11" "cA" 0 1 131073 23 6 -0.066365
1989 ++ "H111" "hA" 0 1 131073 24 1 0.030085
1990 ++ "H112" "hA" 0 1 131073 25 1 0.030085
1991 ++ "C12" "cA" 0 1 131073 26 6 -0.064973
1992 ++ "H121" "hA" 0 1 131073 27 1 0.010352
1993 ++ "H122" "hA" 0 1 131073 28 1 0.010352
1994 ++ "C13" "cA" 0 1 131073 29 6 0.057407
1995 ++ "C14" "cA" 0 1 131073 30 6 0.005830
1996 ++ "H141" "hA" 0 1 131073 31 1 0.031557
1997 ++ "C15" "cA" 0 1 131073 32 6 -0.101977
1998 ++ "H151" "hA" 0 1 131073 33 1 0.026458
1999 ++ "H152" "hA" 0 1 131073 34 1 0.026458
2000 ++ "C16" "cA" 0 1 131073 35 6 -0.092064
2001 ++ "H161" "hA" 0 1 131073 36 1 0.033335
2002 ++ "H162" "hA" 0 1 131073 37 1 0.033335
2003 ++ "C17" "cA" 0 1 131073 38 6 0.032398
2004 ++ "H171" "hA" 0 1 131073 39 1 0.016590
2005 ++ "C18" "cA" 0 1 131073 40 6 -0.115049
2006 ++ "H181" "hA" 0 1 131073 41 1 0.024541
2007 ++ "H182" "hA" 0 1 131073 42 1 0.024541
2008 ++ "H183" "hA" 0 1 131073 43 1 0.024541
2009 ++ "C19" "cA" 0 1 131073 44 6 -0.108064
2010 ++ "H191" "hA" 0 1 131073 45 1 0.033990
2011 ++ "H192" "hA" 0 1 131073 46 1 0.033990
2012 ++ "H193" "hA" 0 1 131073 47 1 0.033990
2013 ++ "C20" "cD" 0 1 131075 48 6 0.044268
2014 ++ "H201" "hL" 0 1 131075 49 1 0.020951
2015 ++ "C21" "cD" 0 1 131075 50 6 -0.154621
2016 ++ "H211" "hL" 0 1 131075 51 1 0.036274
2017 ++ "H212" "hL" 0 1 131075 52 1 0.036274
2018 ++ "H213" "hL" 0 1 131075 53 1 0.036274
2019 ++ "C22" "cD" 0 1 131075 54 6 -0.039033
2020 ++ "H221" "hL" 0 1 131075 55 1 0.008359
2021 ++ "H222" "hL" 0 1 131075 56 1 0.008359
2022 ++ "C23" "cD" 0 1 131075 57 6 -0.028460
2023 ++ "H231" "hL" 0 1 131075 58 1 0.015742
2024 ++ "H232" "hL" 0 1 131075 59 1 0.015742
2025 ++ "C24" "cD" 0 1 131075 60 6 -0.125596
2026 ++ "H241" "hL" 0 1 131075 61 1 0.040110
2027 ++ "H242" "hL" 0 1 131075 62 1 0.040110
2028 ++ "C25" "cD" 0 1 131075 63 6 0.212446
2029 ++ "H251" "hL" 0 1 131075 64 1 -0.002466
2030 ++ "C26" "cD" 0 1 131075 65 6 -0.257776
2031 ++ "H261" "hL" 0 1 131075 66 1 0.057982
2032 ++ "H262" "hL" 0 1 131075 67 1 0.057982
2033 ++ "H263" "hL" 0 1 131075 68 1 0.057982
2034 ++ "C27" "cD" 0 1 131075 69 6 -0.257776
2035 ++ "H271" "hL" 0 1 131075 70 1 0.057982
2036 ++ "H272" "hL" 0 1 131075 71 1 0.057982
2037 ++ "H273" "hL" 0 1 131075 72 1 0.057982
2038 ++ "O1" "oH" 0 1 131073 73 8 -0.703022
2039 ++ "HO1" "hO" 0 1 131073 74 1 0.414804
2040 ++!entry.CHL.unit.atomspertinfo table str pname str ptype int ptypex int pelmnt dbl pchg
2041 ++ "C1" "cA" 0 -1 0.0
2042 ++ "H11" "hA" 0 -1 0.0
2043 ++ "H12" "hA" 0 -1 0.0
2044 ++ "C2" "cA" 0 -1 0.0
2045 ++ "H21" "hA" 0 -1 0.0
2046 ++ "H22" "hA" 0 -1 0.0
2047 ++ "C3" "cA" 0 -1 0.0
2048 ++ "H31" "hE" 0 -1 0.0
2049 ++ "C4" "cA" 0 -1 0.0
2050 ++ "H41" "hA" 0 -1 0.0
2051 ++ "H42" "hA" 0 -1 0.0
2052 ++ "C5" "cB" 0 -1 0.0
2053 ++ "C6" "cB" 0 -1 0.0
2054 ++ "H61" "hB" 0 -1 0.0
2055 ++ "C7" "cA" 0 -1 0.0
2056 ++ "H71" "hA" 0 -1 0.0
2057 ++ "H72" "hA" 0 -1 0.0
2058 ++ "C8" "cA" 0 -1 0.0
2059 ++ "H81" "hA" 0 -1 0.0
2060 ++ "C9" "cA" 0 -1 0.0
2061 ++ "H91" "hA" 0 -1 0.0
2062 ++ "C10" "cA" 0 -1 0.0
2063 ++ "C11" "cA" 0 -1 0.0
2064 ++ "H111" "hA" 0 -1 0.0
2065 ++ "H112" "hA" 0 -1 0.0
2066 ++ "C12" "cA" 0 -1 0.0
2067 ++ "H121" "hA" 0 -1 0.0
2068 ++ "H122" "hA" 0 -1 0.0
2069 ++ "C13" "cA" 0 -1 0.0
2070 ++ "C14" "cA" 0 -1 0.0
2071 ++ "H141" "hA" 0 -1 0.0
2072 ++ "C15" "cA" 0 -1 0.0
2073 ++ "H151" "hA" 0 -1 0.0
2074 ++ "H152" "hA" 0 -1 0.0
2075 ++ "C16" "cA" 0 -1 0.0
2076 ++ "H161" "hA" 0 -1 0.0
2077 ++ "H162" "hA" 0 -1 0.0
2078 ++ "C17" "cA" 0 -1 0.0
2079 ++ "H171" "hA" 0 -1 0.0
2080 ++ "C18" "cA" 0 -1 0.0
2081 ++ "H181" "hA" 0 -1 0.0
2082 ++ "H182" "hA" 0 -1 0.0
2083 ++ "H183" "hA" 0 -1 0.0
2084 ++ "C19" "cA" 0 -1 0.0
2085 ++ "H191" "hA" 0 -1 0.0
2086 ++ "H192" "hA" 0 -1 0.0
2087 ++ "H193" "hA" 0 -1 0.0
2088 ++ "C20" "cA" 0 -1 0.0
2089 ++ "H201" "hA" 0 -1 0.0
2090 ++ "C21" "cA" 0 -1 0.0
2091 ++ "H211" "hA" 0 -1 0.0
2092 ++ "H212" "hA" 0 -1 0.0
2093 ++ "H213" "hA" 0 -1 0.0
2094 ++ "C22" "cA" 0 -1 0.0
2095 ++ "H221" "hA" 0 -1 0.0
2096 ++ "H222" "hA" 0 -1 0.0
2097 ++ "C23" "cA" 0 -1 0.0
2098 ++ "H231" "hA" 0 -1 0.0
2099 ++ "H232" "hA" 0 -1 0.0
2100 ++ "C24" "cA" 0 -1 0.0
2101 ++ "H241" "hA" 0 -1 0.0
2102 ++ "H242" "hA" 0 -1 0.0
2103 ++ "C25" "cA" 0 -1 0.0
2104 ++ "H251" "hA" 0 -1 0.0
2105 ++ "C26" "cA" 0 -1 0.0
2106 ++ "H261" "hA" 0 -1 0.0
2107 ++ "H262" "hA" 0 -1 0.0
2108 ++ "H263" "hA" 0 -1 0.0
2109 ++ "C27" "cA" 0 -1 0.0
2110 ++ "H271" "hA" 0 -1 0.0
2111 ++ "H272" "hA" 0 -1 0.0
2112 ++ "H273" "hA" 0 -1 0.0
2113 ++ "O1" "oH" 0 -1 0.0
2114 ++ "HO1" "hO" 0 -1 0.0
2115 ++!entry.CHL.unit.boundbox array dbl
2116 ++ -1.000000
2117 ++ 0.0
2118 ++ 0.0
2119 ++ 0.0
2120 ++ 0.0
2121 ++!entry.CHL.unit.childsequence single int
2122 ++ 2
2123 ++!entry.CHL.unit.connect array int
2124 ++ 0
2125 ++ 0
2126 ++!entry.CHL.unit.connectivity table int atom1x int atom2x int flags
2127 ++ 1 2 1
2128 ++ 1 3 1
2129 ++ 1 4 1
2130 ++ 1 22 1
2131 ++ 4 5 1
2132 ++ 4 6 1
2133 ++ 4 7 1
2134 ++ 7 8 1
2135 ++ 7 9 1
2136 ++ 7 73 1
2137 ++ 9 10 1
2138 ++ 9 11 1
2139 ++ 9 12 1
2140 ++ 12 13 2
2141 ++ 12 22 1
2142 ++ 13 14 1
2143 ++ 13 15 1
2144 ++ 15 16 1
2145 ++ 15 17 1
2146 ++ 15 18 1
2147 ++ 18 19 1
2148 ++ 18 20 1
2149 ++ 18 30 1
2150 ++ 20 21 1
2151 ++ 20 22 1
2152 ++ 20 23 1
2153 ++ 22 44 1
2154 ++ 23 24 1
2155 ++ 23 25 1
2156 ++ 23 26 1
2157 ++ 26 27 1
2158 ++ 26 28 1
2159 ++ 26 29 1
2160 ++ 29 30 1
2161 ++ 29 38 1
2162 ++ 29 40 1
2163 ++ 30 31 1
2164 ++ 30 32 1
2165 ++ 32 33 1
2166 ++ 32 34 1
2167 ++ 32 35 1
2168 ++ 35 36 1
2169 ++ 35 37 1
2170 ++ 35 38 1
2171 ++ 38 39 1
2172 ++ 38 48 1
2173 ++ 40 41 1
2174 ++ 40 42 1
2175 ++ 40 43 1
2176 ++ 44 45 1
2177 ++ 44 46 1
2178 ++ 44 47 1
2179 ++ 48 49 1
2180 ++ 48 50 1
2181 ++ 48 54 1
2182 ++ 50 51 1
2183 ++ 50 52 1
2184 ++ 50 53 1
2185 ++ 54 55 1
2186 ++ 54 56 1
2187 ++ 54 57 1
2188 ++ 57 58 1
2189 ++ 57 59 1
2190 ++ 57 60 1
2191 ++ 60 61 1
2192 ++ 60 62 1
2193 ++ 60 63 1
2194 ++ 63 64 1
2195 ++ 63 65 1
2196 ++ 63 69 1
2197 ++ 65 66 1
2198 ++ 65 67 1
2199 ++ 65 68 1
2200 ++ 69 70 1
2201 ++ 69 71 1
2202 ++ 69 72 1
2203 ++ 73 74 1
2204 ++!entry.CHL.unit.hierarchy table str abovetype int abovex str belowtype int belowx
2205 ++ "U" 0 "R" 1
2206 ++ "R" 1 "A" 1
2207 ++ "R" 1 "A" 2
2208 ++ "R" 1 "A" 3
2209 ++ "R" 1 "A" 4
2210 ++ "R" 1 "A" 5
2211 ++ "R" 1 "A" 6
2212 ++ "R" 1 "A" 7
2213 ++ "R" 1 "A" 8
2214 ++ "R" 1 "A" 9
2215 ++ "R" 1 "A" 10
2216 ++ "R" 1 "A" 11
2217 ++ "R" 1 "A" 12
2218 ++ "R" 1 "A" 13
2219 ++ "R" 1 "A" 14
2220 ++ "R" 1 "A" 15
2221 ++ "R" 1 "A" 16
2222 ++ "R" 1 "A" 17
2223 ++ "R" 1 "A" 18
2224 ++ "R" 1 "A" 19
2225 ++ "R" 1 "A" 20
2226 ++ "R" 1 "A" 21
2227 ++ "R" 1 "A" 22
2228 ++ "R" 1 "A" 23
2229 ++ "R" 1 "A" 24
2230 ++ "R" 1 "A" 25
2231 ++ "R" 1 "A" 26
2232 ++ "R" 1 "A" 27
2233 ++ "R" 1 "A" 28
2234 ++ "R" 1 "A" 29
2235 ++ "R" 1 "A" 30
2236 ++ "R" 1 "A" 31
2237 ++ "R" 1 "A" 32
2238 ++ "R" 1 "A" 33
2239 ++ "R" 1 "A" 34
2240 ++ "R" 1 "A" 35
2241 ++ "R" 1 "A" 36
2242 ++ "R" 1 "A" 37
2243 ++ "R" 1 "A" 38
2244 ++ "R" 1 "A" 39
2245 ++ "R" 1 "A" 40
2246 ++ "R" 1 "A" 41
2247 ++ "R" 1 "A" 42
2248 ++ "R" 1 "A" 43
2249 ++ "R" 1 "A" 44
2250 ++ "R" 1 "A" 45
2251 ++ "R" 1 "A" 46
2252 ++ "R" 1 "A" 47
2253 ++ "R" 1 "A" 48
2254 ++ "R" 1 "A" 49
2255 ++ "R" 1 "A" 50
2256 ++ "R" 1 "A" 51
2257 ++ "R" 1 "A" 52
2258 ++ "R" 1 "A" 53
2259 ++ "R" 1 "A" 54
2260 ++ "R" 1 "A" 55
2261 ++ "R" 1 "A" 56
2262 ++ "R" 1 "A" 57
2263 ++ "R" 1 "A" 58
2264 ++ "R" 1 "A" 59
2265 ++ "R" 1 "A" 60
2266 ++ "R" 1 "A" 61
2267 ++ "R" 1 "A" 62
2268 ++ "R" 1 "A" 63
2269 ++ "R" 1 "A" 64
2270 ++ "R" 1 "A" 65
2271 ++ "R" 1 "A" 66
2272 ++ "R" 1 "A" 67
2273 ++ "R" 1 "A" 68
2274 ++ "R" 1 "A" 69
2275 ++ "R" 1 "A" 70
2276 ++ "R" 1 "A" 71
2277 ++ "R" 1 "A" 72
2278 ++ "R" 1 "A" 73
2279 ++ "R" 1 "A" 74
2280 ++!entry.CHL.unit.name single str
2281 ++ "CHL"
2282 ++!entry.CHL.unit.positions table dbl x dbl y dbl z
2283 ++ 4.697000 -1.469000 -0.739000
2284 ++ 4.428000 -1.214000 -1.762000
2285 ++ 4.303000 -2.462000 -0.556000
2286 ++ 6.224000 -1.517000 -0.642000
2287 ++ 6.547000 -1.874000 0.331000
2288 ++ 6.617000 -2.214000 -1.376000
2289 ++ 6.830000 -0.145000 -0.877000
2290 ++ 6.590000 0.176000 -1.891000
2291 ++ 6.246000 0.863000 0.111000
2292 ++ 6.601000 0.589000 1.102000
2293 ++ 6.636000 1.856000 -0.095000
2294 ++ 4.731000 0.895000 0.070000
2295 ++ 4.091000 2.041000 -0.088000
2296 ++ 4.668000 2.946000 -0.204000
2297 ++ 2.599000 2.206000 -0.119000
2298 ++ 2.323000 3.070000 0.480000
2299 ++ 2.290000 2.443000 -1.137000
2300 ++ 1.853000 0.964000 0.375000
2301 ++ 1.922000 0.946000 1.460000
2302 ++ 2.514000 -0.306000 -0.204000
2303 ++ 2.518000 -0.165000 -1.285000
2304 ++ 4.012000 -0.452000 0.214000
2305 ++ 1.671000 -1.566000 0.076000
2306 ++ 2.085000 -2.410000 -0.467000
2307 ++ 1.730000 -1.829000 1.125000
2308 ++ 0.190000 -1.429000 -0.312000
2309 ++ 0.108000 -1.322000 -1.392000
2310 ++ -0.312000 -2.355000 -0.056000
2311 ++ -0.469000 -0.212000 0.358000
2312 ++ 0.381000 1.015000 -0.041000
2313 ++ 0.381000 1.020000 -1.132000
2314 ++ -0.462000 2.215000 0.391000
2315 ++ -0.304000 2.443000 1.442000
2316 ++ -0.217000 3.115000 -0.163000
2317 ++ -1.913000 1.751000 0.131000
2318 ++ -2.537000 1.930000 1.001000
2319 ++ -2.357000 2.309000 -0.684000
2320 ++ -1.859000 0.228000 -0.203000
2321 ++ -1.794000 0.127000 -1.286000
2322 ++ -0.546000 -0.407000 1.886000
2323 ++ -1.062000 0.412000 2.374000
2324 ++ 0.431000 -0.485000 2.344000
2325 ++ -1.086000 -1.316000 2.130000
2326 ++ 4.156000 -0.937000 1.675000
2327 ++ 3.579000 -0.319000 2.354000
2328 ++ 5.185000 -0.898000 2.008000
2329 ++ 3.826000 -1.963000 1.788000
2330 ++ -3.141000 -0.519000 0.237000
2331 ++ -3.267000 -0.372000 1.309000
2332 ++ -3.080000 -2.029000 -0.029000
2333 ++ -2.330000 -2.520000 0.577000
2334 ++ -2.851000 -2.232000 -1.072000
2335 ++ -4.025000 -2.508000 0.198000
2336 ++ -4.375000 0.093000 -0.461000
2337 ++ -4.324000 1.175000 -0.403000
2338 ++ -4.337000 -0.153000 -1.522000
2339 ++ -5.732000 -0.335000 0.111000
2340 ++ -5.862000 -1.406000 0.010000
2341 ++ -5.752000 -0.121000 1.179000
2342 ++ -6.898000 0.389000 -0.569000
2343 ++ -6.718000 1.461000 -0.516000
2344 ++ -6.910000 0.137000 -1.629000
2345 ++ -8.286000 0.104000 0.028000
2346 ++ -8.244000 0.333000 1.092000
2347 ++ -8.705000 -1.362000 -0.122000
2348 ++ -8.034000 -2.035000 0.400000
2349 ++ -8.723000 -1.655000 -1.169000
2350 ++ -9.702000 -1.521000 0.280000
2351 ++ -9.336000 1.023000 -0.605000
2352 ++ -9.079000 2.069000 -0.470000
2353 ++ -10.316000 0.862000 -0.166000
2354 ++ -9.420000 0.839000 -1.674000
2355 ++ 8.224000 -0.262000 -0.734000
2356 ++ 8.633000 0.570000 -0.924000
2357 ++!entry.CHL.unit.residueconnect table int c1x int c2x int c3x int c4x int c5x int c6x
2358 ++ 0 0 0 0 0 0
2359 ++!entry.CHL.unit.residues table str name int seq int childseq int startatomx str restype int imagingx
2360 ++ "CHL" 1 75 1 "?" 0
2361 ++!entry.CHL.unit.residuesPdbSequenceNumber array int
2362 ++ 0
2363 ++!entry.CHL.unit.solventcap array dbl
2364 ++ -1.000000
2365 ++ 0.0
2366 ++ 0.0
2367 ++ 0.0
2368 ++ 0.0
2369 ++!entry.CHL.unit.velocities table dbl x dbl y dbl z
2370 ++ 0.0 0.0 0.0
2371 ++ 0.0 0.0 0.0
2372 ++ 0.0 0.0 0.0
2373 ++ 0.0 0.0 0.0
2374 ++ 0.0 0.0 0.0
2375 ++ 0.0 0.0 0.0
2376 ++ 0.0 0.0 0.0
2377 ++ 0.0 0.0 0.0
2378 ++ 0.0 0.0 0.0
2379 ++ 0.0 0.0 0.0
2380 ++ 0.0 0.0 0.0
2381 ++ 0.0 0.0 0.0
2382 ++ 0.0 0.0 0.0
2383 ++ 0.0 0.0 0.0
2384 ++ 0.0 0.0 0.0
2385 ++ 0.0 0.0 0.0
2386 ++ 0.0 0.0 0.0
2387 ++ 0.0 0.0 0.0
2388 ++ 0.0 0.0 0.0
2389 ++ 0.0 0.0 0.0
2390 ++ 0.0 0.0 0.0
2391 ++ 0.0 0.0 0.0
2392 ++ 0.0 0.0 0.0
2393 ++ 0.0 0.0 0.0
2394 ++ 0.0 0.0 0.0
2395 ++ 0.0 0.0 0.0
2396 ++ 0.0 0.0 0.0
2397 ++ 0.0 0.0 0.0
2398 ++ 0.0 0.0 0.0
2399 ++ 0.0 0.0 0.0
2400 ++ 0.0 0.0 0.0
2401 ++ 0.0 0.0 0.0
2402 ++ 0.0 0.0 0.0
2403 ++ 0.0 0.0 0.0
2404 ++ 0.0 0.0 0.0
2405 ++ 0.0 0.0 0.0
2406 ++ 0.0 0.0 0.0
2407 ++ 0.0 0.0 0.0
2408 ++ 0.0 0.0 0.0
2409 ++ 0.0 0.0 0.0
2410 ++ 0.0 0.0 0.0
2411 ++ 0.0 0.0 0.0
2412 ++ 0.0 0.0 0.0
2413 ++ 0.0 0.0 0.0
2414 ++ 0.0 0.0 0.0
2415 ++ 0.0 0.0 0.0
2416 ++ 0.0 0.0 0.0
2417 ++ 0.0 0.0 0.0
2418 ++ 0.0 0.0 0.0
2419 ++ 0.0 0.0 0.0
2420 ++ 0.0 0.0 0.0
2421 ++ 0.0 0.0 0.0
2422 ++ 0.0 0.0 0.0
2423 ++ 0.0 0.0 0.0
2424 ++ 0.0 0.0 0.0
2425 ++ 0.0 0.0 0.0
2426 ++ 0.0 0.0 0.0
2427 ++ 0.0 0.0 0.0
2428 ++ 0.0 0.0 0.0
2429 ++ 0.0 0.0 0.0
2430 ++ 0.0 0.0 0.0
2431 ++ 0.0 0.0 0.0
2432 ++ 0.0 0.0 0.0
2433 ++ 0.0 0.0 0.0
2434 ++ 0.0 0.0 0.0
2435 ++ 0.0 0.0 0.0
2436 ++ 0.0 0.0 0.0
2437 ++ 0.0 0.0 0.0
2438 ++ 0.0 0.0 0.0
2439 ++ 0.0 0.0 0.0
2440 ++ 0.0 0.0 0.0
2441 ++ 0.0 0.0 0.0
2442 ++ 0.0 0.0 0.0
2443 ++ 0.0 0.0 0.0
2444 + !entry.LA.unit.atoms table str name str type int typex int resx int flags int seq int elmnt dbl chg
2445 + "H12T" "hL" 0 1 131073 1 1 0.025809
2446 + "C112" "cD" 0 1 131073 2 6 -0.118534
2447 +diff --git dat/leap/parm/lipid11.dat dat/leap/parm/lipid11.dat
2448 +index 0f8d83e..9c25f35 100644
2449 +--- dat/leap/parm/lipid11.dat
2450 ++++ dat/leap/parm/lipid11.dat
2451 +@@ -1,4 +1,4 @@
2452 +-AMBER Lipid 2011 Force Field (v1.0), A.Skjevik, B. Madej, K.Teigen & R.C.Walker
2453 ++** Warning: Lipid11 is deprecated. Please refer to Amber Lipid14 for more information ** AMBER Lipid 2011 Force Field (v1.0), A.Skjevik, B. Madej, K.Teigen & R.C.Walker
2454 + cC 12.01 carbonyl sp2 carbon (GAFF c -)
2455 + cB 12.01 aliphatic sp2 carbon (GAFF c2-)
2456 + cA 12.01 sp3 carbon (GAFF c3-)
2457 +diff --git dat/leap/parm/lipid14.dat dat/leap/parm/lipid14.dat
2458 +index 46da737..f102976 100644
2459 +--- dat/leap/parm/lipid14.dat
2460 ++++ dat/leap/parm/lipid14.dat
2461 +@@ -3,59 +3,81 @@ cA 12.01 sp3 carbon (GAFF c3-head,glycerol)
2462 + cB 12.01 aliphatic sp2 carbon (GAFF c2-tail)
2463 + cC 12.01 carbonyl sp2 carbon (GAFF c -head,glycerol)
2464 + cD 12.010 sp3 carbon (GAFFlipid a3-tail)
2465 ++hA 1.008 H bonded to aliphatic carbon without electrwd. group (GAFF hc-)
2466 ++hB 1.008 H bonded to aromatic carbon (GAFF ha-)
2467 ++hE 1.008 H bonded to aliphatic carbon with 1 electrwd. group (GAFF h1-)
2468 ++hL 1.008 H bonded to aliphatic carbon without electrwd. group (GAFFlipid hl-)
2469 ++hN 1.008 H bonded to nitrogen (GAFF hn-)
2470 ++hO 1.008 H in Hydroxyl group (GAFF ho-)
2471 ++hX 1.008 H bonded to C next to positively charged group (GAFF hx-)
2472 ++nA 14.01 sp3 N with four connected atoms (GAFF n4-)
2473 + oC 16.00 sp2 oxygen with one connected atom (e.g C=O, COO-) (GAFF o -)
2474 +-oS 16.00 sp3 oxygen in ethers and esters (GAFF os-)
2475 ++oH 16.00 sp3 oxygen in hydroxyl group (GAFF oh-)
2476 + oP 16.00 sp2 oxygen with one connected atom (e.g P-O) in phosphate group (GAFF o -)
2477 ++oS 16.00 sp3 oxygen in ethers and esters (GAFF os-)
2478 + oT 16.00 sp3 oxygen bonded to carbon in phosphate group (GAFF os-)
2479 +-nA 14.01 sp3 N with four connected atoms (GAFF n4-)
2480 + pA 30.97 phosphorus with four connected atoms, such as O=P(OH)3 (GAFF p5-)
2481 +-hE 1.008 H bonded to aliphatic carbon with 1 electrwd. group (GAFF h1-)
2482 +-hX 1.008 H bonded to C next to positively charged group (GAFF hx-)
2483 +-hB 1.008 H bonded to aromatic carbon (GAFF ha-)
2484 +-hN 1.008 H bonded to nitrogen (GAFF hn-)
2485 +-hL 1.008 H bonded to aliphatic carbon without electrwd. group (GAFFlipid hl-)
2486 +
2487 + cA cB cC cD oC oS oP oT nA pA hE hX hB hN hL
2488 + cA-cA 303.1 1.5350 Lipid11 v1.0 (GAFF c3-c3)
2489 ++cA-cB 328.3 1.5080 Lipid11 v1.0 (GAFF c3-c2)
2490 ++cA-cD 303.1 1.5350 Lipid14 v2.14(GAFF c3-c3)
2491 ++cA-hA 337.3 1.0920 Lipid11 v1.0 (GAFF c3-hc)
2492 + cA-hE 335.9 1.0930 Lipid11 v1.0 (GAFF c3-h1)
2493 + cA-hX 338.7 1.0910 Lipid11 v1.0 (GAFF c3-hx)
2494 + cA-nA 293.6 1.4990 Lipid11 v1.0 (GAFF c3-n4)
2495 ++cA-oH 314.1 1.4260 Lipid11 v1.0 (GAFF c3-oh)
2496 + cA-oS 301.5 1.4390 Lipid11 v1.0 (GAFF c3-os)
2497 + cA-oT 301.5 1.4390 Lipid11 v1.0 (GAFF c3-os)
2498 + cB-cB 589.7 1.3240 Lipid11 v1.0 (GAFF c2-c2)
2499 ++cB-cD 328.3 1.5080 Lipid14 v2.0 (GAFF c2-c3)
2500 + cB-hB 344.3 1.0870 Lipid11 v1.0 (GAFF c2-ha)
2501 ++cC-cD 328.3 1.5080 Lipid14 v2.0 (GAFF c -c3)
2502 + cC-oC 648.0 1.2140 Lipid11 v1.0 (GAFF c -o )
2503 + cC-oS 411.3 1.3430 Lipid11 v1.0 (GAFF c -os)
2504 +-cD-cB 328.3 1.5080 Lipid14 v2.0 (GAFF c3-c2)
2505 +-cD-cC 328.3 1.5080 Lipid14 v2.0 (GAFF c3-c )
2506 + cD-cD 303.1 1.5350 Lipid14 v2.0 (GAFF c3-c3)
2507 + cD-hL 337.3 1.0920 Lipid14 v2.0 (GAFF c3-hc)
2508 + hN-nA 369.0 1.0330 Lipid11 v1.0 (GAFF hn-n4)
2509 ++hO-oH 369.6 0.9740 Lipid11 v1.0 (GAFF ho-oh)
2510 + oP-pA 487.7 1.4810 Lipid11 v1.0 (GAFF o -p5)
2511 + oT-pA 342.5 1.6020 Lipid11 v1.0 (GAFF os-p5)
2512 +
2513 + cA-cA-cA 63.210 110.630 Lipid11 v1.0 (GAFF c3-c3-c3)
2514 ++cA-cA-cB 63.530 111.440 Lipid11 v1.0 (GAFF c3-c3-c2)
2515 ++cA-cA-cD 63.210 110.630 Lipid14 v2.14(GAFF c3-c3-c3)
2516 ++cA-cA-hA 46.370 110.050 Lipid11 v1.0 (GAFF c3-c3-hc)
2517 + cA-cA-hE 46.360 110.070 Lipid11 v1.0 (GAFF c3-c3-h1)
2518 + cA-cA-hX 46.020 111.740 Lipid11 v1.0 (GAFF c3-c3-hx)
2519 + cA-cA-nA 64.450 114.320 Lipid11 v1.0 (GAFF c3-c3-n4)
2520 ++cA-cA-oH 67.720 109.430 Lipid11 v1.0 (GAFF c3-c3-oh)
2521 + cA-cA-oS 67.780 108.420 Lipid11 v1.0 (GAFF c3-c3-os)
2522 + cA-cA-oT 67.780 108.420 Lipid11 v1.0 (GAFF c3-c3-os)
2523 ++cA-cB-cA 62.700 116.520 Lipid11 v1.0 (GAFF c3-c2-c3)
2524 ++cA-cB-cB 64.330 123.420 Lipid11 v1.0 (GAFF c3-c2-c2)
2525 ++cA-cB-hB 45.660 117.300 Lipid11 v1.0 (GAFF c3-c2-ha)
2526 ++cA-cD-cD 63.210 110.630 Lipid14 v2.14(GAFF c3-c3-c3)
2527 ++cA-cD-hL 46.370 110.050 Lipid14 v2.14(GAFF c3-c3-hc)
2528 + cA-nA-cA 62.840 110.640 Lipid11 v1.0 (GAFF c3-n4-c3)
2529 + cA-nA-hN 46.190 110.110 Lipid11 v1.0 (GAFF c3-n4-hn)
2530 ++cA-oH-hO 47.090 108.160 Lipid11 v1.0 (GAFF c3-oh-ho)
2531 + cA-oS-cC 63.630 115.140 Lipid11 v1.0 (GAFF c3-os-c )
2532 + cA-oT-pA 78.480 118.000 Lipid11 v1.0 (GAFF c3-os-p5)
2533 ++cB-cA-hA 47.030 110.490 Lipid11 v1.0 (GAFF c2-c3-hc)
2534 ++cB-cB-cD 64.330 123.420 Lipid14 v2.0 (GAFF c2-c2-c3)
2535 + cB-cB-hB 50.040 120.940 Lipid11 v1.0 (GAFF c2-c2-ha)
2536 ++cB-cD-cD 63.530 111.440 Lipid14 v2.0 (GAFF c2-c3-c3)
2537 + cB-cD-hL 47.030 110.490 Lipid14 v2.0 (GAFF c2-c3-hc)
2538 ++cC-cD-cD 63.790 110.530 Lipid14 v2.0 (GAFF c -c3-c3)
2539 + cC-cD-hL 47.200 109.680 Lipid14 v2.0 (GAFF c -c3-hc)
2540 +-cD-cB-cB 64.330 123.420 Lipid14 v2.0 (GAFF c3-c2-c2)
2541 ++cD-cA-hA 46.370 110.050 Lipid14 v2.14(GAFF c3-c3-hc)
2542 + cD-cB-hB 45.660 117.300 Lipid14 v2.0 (GAFF c3-c2-ha)
2543 + cD-cC-oC 68.030 123.110 Lipid14 v2.0 (GAFF c3-c -o )
2544 + cD-cC-oS 69.260 111.960 Lipid14 v2.0 (GAFF c3-c -os)
2545 +-cD-cD-cB 63.530 111.440 Lipid14 v2.0 (GAFF c3-c3-c2)
2546 +-cD-cD-cC 63.790 110.530 Lipid14 v2.0 (GAFF c3-c3-c )
2547 + cD-cD-cD 63.210 110.630 Lipid14 v2.0 (GAFF c3-c3-c3)
2548 + cD-cD-hL 46.370 110.050 Lipid14 v2.0 (GAFF c3-c3-hc)
2549 ++hA-cA-hA 39.430 108.350 Lipid11 v1.0 (GAFF hc-c3-hc)
2550 + hE-cA-hE 39.180 109.550 Lipid11 v1.0 (GAFF h1-c3-h1)
2551 ++hE-cA-oH 50.970 109.880 Lipid11 v1.0 (GAFF ha-c3-oh)
2552 + hE-cA-oS 50.840 108.820 Lipid11 v1.0 (GAFF h1-c3-os)
2553 + hE-cA-oT 50.840 108.820 Lipid11 v1.0 (GAFF h1-c3-os)
2554 + hL-cD-hL 39.430 108.350 Lipid14 v2.0 (GAFF hc-c3-hc)
2555 +@@ -67,86 +89,133 @@ oP-pA-oP 46.010 115.800 Lipid11 v1.0 (GAFF o -p5-o )
2556 + oP-pA-oT 44.010 116.090 Lipid11 v1.0 (GAFF o -p5-os)
2557 + oT-pA-oT 45.370 101.770 Lipid11 v1.0 (GAFF os-p5-os)
2558 +
2559 +-cA-cA-cA-hE 1 0.1556 0.0 3.000 SCEE=1.2 SCNB=2.0 Lipid11 v1.0 (GAFF X -c3-c3-X )
2560 +-cA-cA-cA-oS 1 0.1556 0.0 3.000 SCEE=1.2 SCNB=2.0 Lipid11 v1.0 (GAFF X -c3-c3-X )
2561 +-cA-cA-cA-oT 1 0.1556 0.0 3.000 SCEE=1.2 SCNB=2.0 Lipid11 v1.0 (GAFF X -c3-c3-X )
2562 +-cA-cA-nA-cA 1 0.1556 0.0 3.000 SCEE=1.2 SCNB=2.0 Lipid11 v1.0 (GAFF X -c3-n4-X )
2563 +-cA-cA-nA-hN 1 0.1556 0.0 3.000 SCEE=1.2 SCNB=2.0 Lipid11 v1.0 (GAFF X -c3-n4-X )
2564 +-cA-cA-oT-pA 1 0.3833 0.0 3.000 SCEE=1.2 SCNB=2.0 Lipid11 v1.0 (GAFF X -c3-os-X )
2565 +-cA-nA-cA-hX 1 0.1556 0.0 3.000 SCEE=1.2 SCNB=2.0 Lipid11 v1.0 (GAFF X -c3-n4-X )
2566 +-cA-oS-cC-oS 1 2.700 180.0 2.000 SCEE=1.2 SCNB=2.0 Lipid11 v1.0 (GAFF X -c -os-X )
2567 +-cA-oT-pA-oP 1 0.800 0.0 2.000 SCEE=1.2 SCNB=2.0 Lipid11 v1.0 (GAFF X -os-p5-X )
2568 +-cA-oT-pA-oP 1 0.800 0.0 2.000 SCEE=1.2 SCNB=2.0 Lipid11 v1.0 (GAFF X -os-p5-X )
2569 +-cA-oT-pA-oT 1 0.25 0.0 -3.000 SCEE=1.2 SCNB=2.0 Lipid11 v1.0 (GAFF c3-os-p5-os)
2570 +-cA-oT-pA-oT 1 1.20 0.0 2.000 SCEE=1.2 SCNB=2.0 Lipid11 v1.0 (GAFF c3-os-p5-os)
2571 +-cB-cB-cD-cD 1 0.3464 0.000 1.000 SCEE=1.2 SCNB=2.0 Lipid14 v2.10 (paramfit)
2572 +-cB-cB-cD-cD 1 -0.5577 0.000 2.000 SCEE=1.2 SCNB=2.0 Lipid14 v2.10 (paramfit)
2573 +-cB-cB-cD-cD 1 -0.2920 0.000 3.000 SCEE=1.2 SCNB=2.0 Lipid14 v2.10 (paramfit)
2574 +-cB-cB-cD-cD 1 -0.0943 0.000 4.000 SCEE=1.2 SCNB=2.0 Lipid14 v2.10 (paramfit)
2575 +-cB-cB-cD-cD 1 0.0226 0.000 5.000 SCEE=1.2 SCNB=2.0 Lipid14 v2.10 (paramfit)
2576 +-cB-cD-cD-cD 1 0.0251 180.000 1.000 SCEE=1.2 SCNB=2.0 Lipid14 v2.10 (paramfit)
2577 +-cB-cD-cD-cD 1 0.0054 180.000 2.000 SCEE=1.2 SCNB=2.0 Lipid14 v2.10 (paramfit)
2578 +-cB-cD-cD-cD 1 0.2007 0.000 3.000 SCEE=1.2 SCNB=2.0 Lipid14 v2.10 (paramfit)
2579 +-cB-cD-cD-cD 1 0.2103 0.000 4.000 SCEE=1.2 SCNB=2.0 Lipid14 v2.10 (paramfit)
2580 +-cB-cD-cD-cD 1 0.0811 0.000 5.000 SCEE=1.2 SCNB=2.0 Lipid14 v2.10 (paramfit)
2581 +-cB-cD-cD-hL 1 0.1556 0.0 3.000 SCEE=1.2 SCNB=2.0 Lipid14 v2.0 (GAFF X -c3-c3-X )
2582 +-cC-cD-cD-hL 1 0.1556 0.0 3.000 SCEE=1.2 SCNB=2.0 Lipid14 v2.0 (GAFF X -c3-c3-X )
2583 +-cC-oS-cA-cA 1 0.383 0.0 -3.000 SCEE=1.2 SCNB=2.0 Lipid11 v1.0 (GAFF c3-c3-os-c )
2584 +-cC-oS-cA-cA 1 0.80 180.0 1.000 SCEE=1.2 SCNB=2.0 Lipid11 v1.0 (GAFF c3-c3-os-c )
2585 +-cC-oS-cA-hE 1 0.3833 0.0 3.000 SCEE=1.2 SCNB=2.0 Lipid11 v1.0 (GAFF X -c3-os-X )
2586 +-cD-cB-cB-cD 1 0.3073 180.000 1.000 SCEE=1.2 SCNB=2.0 Lipid14 v2.10 (paramfit)
2587 +-cD-cB-cB-cD 1 4.0051 180.000 2.000 SCEE=1.2 SCNB=2.0 Lipid14 v2.10 (paramfit)
2588 +-cD-cB-cB-cD 1 0.1990 0.000 3.000 SCEE=1.2 SCNB=2.0 Lipid14 v2.10 (paramfit)
2589 +-cD-cB-cB-cD 1 0.3242 0.000 4.000 SCEE=1.2 SCNB=2.0 Lipid14 v2.10 (paramfit)
2590 +-cD-cB-cB-cD 1 -0.0415 0.000 5.000 SCEE=1.2 SCNB=2.0 Lipid14 v2.10 (paramfit)
2591 +-cD-cB-cB-hB 1 6.650 180.0 2.000 SCEE=1.2 SCNB=2.0 Lipid14 v2.0 (GAFF X -c2-c2-X )
2592 +-cD-cC-oS-cA 1 2.700 180.000 2.000 SCEE=1.2 SCNB=2.0 Lipid11 v1.0 (GAFF X -c -os-X )
2593 +-cD-cD-cC-oC 1 -0.9110 180.000 1.000 SCEE=1.2 SCNB=2.0 Lipid14 v2.10 (paramfit)
2594 +-cD-cD-cC-oC 1 0.7382 180.000 2.000 SCEE=1.2 SCNB=2.0 Lipid14 v2.10 (paramfit)
2595 +-cD-cD-cC-oC 1 0.3290 0.000 3.000 SCEE=1.2 SCNB=2.0 Lipid14 v2.10 (paramfit)
2596 +-cD-cD-cC-oC 1 -0.5864 0.000 4.000 SCEE=1.2 SCNB=2.0 Lipid14 v2.10 (paramfit)
2597 +-cD-cD-cC-oC 1 0.1333 0.000 5.000 SCEE=1.2 SCNB=2.0 Lipid14 v2.10 (paramfit)
2598 +-cD-cD-cC-oS 1 -0.1226 180.000 1.000 SCEE=1.2 SCNB=2.0 Lipid14 v2.10 (paramfit)
2599 +-cD-cD-cC-oS 1 -0.2054 180.000 2.000 SCEE=1.2 SCNB=2.0 Lipid14 v2.10 (paramfit)
2600 +-cD-cD-cC-oS 1 0.1802 0.000 3.000 SCEE=1.2 SCNB=2.0 Lipid14 v2.10 (paramfit)
2601 +-cD-cD-cC-oS 1 0.5107 0.000 4.000 SCEE=1.2 SCNB=2.0 Lipid14 v2.10 (paramfit)
2602 +-cD-cD-cC-oS 1 0.1355 0.000 5.000 SCEE=1.2 SCNB=2.0 Lipid14 v2.10 (paramfit)
2603 +-cD-cD-cD-cC 1 0.1556 0.0 3.000 SCEE=1.2 SCNB=2.0 Lipid11 v1.0 (GAFF )
2604 +-cD-cD-cD-cD 1 0.3112 180.000 1.000 SCEE=1.2 SCNB=2.0 Lipid14 v2.10 (paramfit)
2605 +-cD-cD-cD-cD 1 -0.1233 180.000 2.000 SCEE=1.2 SCNB=2.0 Lipid14 v2.10 (paramfit)
2606 +-cD-cD-cD-cD 1 0.1149 0.000 3.000 SCEE=1.2 SCNB=2.0 Lipid14 v2.10 (paramfit)
2607 +-cD-cD-cD-cD 1 -0.2199 0.000 4.000 SCEE=1.2 SCNB=2.0 Lipid14 v2.10 (paramfit)
2608 +-cD-cD-cD-cD 1 0.2170 0.000 5.000 SCEE=1.2 SCNB=2.0 Lipid14 v2.10 (paramfit)
2609 +-cD-cD-cD-hL 1 0.16 0.0 3.000 SCEE=1.2 SCNB=2.0 Lipid14 v2.0 (GAFF c3-c3-c3-hc)
2610 +-hB-cB-cB-hB 1 6.650 180.0 2.000 SCEE=1.2 SCNB=2.0 Lipid11 v1.0 (GAFF X -c2-c2-X )
2611 +-hE-cA-cA-hE 1 0.1556 0.0 3.000 SCEE=1.2 SCNB=2.0 Lipid11 v1.0 (GAFF X -c3-c3-X )
2612 +-hE-cA-cA-nA 1 0.1556 0.0 3.000 SCEE=1.2 SCNB=2.0 Lipid11 v1.0 (GAFF X -c3-c3-X )
2613 +-hE-cA-cA-hX 1 0.1556 0.0 3.000 SCEE=1.2 SCNB=2.0 Lipid11 v1.0 (GAFF X -c3-c3-X )
2614 +-hE-cA-cA-oS 1 0.00 0.0 -3.000 SCEE=1.2 SCNB=2.0 Lipid11 v1.0 (GAFF h1-c3-c3-os)
2615 +-hE-cA-cA-oS 1 0.25 0.0 1.000 SCEE=1.2 SCNB=2.0 Lipid11 v1.0 (GAFF h1-c3-c3-os)
2616 +-hE-cA-cA-oT 1 0.00 0.0 -3.000 SCEE=1.2 SCNB=2.0 Lipid11 v1.0 (GAFF h1-c3-c3-os)
2617 +-hE-cA-cA-oT 1 0.25 0.0 1.000 SCEE=1.2 SCNB=2.0 Lipid11 v1.0 (GAFF h1-c3-c3-os)
2618 +-hE-cA-oT-pA 1 0.3833 0.0 3.000 SCEE=1.2 SCNB=2.0 Lipid11 v1.0 (GAFF X -c3-os-X )
2619 +-hB-cB-cD-cD 1 0.000 0.0 2.000 SCEE=1.2 SCNB=2.0 Lipid14 v2.0 (GAFF X -c3-c2-X )
2620 +-hB-cB-cD-hL 1 0.000 0.0 2.000 SCEE=1.2 SCNB=2.0 Lipid14 v2.0 (GAFF X -c3-c2-X )
2621 +-hL-cD-cB-cB 1 0.38 180.0 -3.000 SCEE=1.2 SCNB=2.0 Lipid14 v2.0 (GAFF hc-c3-c2-c2)
2622 +-hL-cD-cB-cB 1 1.15 0.0 1.000 SCEE=1.2 SCNB=2.0 Lipid14 v2.0 (GAFF hc-c3-c2-c2)
2623 +-hL-cD-cC-oC 1 0.80 0.0 -1.000 SCEE=1.2 SCNB=2.0 Lipid14 v2.0 (GAFF hc-c3-c -o )
2624 +-hL-cD-cC-oC 1 0.08 180.0 3.000 SCEE=1.2 SCNB=2.0 Lipid14 v2.0 (GAFF hc-c3-c -o )
2625 +-hL-cD-cC-oS 1 0.000 180.0 2.000 SCEE=1.2 SCNB=2.0 Lipid14 v2.0 (GAFF X -c -c3-X )
2626 +-hL-cD-cD-hL 1 0.15 0.0 3.000 SCEE=1.2 SCNB=2.0 Lipid14 v2.0 (GAFF hc-c3-c3-hc)
2627 +-hN-nA-cA-hX 1 0.1556 0.0 3.000 SCEE=1.2 SCNB=2.0 Lipid11 v1.0 (GAFF X -c3-n4-X )
2628 +-hX-cA-cA-oT 1 0.1556 0.0 3.000 SCEE=1.2 SCNB=2.0 Lipid11 v1.0 (GAFF X -c3-c3-X )
2629 +-nA-cA-cA-oT 1 0.1556 0.0 3.000 SCEE=1.2 SCNB=2.0 Lipid11 v1.0 (GAFF X -c3-c3-X )
2630 +-cA-oS-cC-oC 1 2.70 180.0 -2.000 SCEE=1.2 SCNB=2.0 Lipid11 v1.0 (GAFF c3-os-c -o )
2631 +-cA-oS-cC-oC 1 1.40 180.0 1.000 SCEE=1.2 SCNB=2.0 Lipid11 v1.0 (GAFF c3-os-c -o )
2632 +-oS-cA-cA-oS 1 0.144 0.0 -3.000 SCEE=1.2 SCNB=2.0 Lipid11 v1.0 (GAFF os-c3-c3-os)
2633 +-oS-cA-cA-oS 1 1.175 0.0 2.000 SCEE=1.2 SCNB=2.0 Lipid11 v1.0 (GAFF os-c3-c3-os)
2634 +-oT-cA-cA-oS 1 0.144 0.0 -3.000 SCEE=1.2 SCNB=2.0 Lipid11 v1.0 (GAFF os-c3-c3-os)
2635 +-oT-cA-cA-oS 1 1.175 0.0 2.000 SCEE=1.2 SCNB=2.0 Lipid11 v1.0 (GAFF os-c3-c3-os)
2636 +-
2637 ++cA-cA-cA-cA 1 0.18 0.0 -3.000 SCEE=1.2 SCNB=2.0 Lipid11 v1.0 (GAFF c3-c3-c3-c3)
2638 ++cA-cA-cA-cA 1 0.25 180.0 -2.000 SCEE=1.2 SCNB=2.0 Lipid11 v1.0 (GAFF c3-c3-c3-c3)
2639 ++cA-cA-cA-cA 1 0.20 180.0 1.000 SCEE=1.2 SCNB=2.0 Lipid11 v1.0 (GAFF c3-c3-c3-c3)
2640 ++cA-cA-cA-cB 1 0.1556 0.0 3.000 SCEE=1.2 SCNB=2.0 Lipid11 v1.0 (GAFF X -c3-c3-X )
2641 ++cA-cA-cA-cD 1 0.3112 180.000 1.000 SCEE=1.2 SCNB=2.0 Lipid14 v2.14(Lipid14 cD-cD-cD-cD)
2642 ++cA-cA-cA-cD 1 -0.1233 180.000 2.000 SCEE=1.2 SCNB=2.0 Lipid14 v2.14(Lipid14 cD-cD-cD-cD)
2643 ++cA-cA-cA-cD 1 0.1149 0.000 3.000 SCEE=1.2 SCNB=2.0 Lipid14 v2.14(Lipid14 cD-cD-cD-cD)
2644 ++cA-cA-cA-cD 1 -0.2199 0.000 4.000 SCEE=1.2 SCNB=2.0 Lipid14 v2.14(Lipid14 cD-cD-cD-cD)
2645 ++cA-cA-cA-cD 1 0.2170 0.000 5.000 SCEE=1.2 SCNB=2.0 Lipid14 v2.14(Lipid14 cD-cD-cD-cD)
2646 ++cA-cA-cA-hA 1 0.16 0.0 3.000 SCEE=1.2 SCNB=2.0 Lipid11 v1.0 (GAFF c3-c3-c3-hc)
2647 ++cA-cA-cA-hE 1 0.1556 0.0 3.000 SCEE=1.2 SCNB=2.0 Lipid11 v1.0 (GAFF X -c3-c3-X )
2648 ++cA-cA-cA-oH 1 0.1556 0.0 3.000 SCEE=1.2 SCNB=2.0 Lipid11 v1.0 (GAFF X -c3-c3-X )
2649 ++cA-cA-cA-oS 1 0.1556 0.0 3.000 SCEE=1.2 SCNB=2.0 Lipid11 v1.0 (GAFF X -c3-c3-X )
2650 ++cA-cA-cA-oT 1 0.1556 0.0 3.000 SCEE=1.2 SCNB=2.0 Lipid11 v1.0 (GAFF X -c3-c3-X )
2651 ++cA-cA-cB-cA 1 0.000 0.0 2.000 SCEE=1.2 SCNB=2.0 Lipid11 v1.0 (GAFF X -c3-c2-X )
2652 ++cA-cA-cB-cB 1 0.000 0.0 2.000 SCEE=1.2 SCNB=2.0 Lipid11 v1.0 (GAFF X -c3-c2-X )
2653 ++cA-cA-cB-hB 1 0.000 0.0 2.000 SCEE=1.2 SCNB=2.0 Lipid11 v1.0 (GAFF X -c3-c2-X )
2654 ++cA-cA-cD-cD 1 0.3112 180.000 1.000 SCEE=1.2 SCNB=2.0 Lipid14 v2.14(Lipid14 cD-cD-cD-cD)
2655 ++cA-cA-cD-cD 1 -0.1233 180.000 2.000 SCEE=1.2 SCNB=2.0 Lipid14 v2.14(Lipid14 cD-cD-cD-cD)
2656 ++cA-cA-cD-cD 1 0.1149 0.000 3.000 SCEE=1.2 SCNB=2.0 Lipid14 v2.14(Lipid14 cD-cD-cD-cD)
2657 ++cA-cA-cD-cD 1 -0.2199 0.000 4.000 SCEE=1.2 SCNB=2.0 Lipid14 v2.14(Lipid14 cD-cD-cD-cD)
2658 ++cA-cA-cD-cD 1 0.2170 0.000 5.000 SCEE=1.2 SCNB=2.0 Lipid14 v2.14(Lipid14 cD-cD-cD-cD)
2659 ++cA-cA-cD-hL 1 0.16 0.0 3.000 SCEE=1.2 SCNB=2.0 Lipid14 v2.14(GAFF c3-c3-c3-hc)
2660 ++cA-cA-nA-cA 1 0.1556 0.0 3.000 SCEE=1.2 SCNB=2.0 Lipid11 v1.0 (GAFF X -c3-n4-X )
2661 ++cA-cA-nA-hN 1 0.1556 0.0 3.000 SCEE=1.2 SCNB=2.0 Lipid11 v1.0 (GAFF X -c3-n4-X )
2662 ++cA-cA-oH-hO 1 0.16 0.0 -3.000 SCEE=1.2 SCNB=2.0 Lipid11 v1.0 (GAFF c3-c3-oh-ho)
2663 ++cA-cA-oH-hO 1 0.25 0.0 1.000 SCEE=1.2 SCNB=2.0 Lipid11 v1.0 (GAFF c3-c3-oh-ho)
2664 ++cA-cA-oS-cC 1 0.383 0.0 -3.000 SCEE=1.2 SCNB=2.0 Lipid11 v1.0 (GAFF c3-c3-os-c )
2665 ++cA-cA-oS-cC 1 0.80 180.0 1.000 SCEE=1.2 SCNB=2.0 Lipid11 v1.0 (GAFF c3-c3-os-c )
2666 ++cA-cA-oT-pA 1 0.3833 0.0 3.000 SCEE=1.2 SCNB=2.0 Lipid11 v1.0 (GAFF X -c3-os-X )
2667 ++cA-cB-cA-hA 1 0.000 0.0 2.000 SCEE=1.2 SCNB=2.0 Lipid11 v1.0 (GAFF X -c3-c2-X )
2668 ++cA-cB-cB-cA 1 6.65 180.0 -2.000 SCEE=1.2 SCNB=2.0 Lipid11 v1.0 (GAFF c3-c2-c2-c3)
2669 ++cA-cB-cB-cA 1 1.90 180.0 1.000 SCEE=1.2 SCNB=2.0 Lipid11 v1.0 (GAFF c3-c2-c2-c3)
2670 ++cA-cB-cB-hB 1 6.650 180.000 2.000 SCEE=1.2 SCNB=2.0 Lipid11 v1.0 (GAFF X -c2-c2-X )
2671 ++cA-cD-cD-cD 1 0.3112 180.000 1.000 SCEE=1.2 SCNB=2.0 Lipid14 v2.14(Lipid14 cD-cD-cD-cD)
2672 ++cA-cD-cD-cD 1 -0.1233 180.000 2.000 SCEE=1.2 SCNB=2.0 Lipid14 v2.14(Lipid14 cD-cD-cD-cD)
2673 ++cA-cD-cD-cD 1 0.1149 0.000 3.000 SCEE=1.2 SCNB=2.0 Lipid14 v2.14(Lipid14 cD-cD-cD-cD)
2674 ++cA-cD-cD-cD 1 -0.2199 0.000 4.000 SCEE=1.2 SCNB=2.0 Lipid14 v2.14(Lipid14 cD-cD-cD-cD)
2675 ++cA-cD-cD-cD 1 0.2170 0.000 5.000 SCEE=1.2 SCNB=2.0 Lipid14 v2.14(Lipid14 cD-cD-cD-cD)
2676 ++cA-cD-cD-hL 1 0.16 0.0 3.000 SCEE=1.2 SCNB=2.0 Lipid14 v2.14(GAFF c3-c3-c3-hc)
2677 ++cA-nA-cA-hX 1 0.1556 0.0 3.000 SCEE=1.2 SCNB=2.0 Lipid11 v1.0 (GAFF X -c3-n4-X )
2678 ++cA-oS-cC-cD 1 2.700 180.000 2.000 SCEE=1.2 SCNB=2.0 Lipid11 v1.0 (GAFF X -os-c -X )
2679 ++cA-oS-cC-oC 1 2.70 180.0 -2.000 SCEE=1.2 SCNB=2.0 Lipid11 v1.0 (GAFF c3-os-c -o )
2680 ++cA-oS-cC-oC 1 1.40 180.0 1.000 SCEE=1.2 SCNB=2.0 Lipid11 v1.0 (GAFF c3-os-c -o )
2681 ++cA-oS-cC-oS 1 2.700 180.0 2.000 SCEE=1.2 SCNB=2.0 Lipid11 v1.0 (GAFF X -c -os-X )
2682 ++cA-oT-pA-oP 1 0.800 0.0 2.000 SCEE=1.2 SCNB=2.0 Lipid11 v1.0 (GAFF X -os-p5-X )
2683 ++cA-oT-pA-oT 1 0.25 0.0 -3.000 SCEE=1.2 SCNB=2.0 Lipid11 v1.0 (GAFF c3-os-p5-os)
2684 ++cA-oT-pA-oT 1 1.20 0.0 2.000 SCEE=1.2 SCNB=2.0 Lipid11 v1.0 (GAFF c3-os-p5-os)
2685 ++cB-cA-cA-hA 1 0.1556 0.0 3.000 SCEE=1.2 SCNB=2.0 Lipid11 v1.0 (GAFF X -c3-c3-X )
2686 ++cB-cA-cA-hE 1 0.1556 0.0 3.000 SCEE=1.2 SCNB=2.0 Lipid11 v1.0 (GAFF X -c3-c3-X )
2687 ++cB-cA-cA-oH 1 0.1556 0.0 3.000 SCEE=1.2 SCNB=2.0 Lipid11 v1.0 (GAFF X -c3-c3-X )
2688 ++cB-cB-cA-hA 1 0.38 180.0 -3.000 SCEE=1.2 SCNB=2.0 Lipid11 v1.0 (GAFF hc-c3-c2-c2)
2689 ++cB-cB-cA-hA 1 1.15 0.0 1.000 SCEE=1.2 SCNB=2.0 Lipid11 v1.0 (GAFF hc-c3-c2-c2)
2690 ++cB-cB-cD-cD 1 0.3464 0.000 1.000 SCEE=1.2 SCNB=2.0 Lipid14 v2.10 (paramfit)
2691 ++cB-cB-cD-cD 1 -0.5577 0.000 2.000 SCEE=1.2 SCNB=2.0 Lipid14 v2.10 (paramfit)
2692 ++cB-cB-cD-cD 1 -0.2920 0.000 3.000 SCEE=1.2 SCNB=2.0 Lipid14 v2.10 (paramfit)
2693 ++cB-cB-cD-cD 1 -0.0943 0.000 4.000 SCEE=1.2 SCNB=2.0 Lipid14 v2.10 (paramfit)
2694 ++cB-cB-cD-cD 1 0.0226 0.000 5.000 SCEE=1.2 SCNB=2.0 Lipid14 v2.10 (paramfit)
2695 ++cB-cB-cD-hL 1 0.38 180.0 -3.000 SCEE=1.2 SCNB=2.0 Lipid14 v2.0 (GAFF c2-c2-c3-hc)
2696 ++cB-cB-cD-hL 1 1.15 0.0 1.000 SCEE=1.2 SCNB=2.0 Lipid14 v2.0 (GAFF c2-c2-c3-hc)
2697 ++cB-cD-cD-cD 1 0.0251 180.000 1.000 SCEE=1.2 SCNB=2.0 Lipid14 v2.10 (paramfit)
2698 ++cB-cD-cD-cD 1 0.0054 180.000 2.000 SCEE=1.2 SCNB=2.0 Lipid14 v2.10 (paramfit)
2699 ++cB-cD-cD-cD 1 0.2007 0.000 3.000 SCEE=1.2 SCNB=2.0 Lipid14 v2.10 (paramfit)
2700 ++cB-cD-cD-cD 1 0.2103 0.000 4.000 SCEE=1.2 SCNB=2.0 Lipid14 v2.10 (paramfit)
2701 ++cB-cD-cD-cD 1 0.0811 0.000 5.000 SCEE=1.2 SCNB=2.0 Lipid14 v2.10 (paramfit)
2702 ++cB-cD-cD-hL 1 0.1556 0.0 3.000 SCEE=1.2 SCNB=2.0 Lipid14 v2.0 (GAFF X -c3-c3-X )
2703 ++cC-cD-cD-cD 1 0.1556 0.0 3.000 SCEE=1.2 SCNB=2.0 Lipid11 v1.0 (GAFF X -c3-c3-X )
2704 ++cC-cD-cD-hL 1 0.1556 0.0 3.000 SCEE=1.2 SCNB=2.0 Lipid14 v2.0 (GAFF X -c3-c3-X )
2705 ++cC-oS-cA-hE 1 0.3833 0.0 3.000 SCEE=1.2 SCNB=2.0 Lipid11 v1.0 (GAFF X -c3-os-X )
2706 ++cD-cA-cA-hA 1 0.16 0.0 3.000 SCEE=1.2 SCNB=2.0 Lipid14 v2.14(GAFF c3-c3-c3-hc)
2707 ++cD-cB-cB-cD 1 0.3073 180.000 1.000 SCEE=1.2 SCNB=2.0 Lipid14 v2.10 (paramfit)
2708 ++cD-cB-cB-cD 1 4.0051 180.000 2.000 SCEE=1.2 SCNB=2.0 Lipid14 v2.10 (paramfit)
2709 ++cD-cB-cB-cD 1 0.1990 0.000 3.000 SCEE=1.2 SCNB=2.0 Lipid14 v2.10 (paramfit)
2710 ++cD-cB-cB-cD 1 0.3242 0.000 4.000 SCEE=1.2 SCNB=2.0 Lipid14 v2.10 (paramfit)
2711 ++cD-cB-cB-cD 1 -0.0415 0.000 5.000 SCEE=1.2 SCNB=2.0 Lipid14 v2.10 (paramfit)
2712 ++cD-cB-cB-hB 1 6.650 180.0 2.000 SCEE=1.2 SCNB=2.0 Lipid14 v2.0 (GAFF X -c2-c2-X )
2713 ++cD-cD-cA-hA 1 0.16 0.0 3.000 SCEE=1.2 SCNB=2.0 Lipid14 v2.14(GAFF c3-c3-c3-hc)
2714 ++cD-cD-cB-hB 1 0.000 0.0 2.000 SCEE=1.2 SCNB=2.0 Lipid14 v2.0 (GAFF X -c3-c2-X )
2715 ++cD-cD-cC-oC 1 -0.9110 180.000 1.000 SCEE=1.2 SCNB=2.0 Lipid14 v2.10 (paramfit)
2716 ++cD-cD-cC-oC 1 0.7382 180.000 2.000 SCEE=1.2 SCNB=2.0 Lipid14 v2.10 (paramfit)
2717 ++cD-cD-cC-oC 1 0.3290 0.000 3.000 SCEE=1.2 SCNB=2.0 Lipid14 v2.10 (paramfit)
2718 ++cD-cD-cC-oC 1 -0.5864 0.000 4.000 SCEE=1.2 SCNB=2.0 Lipid14 v2.10 (paramfit)
2719 ++cD-cD-cC-oC 1 0.1333 0.000 5.000 SCEE=1.2 SCNB=2.0 Lipid14 v2.10 (paramfit)
2720 ++cD-cD-cC-oS 1 -0.1226 180.000 1.000 SCEE=1.2 SCNB=2.0 Lipid14 v2.10 (paramfit)
2721 ++cD-cD-cC-oS 1 -0.2054 180.000 2.000 SCEE=1.2 SCNB=2.0 Lipid14 v2.10 (paramfit)
2722 ++cD-cD-cC-oS 1 0.1802 0.000 3.000 SCEE=1.2 SCNB=2.0 Lipid14 v2.10 (paramfit)
2723 ++cD-cD-cC-oS 1 0.5107 0.000 4.000 SCEE=1.2 SCNB=2.0 Lipid14 v2.10 (paramfit)
2724 ++cD-cD-cC-oS 1 0.1355 0.000 5.000 SCEE=1.2 SCNB=2.0 Lipid14 v2.10 (paramfit)
2725 ++cD-cD-cD-cD 1 0.3112 180.000 1.000 SCEE=1.2 SCNB=2.0 Lipid14 v2.10 (paramfit)
2726 ++cD-cD-cD-cD 1 -0.1233 180.000 2.000 SCEE=1.2 SCNB=2.0 Lipid14 v2.10 (paramfit)
2727 ++cD-cD-cD-cD 1 0.1149 0.000 3.000 SCEE=1.2 SCNB=2.0 Lipid14 v2.10 (paramfit)
2728 ++cD-cD-cD-cD 1 -0.2199 0.000 4.000 SCEE=1.2 SCNB=2.0 Lipid14 v2.10 (paramfit)
2729 ++cD-cD-cD-cD 1 0.2170 0.000 5.000 SCEE=1.2 SCNB=2.0 Lipid14 v2.10 (paramfit)
2730 ++cD-cD-cD-hL 1 0.16 0.0 3.000 SCEE=1.2 SCNB=2.0 Lipid14 v2.0 (GAFF c3-c3-c3-hc)
2731 ++hA-cA-cA-hA 1 0.15 0.0 3.000 SCEE=1.2 SCNB=2.0 Lipid11 v1.0 (GAFF hc-c3-c3-hc)
2732 ++hA-cA-cA-hE 1 0.1556 0.0 3.000 SCEE=1.2 SCNB=2.0 Lipid11 v1.0 (GAFF X -c3-c3-X )
2733 ++hA-cA-cA-oH 1 0.00 0.0 -3.000 SCEE=1.2 SCNB=2.0 Lipid11 v1.0 (GAFF hc-c3-c3-oh)
2734 ++hA-cA-cA-oH 1 0.25 0.0 1.000 SCEE=1.2 SCNB=2.0 Lipid11 v1.0 (GAFF hc-c3-c3-oh)
2735 ++hA-cA-cB-hB 1 0.000 0.0 2.000 SCEE=1.2 SCNB=2.0 Lipid11 v1.0 (GAFF X -c3-c2-X )
2736 ++hA-cA-cD-hL 1 0.15 0.0 3.000 SCEE=1.2 SCNB=2.0 Lipid14 v2.14(GAFF hc-c3-c3-hc)
2737 ++hB-cB-cB-hB 1 6.650 180.0 2.000 SCEE=1.2 SCNB=2.0 Lipid11 v1.0 (GAFF X -c2-c2-X )
2738 ++hB-cB-cD-hL 1 0.000 0.0 2.000 SCEE=1.2 SCNB=2.0 Lipid14 v2.0 (GAFF X -c3-c2-X )
2739 ++hE-cA-cA-hE 1 0.1556 0.0 3.000 SCEE=1.2 SCNB=2.0 Lipid11 v1.0 (GAFF X -c3-c3-X )
2740 ++hE-cA-cA-hX 1 0.1556 0.0 3.000 SCEE=1.2 SCNB=2.0 Lipid11 v1.0 (GAFF X -c3-c3-X )
2741 ++hE-cA-cA-nA 1 0.1556 0.0 3.000 SCEE=1.2 SCNB=2.0 Lipid11 v1.0 (GAFF X -c3-c3-X )
2742 ++hE-cA-cA-oS 1 0.00 0.0 -3.000 SCEE=1.2 SCNB=2.0 Lipid11 v1.0 (GAFF h1-c3-c3-os)
2743 ++hE-cA-cA-oS 1 0.25 0.0 1.000 SCEE=1.2 SCNB=2.0 Lipid11 v1.0 (GAFF h1-c3-c3-os)
2744 ++hE-cA-cA-oT 1 0.00 0.0 -3.000 SCEE=1.2 SCNB=2.0 Lipid11 v1.0 (GAFF h1-c3-c3-os)
2745 ++hE-cA-cA-oT 1 0.25 0.0 1.000 SCEE=1.2 SCNB=2.0 Lipid11 v1.0 (GAFF h1-c3-c3-os)
2746 ++hE-cA-oH-hO 1 0.500 0.0 3.000 SCEE=1.2 SCNB=2.0 Lipid11 v1.0 (GAFF X -c3-oh-X )
2747 ++hE-cA-oT-pA 1 0.3833 0.0 3.000 SCEE=1.2 SCNB=2.0 Lipid11 v1.0 (GAFF X -c3-os-X )
2748 ++hL-cD-cC-oC 1 0.08 180.0 -3.000 SCEE=1.2 SCNB=2.0 Lipid14 v2.0 (GAFF hc-c3-c -o )
2749 ++hL-cD-cC-oC 1 0.80 0.0 1.000 SCEE=1.2 SCNB=2.0 Lipid14 v2.0 (GAFF hc-c3-c -o )
2750 ++hL-cD-cC-oS 1 0.000 180.0 2.000 SCEE=1.2 SCNB=2.0 Lipid14 v2.0 (GAFF X -c -c3-X )
2751 ++hL-cD-cD-hL 1 0.15 0.0 3.000 SCEE=1.2 SCNB=2.0 Lipid14 v2.0 (GAFF hc-c3-c3-hc)
2752 ++hN-nA-cA-hX 1 0.1556 0.0 3.000 SCEE=1.2 SCNB=2.0 Lipid11 v1.0 (GAFF X -c3-n4-X )
2753 ++hX-cA-cA-oT 1 0.1556 0.0 3.000 SCEE=1.2 SCNB=2.0 Lipid11 v1.0 (GAFF X -c3-c3-X )
2754 ++nA-cA-cA-oT 1 0.1556 0.0 3.000 SCEE=1.2 SCNB=2.0 Lipid11 v1.0 (GAFF X -c3-c3-X )
2755 ++oS-cA-cA-oS 1 0.144 0.0 -3.000 SCEE=1.2 SCNB=2.0 Lipid11 v1.0 (GAFF os-c3-c3-os)
2756 ++oS-cA-cA-oS 1 1.175 0.0 2.000 SCEE=1.2 SCNB=2.0 Lipid11 v1.0 (GAFF os-c3-c3-os)
2757 ++oS-cA-cA-oT 1 0.144 0.0 -3.000 SCEE=1.2 SCNB=2.0 Lipid11 v1.0 (GAFF os-c3-c3-os)
2758 ++oS-cA-cA-oT 1 1.175 0.0 2.000 SCEE=1.2 SCNB=2.0 Lipid11 v1.0 (GAFF os-c3-c3-os)
2759 ++
2760 ++cA-cB-cB-cA 1.1 180. 2.0 Lipid14 CHL (GAFF)
2761 ++cB-cA-cB-hB 1.1 180. 2.0 Lipid14 CHL (GAFF)
2762 ++cB-cD-cB-hB 1.1 180.0 2.0 Lipid14 v2.0 aliphatic improper (GAFF c2-c3-c2-ha)
2763 + cD-oC-cC-oS 10.5 180.0 2.0 Lipid14 v2.0 ester improper (GAFF X -X -c -o )
2764 +-cB-cD-cB-hB 1.1 180.0 2.0 Lipid14 v2.0 aliphatic improper (GAFF c2-c3-c2-ha - default)
2765 +
2766 + hw ow 0000. 0000. 4. flag for fast water - Hack for no 10-12 terms
2767 +
2768 +@@ -156,17 +225,20 @@ MOD4 RE
2769 + cB 1.9080 0.0860 Lipid14 v2.10
2770 + cC 1.9080 0.0700 Lipid14 v2.10
2771 + cD 1.9080 0.1094 OPLS
2772 ++ hA 1.4870 0.0157 OPLS
2773 ++ hB 1.2500 0.0070 Lipid14 v2.10
2774 ++ hE 1.3870 0.0157 Veenstra et al JCC,8,(1992),963
2775 ++ hL 1.4600 0.0100 Lipid14 v2.10
2776 ++ hN 0.6000 0.0157 !Ferguson base pair geom.
2777 ++ hO 0.0000 0.0000 OPLS Jorgensen, JACS,110,(1988),1657 (RCW Needs fixing give radii)
2778 ++ hX 1.1000 0.0157 Veenstra et al JCC,8,(1992),963
2779 ++ nA 1.8240 0.1700 OPLS
2780 + oC 1.6500 0.1400 Lipid14 v2.10
2781 ++ oH 1.7210 0.2104 OPLS
2782 ++ oP 1.6500 0.1400 Lipid14 v2.10
2783 + oS 1.6500 0.1200 Lipid14 v2.10
2784 + oT 1.6500 0.1200 Lipid14 v2.10
2785 +- oP 1.6500 0.1400 Lipid14 v2.10
2786 +- nA 1.8240 0.1700 OPLS
2787 + pA 2.1000 0.2000 JCC,7,(1986),230;
2788 +- hE 1.3870 0.0157 Veenstra et al JCC,8,(1992),963
2789 +- hX 1.1000 0.0157 Veenstra et al JCC,8,(1992),963
2790 +- hB 1.2500 0.0070 Lipid14 v2.10
2791 +- hN 0.6000 0.0157 !Ferguson base pair geom.
2792 +- hL 1.4600 0.0100 Lipid14 v2.10
2793 +
2794 + END
2795 +
2796 +@@ -175,7 +247,7 @@ END
2797 +
2798 + *** AMBER Lipid14 Force Field, C. Dickson, B. Madej, A.Skjevik, K. Teigen, I.R. Gould, R.C. Walker ***
2799 +
2800 +-Citation is - Released version 2.10:
2801 ++Citation is:
2802 +
2803 + Dickson, C.J., Madej, B.D., Skjevik, A.A., Betz, R.M., Teigen, K., Gould, I.R., Walker, R.C., "Lipid14: The Amber Lipid Force Field", J. Chem. Theory Comput., 2014, in press, DOI: 10.1021/ct4010307
2804 +
2805 +@@ -241,24 +313,31 @@ Version 2.11 (February 2014)
2806 + Version 2.12 (February 2014)
2807 + - Replace angle force constants involving phosporus with the correct values from the update GAFF.dat file.
2808 +
2809 ++Version 2.14 (September 2015)
2810 ++- Reorder parameters so they are alphabetical.
2811 ++- Add cholesterol parameters
2812 ++
2813 + Atom type mapping
2814 + -----------------
2815 +
2816 + GAFF Lipid14 Description
2817 + ---- ------- -----------
2818 +- c3 cA sp3 carbon
2819 +- c2 cB aliphatic sp2 carbon
2820 + c cC carbonyl sp2 carbon
2821 +- o oC sp2 oxygen with one connected atom (e.g C=O, COO-)
2822 +- os oS sp3 oxygen in ethers and esters
2823 +- n4 nA sp3 N with four connected atoms
2824 +- p5 pA phosphorus with four connected atoms, such as O=P(OH)3
2825 ++ c2 cB aliphatic sp2 carbon
2826 ++ c3 cA sp3 carbon
2827 + h1 hE H bonded to aliphatic carbon with 1 electrwd. group
2828 +- hx hX H bonded to C next to positively charged group
2829 + ha hB H bonded to aromatic carbon
2830 ++ hc hA H bonded to aliphatic carbon without electrwd. group
2831 + hn hN H bonded to nitrogen
2832 ++ ho hO H in Hydroxyl group
2833 ++ hx hX H bonded to C next to positively charged group
2834 ++ n4 nA sp3 N with four connected atoms
2835 ++ o oC sp2 oxygen with one connected atom (e.g C=O, COO-)
2836 + o oP sp2 oxygen with one connected atom (e.g P-O) in phosphate group
2837 ++ oh oH sp3 oxygen in hydroxyl group
2838 ++ os oS sp3 oxygen in ethers and esters
2839 + os oT sp3 oxygen bonded to carbon in phosphate group
2840 ++ p5 pA phosphorus with four connected atoms, such as O=P(OH)3
2841 +
2842 + GAFFlipid Lipid14 Description
2843 + --------- ------- -----------
2844
2845 diff --git a/sci-chemistry/ambertools/files/ambertools-15-update.5.patch b/sci-chemistry/ambertools/files/ambertools-15-update.5.patch
2846 new file mode 100644
2847 index 0000000..017cb8d
2848 --- /dev/null
2849 +++ b/sci-chemistry/ambertools/files/ambertools-15-update.5.patch
2850 @@ -0,0 +1,25 @@
2851 +**********> update.5
2852 +
2853 +Author: Jason Swails
2854 +
2855 +Date: Oct. 31, 2015
2856 +
2857 +Program: ParmEd
2858 +
2859 +Description: Fix Python 2.6-compatibility for ParmEd
2860 +
2861 +--------------------------------------------------------------------------------
2862 +
2863 + AmberTools/src/parmed/chemistry/openmm/reporters.py | 2 +-
2864 + 1 file changed, 1 insertion(+), 1 deletion(-)
2865 +
2866 +diff --git AmberTools/src/parmed/chemistry/openmm/reporters.py AmberTools/src/parmed/chemistry/openmm/reporters.py
2867 +index d4e47d4..0f4c3ea 100644
2868 +--- AmberTools/src/parmed/chemistry/openmm/reporters.py
2869 ++++ AmberTools/src/parmed/chemistry/openmm/reporters.py
2870 +@@ -1,4 +1,4 @@
2871 +-from __future__ import division
2872 ++from __future__ import division, with_statement
2873 +
2874 + from chemistry.amber.asciicrd import AmberMdcrd
2875 + from chemistry.geometry import box_vectors_to_lengths_and_angles
2876
2877 diff --git a/sci-chemistry/ambertools/files/ambertools-15-update.6.patch b/sci-chemistry/ambertools/files/ambertools-15-update.6.patch
2878 new file mode 100644
2879 index 0000000..d7df551
2880 --- /dev/null
2881 +++ b/sci-chemistry/ambertools/files/ambertools-15-update.6.patch
2882 @@ -0,0 +1,59 @@
2883 +********> update.6
2884 +
2885 +Author: Charles Lin
2886 +
2887 +Date: November 10, 2015
2888 +
2889 +Programs: pmemd.cuda
2890 +
2891 +Description: This update gives support to cuda 7.5 and optional support for 7.0 (it is recommended to run cuda 6.5 or 7.5)
2892 +
2893 +--------------------------------------------------------
2894 +
2895 + AmberTools/src/configure2 | 31 ++++++++++++++++++++++++++++++-
2896 + 1 file changed, 30 insertions(+), 1 deletion(-)
2897 +
2898 +diff --git AmberTools/src/configure2 AmberTools/src/configure2
2899 +index 9a504b1..6835c9c 100755
2900 +--- AmberTools/src/configure2
2901 ++++ AmberTools/src/configure2
2902 +@@ -865,9 +865,38 @@ if [ "$cuda_SPFP" = 'yes' -o "$cuda_SPXP" = 'yes' -o "$cuda_DPFP" = 'yes' ]; the
2903 + echo "CUDA Version $cudaversion detected"
2904 + echo "Configuring for SM2.0, SM3.0 and SM5.0"
2905 + nvccflags="$sm20flags $sm30flags $sm50flags"
2906 ++ elif [ "$cudaversion" = "7.0" ]; then
2907 ++ printf "\n"
2908 ++ printf "Version 7.0 of the NVIDIA CUDA compiler has been detected.\n\
2909 ++Support for version 7.0 has been deprecated and we recommend use\n\
2910 ++of either 7.5 or 6.5 instead. Version 7.0 introduced a performance\n\
2911 ++regression over earlier compilers and also a bug in the way that GPUs are\n\
2912 ++selected based on whether they are in use or not. This bug causes AMBER to\n\
2913 ++print a GPU selection error rather than auto selecting a free GPU. These\n\
2914 ++issues do not effect v6.5 and have been addressed in version 7.5."
2915 ++ printf "\n"
2916 ++ printf "If you still want to proceed with v7.0 on the\n\
2917 ++understanding that it is considered deprecated from a support process please type\n\
2918 ++'yes' to proceed. Otherwise type 'no', switch to either 6.5 or 7.5\n\
2919 ++and rerun configure."
2920 ++ printf "\n"
2921 ++ read answer
2922 ++ ans=`echo $answer | awk '{print substr($1,1,1)}'`
2923 ++
2924 ++ if [ "$ans" = "y" -o "$ans" = "Y" ]; then
2925 ++ echo "Configuring for SM2.0, SM3.0 and SM5.0"
2926 ++ nvccflags="$sm20flags $sm30flags $sm50flags"
2927 ++ else
2928 ++ echo "Please set cuda version to 6.5 or 7.5!"
2929 ++ exit 1
2930 ++ fi
2931 ++ elif [ "$cudaversion" = "7.5" ]; then
2932 ++ echo "CUDA Version $cudaversion detected"
2933 ++ echo "Configuring for SM2.0, SM3.0, SM5.0 and SM5.2"
2934 ++ nvccflags="$sm20flags $sm30flags $sm50flags $sm52flags"
2935 + else
2936 + echo "Error: Unsupported CUDA version $cudaversion detected."
2937 +- echo " AMBER requires CUDA version == 5.0 .or. 5.5 .or. 6.0 .or. 6.5 .or. 7.0"
2938 ++ echo " AMBER requires CUDA version == 5.0 .or. 5.5 .or. 6.0 .or. 6.5 .or. 7.5"
2939 + exit 1
2940 + fi
2941 + nvcc="$nvcc $nvccflags"