1 |
alexxy 09/04/23 11:50:19 |
2 |
|
3 |
Modified: gamess-20090112.1-r1.ebuild ChangeLog |
4 |
Log: |
5 |
Add support of adjusting MM size at build time for GAMESS-US |
6 |
(Portage version: 2.2_rc31/cvs/Linux x86_64) |
7 |
|
8 |
Revision Changes Path |
9 |
1.2 sci-chemistry/gamess/gamess-20090112.1-r1.ebuild |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/gamess/gamess-20090112.1-r1.ebuild?rev=1.2&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/gamess/gamess-20090112.1-r1.ebuild?rev=1.2&content-type=text/plain |
13 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/gamess/gamess-20090112.1-r1.ebuild?r1=1.1&r2=1.2 |
14 |
|
15 |
Index: gamess-20090112.1-r1.ebuild |
16 |
=================================================================== |
17 |
RCS file: /var/cvsroot/gentoo-x86/sci-chemistry/gamess/gamess-20090112.1-r1.ebuild,v |
18 |
retrieving revision 1.1 |
19 |
retrieving revision 1.2 |
20 |
diff -u -r1.1 -r1.2 |
21 |
--- gamess-20090112.1-r1.ebuild 22 Apr 2009 13:07:57 -0000 1.1 |
22 |
+++ gamess-20090112.1-r1.ebuild 23 Apr 2009 11:50:19 -0000 1.2 |
23 |
@@ -1,6 +1,6 @@ |
24 |
# Copyright 1999-2009 Gentoo Foundation |
25 |
# Distributed under the terms of the GNU General Public License v2 |
26 |
-# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/gamess/gamess-20090112.1-r1.ebuild,v 1.1 2009/04/22 13:07:57 alexxy Exp $ |
27 |
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/gamess/gamess-20090112.1-r1.ebuild,v 1.2 2009/04/23 11:50:19 alexxy Exp $ |
28 |
|
29 |
inherit eutils toolchain-funcs fortran flag-o-matic |
30 |
|
31 |
@@ -51,6 +51,13 @@ |
32 |
if [[ "${ARCH}" == "amd64" ]] && [[ "${FORTRANC}" != "gfortran" ]]; |
33 |
then die "You will need gfortran to compile gamess on amd64" |
34 |
fi |
35 |
+ |
36 |
+ if use qmmm-tinker; then |
37 |
+ einfo "By default MM subsistem is restricted to 1000 atoms" |
38 |
+ einfo "if you want larger MM subsystems then you should set" |
39 |
+ einfo "QMMM_GAMESS_MAXMM variable to needed value in your make.conf" |
40 |
+ ebeep 5 |
41 |
+ fi |
42 |
} |
43 |
|
44 |
src_unpack() { |
45 |
@@ -85,6 +92,17 @@ |
46 |
if use qmmm-tinker; then |
47 |
sed -e "s:TINKER=false:TINKER=true:" -i compall lked || \ |
48 |
die "Failed to enable TINKER code" |
49 |
+ if [ "x$QMMM_GAMESS_MAXMM" == "x" ]; then |
50 |
+ einfo "No QMMM_GAMESS_MAXMM set. Using default value = 1000" |
51 |
+ else |
52 |
+ einfo "Setting QMMM_GAMESS_MAXMM to $QMMM_GAMESS_MAXMM" |
53 |
+ sed -e "s:maxatm=1000:maxatm=$QMMM_GAMESS_MAXMM:g" \ |
54 |
+ -i tinker/sizes.i \ |
55 |
+ || die "Setting QMMM_GAMESS_MAXMM failed" |
56 |
+ sed -e "s:MAXATM=1000:MAXATM=$QMMM_GAMESS_MAXMM:g" \ |
57 |
+ -i source/inputb.src \ |
58 |
+ || die "Setting QMMM_GAMESS_MAXMM failed" |
59 |
+ fi |
60 |
fi |
61 |
# greate proper activate sourcefile |
62 |
cp "./tools/actvte.code" "./tools/actvte.f" || \ |
63 |
|
64 |
|
65 |
|
66 |
1.32 sci-chemistry/gamess/ChangeLog |
67 |
|
68 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/gamess/ChangeLog?rev=1.32&view=markup |
69 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/gamess/ChangeLog?rev=1.32&content-type=text/plain |
70 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/gamess/ChangeLog?r1=1.31&r2=1.32 |
71 |
|
72 |
Index: ChangeLog |
73 |
=================================================================== |
74 |
RCS file: /var/cvsroot/gentoo-x86/sci-chemistry/gamess/ChangeLog,v |
75 |
retrieving revision 1.31 |
76 |
retrieving revision 1.32 |
77 |
diff -u -r1.31 -r1.32 |
78 |
--- ChangeLog 22 Apr 2009 13:07:57 -0000 1.31 |
79 |
+++ ChangeLog 23 Apr 2009 11:50:19 -0000 1.32 |
80 |
@@ -1,6 +1,9 @@ |
81 |
# ChangeLog for sci-chemistry/gamess |
82 |
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
83 |
-# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/gamess/ChangeLog,v 1.31 2009/04/22 13:07:57 alexxy Exp $ |
84 |
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/gamess/ChangeLog,v 1.32 2009/04/23 11:50:19 alexxy Exp $ |
85 |
+ |
86 |
+ 23 Apr 2009; Alexey Shvetsov <alexxy@g.o> gamess-20090112.1-r1: |
87 |
+ Add support of adjusting MM size at build time |
88 |
|
89 |
*gamess-20090112.1-r1 (22 Apr 2009) |