1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
|
--- lked.orig 2009-05-05 05:59:41.000000000 +0900
+++ lked 2010-02-01 10:29:52.000000000 +0900
@@ -12,11 +12,11 @@
# axp64,compaq-sc,cray-pvp,cray-t3e,cray-x1,cray-xd1,cray-xt3,
# fuji-pp32,fuji-pp64,hpux32,hpux64,ibm32,ibm64,ibm64-sp,ibm-bg,
# linux32,linux64,linux-ia64,mac32,mac64,macG5,necsx,
-# sgi32,sgi64,sun32,sun64
+# sgi32,sgi64,sun32,sun64,freebsd-i386,freebsd-amd64
# 2. Choose your GAMESS directory tree.
#
-set TARGET=ibm64
-chdir /u1/mike/gamess
+set TARGET=%%ARCH%%
+#chdir /u1/mike/gamess
#
# ---- and now the script begins...
#
@@ -605,6 +605,23 @@
set VECTOR=' '
set QUICHE='zunix.o'
endif
+#FreeBSD settings
+if ($TARGET == freebsd-i386) then
+ set LDR=%%FC%%
+ set LDOPTS=''
+ set LIBRARIES=''
+ set BLAS="-L%%LOCALBASE%%/lib %%BLAS%% %%LIBSVM%% %%LIBG2C%%"
+ set VECTOR=' '
+ set QUICHE='zunix.o'
+endif
+if ($TARGET == freebsd-amd64) then
+ set LDR=%%FC%%
+ set LDOPTS=''
+ set LIBRARIES=''
+ set BLAS="-L%%LOCALBASE%%/lib %%BLAS%%"
+ set VECTOR=' '
+ set QUICHE='zunix.o'
+endif
#
if ($TARGET == necsx) then
set LDR='f90'
@@ -693,6 +710,8 @@
case linux32:
case linux64:
case linux-ia64:
+ case freebsd-amd64:
+ case freebsd-i386:
case mac32:
case mac64:
case macG5:
@@ -707,7 +726,7 @@
# -lmpigf -lmpigi -lrt -lpthread'
# The following is for TCP/IP sockets.
#
- set MSG_LIBRARIES='../ddi/libddi.a -lpthread'
+ set MSG_LIBRARIES='../ddi/libddi.a %%PTHREAD_LIBS%%'
# Solaris 2.6 needs -lposix4 instead of -lrt
if (($TARGET == sun32) || ($TARGET == sun64) || \
($TARGET == fuji-pp32) || ($TARGET == fuji-pp64)) then
|