| 1 |
--- install.com.orig 2005-04-13 17:30:20.000000000 -0700 |
| 2 |
+++ install.com 2005-05-02 12:27:53.000000000 -0700 |
| 3 |
@@ -102,6 +102,7 @@ |
| 4 |
set qgamessuk = 0 |
| 5 |
set qcadpac = 0 |
| 6 |
set qsccdftb = 0 |
| 7 |
+set apbs = 0 |
| 8 |
set scali = 0 |
| 9 |
set socket = 0 |
| 10 |
set f77 = 0 |
| 11 |
@@ -168,6 +169,7 @@ |
| 12 |
echo " U replace QUANTUM with GAMESS-UK." |
| 13 |
echo " C replace QUANTUM with CADPAC." |
| 14 |
echo " T replace QUANTUM with SCCDFTB." |
| 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 |
@@ -215,6 +217,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 == 'FULL' || $opt == 'full' ) set full = 1 |
| 27 |
@@ -396,7 +399,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 |
@@ -1077,6 +1091,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 "BANBA" >> $chmbuild/pref$$.dat |
| 56 |
echo "BLOCK" >> $chmbuild/pref$$.dat |