Debian Codegraph @

contrib/iapbs/modules/CHARMM/patches/c32a2/install.patch

raw
1 --- install.com.orig 2005-06-09 15:59:21.000000000 -0700
2 +++ install.com 2005-06-09 21:00:03.000000000 -0700
3 @@ -116,6 +116,7 @@
4 set qcadpac = 0
5 set qqchem = 0
6 set qsccdftb = 0
7 +set apbs = 0
8 set scali = 0
9 set socket = 0
10 set f77 = 0
11 @@ -178,6 +179,7 @@
12 echo " C replace QUANTUM with CADPAC."
13 echo " T replace QUANTUM with SCCDFTB."
14 echo " QC replace QUANTUM with Q-CHEM."
15 + echo " APBS compile with APBS support."
16 echo " S Uses TCP/IP SOCKET library for parallel."
17 echo " FULL For FULL featured version (default)."
18 echo " LITE For a version with reduced functional features."
19 @@ -225,6 +227,7 @@
20 if ( $opt == 'Q' ) set qgamess = 1
21 if ( $opt == 'U' ) set qgamessuk = 1
22 if ( $opt == 'C' ) set qcadpac = 1
23 + if ( $opt == 'APBS' ) set apbs = 1
24 if ( $opt == 'S' ) set socket = 1
25 if ( $opt == 'T' ) set qsccdftb = 1
26 if ( $opt == 'QC' ) set qqchem = 1
27 @@ -450,7 +453,18 @@
28 $chmbuild/Makefile_$chmhost > $chmbuild/Makefile_$$
29 /bin/mv $chmbuild/Makefile_$$ $chmbuild/Makefile_$chmhost
30 endif
31 -
32 +# setup for APBS
33 + if ( $apbs == 1 && $chm_host == gnu ) then
34 + setenv APBS Y
35 + if ( ! $?APBS_LIB || ! $?IAPBS_LIB || ! $?APBS_BLAS ) then
36 + echo "APBS_LIB, IAPBS_LIB and APBS_BLAS variables must be set!"
37 + exit
38 + endif
39 + endif
40 + if ( $apbs == 1 && $chm_host != gnu ) then
41 + echo "APBS build is supported on gnu platform only"
42 + exit
43 + endif
44 # Modify Makefile_template for long integer compilation
45 if ( $longint == 1 ) then
46 if ( $chm_host == sgi64 || \
47 @@ -1040,6 +1054,9 @@
48 if ( $full == 1 ) then
49 echo "ACE" >> $chmbuild/pref$$.dat
50 echo "ADUMB" >> $chmbuild/pref$$.dat
51 + if ( $apbs == 1 ) then
52 + echo "APBS" >> $chmbuild/pref$$.dat
53 + endif
54 echo "ASPENER" >> $chmbuild/pref$$.dat
55 echo "ASPMEMB" >> $chmbuild/pref$$.dat
56 echo "BANBA" >> $chmbuild/pref$$.dat