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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
|
--- configure 2020-01-23 14:40:20.000000000 +0300
+++ configure 2020-01-23 14:56:53.679636518 +0300
@@ -483,7 +483,7 @@
$arch_cc = "cc";
$arch_ccpp = "CC";
-$arch_nvcc = "/usr/local/cuda-10.2/bin/nvcc";
+$arch_nvcc = "nvcc";
$arch_nvccflags = "-lineinfo --ptxas-options=-v " .
"-gencode arch=compute_30,code=compute_30 " .
"-gencode arch=compute_30,code=sm_35 " .
@@ -767,8 +767,8 @@
if ($config_tk) { $tcl_include .= " -I$stock_tk_include_dir"; }
$tcl_library = "-L$stock_tcl_library_dir";
if ($config_tk) { $tcl_library .= " -L$stock_tk_library_dir"; }
-$tcl_libs = "-ltcl8.5";
-if ($config_tk) { $tcl_libs = "-ltk8.5 -lX11 " . $tcl_libs; }
+$tcl_libs = "-ltcl";
+if ($config_tk) { $tcl_libs = "-ltk -lX11 " . $tcl_libs; }
@tcl_cc = ();
@tcl_cu = ();
@@ -895,13 +895,7 @@
$system_dir = "";
$system_include = "-I.";
$system_library = "";
-if ( $config_gcc ) {
- ## Note: some old commercial versions of Unix require -ll for lex internals
- ## now that we've been using flex for years, -ll should be moot.
- $system_libs = "-lm";
-} else {
- $system_libs = "-lm";
-}
+$system_libs = "-lrt -lm";
@system_cc = ();
@system_cu = ();
@system_ccpp = ();
@@ -931,7 +925,7 @@
# This option enables the use of CUDA GPU acceleration functions.
#######################
$cuda_defines = "-DVMDCUDA -DMSMPOT_CUDA";
-$cuda_dir = "/usr/local/cuda-10.2";
+$cuda_dir = "/opt/cuda";
$cuda_include = "";
$cuda_library = "";
$cuda_libs = "-Wl,-rpath -Wl,\$\$ORIGIN/ -lcudart_static -lrt";
@@ -1145,7 +1145,7 @@
# $liboptix_dir = "/usr/local/encap/NVIDIA-OptiX-SDK-5.0.1-linux64";
# $liboptix_dir = "/usr/local/encap/NVIDIA-OptiX-SDK-5.1.0-linux64";
# $liboptix_dir = "/usr/local/encap/NVIDIA-OptiX-SDK-6.0.0-linux64";
-$liboptix_dir = "/usr/local/encap/NVIDIA-OptiX-SDK-6.5.0-linux64";
+$liboptix_dir = "/opt/optix";
# $liboptix_dir = "/usr/local/encap/NVIDIA-OptiX-SDK-7.0.0-linux64";
# NCSA Blue Waters
@@ -1211,7 +1211,7 @@
$libospray_dir = "/usr/local/ospray-1.8.5.x86_64.linux";
$libospray_include = "-I$libospray_dir/include -I$libospray_dir/ospray/include ";
$libospray_library = "-L$libospray_dir/lib ";
- $libospray_libs = "-lospray -lospray_common -lembree -ltbb -ltbbmalloc ";
+ $libospray_libs = "-lospray -lospray_common -lembree3 -ltbb -ltbbmalloc ";
}
@@ -1459,20 +1453,20 @@
###################
# location of Python library and include file.
# If left blank, standard system directories will be searched.
-#$stock_python_include_dir=$ENV{"PYTHON_INCLUDE_DIR"} || "/usr/local/include";
+$stock_python_include_dir=$ENV{"PYTHON_INCLUDE_DIR"} || "/usr/include/python2.7";
#$stock_python_library_dir=$ENV{"PYTHON_LIBRARY_DIR"} || "/usr/local/lib";
-$stock_python_include_dir=$ENV{"PYTHON_INCLUDE_DIR"} || "$vmd_library_dir/python/lib_$config_arch/include/python2.5";
-$stock_python_library_dir=$ENV{"PYTHON_LIBRARY_DIR"} || "$vmd_library_dir/python/lib_$config_arch/lib/python2.5/config";
+#$stock_python_include_dir=$ENV{"PYTHON_INCLUDE_DIR"} || "$vmd_library_dir/python/lib_$config_arch/include/python2.5";
+#$stock_python_library_dir=$ENV{"PYTHON_LIBRARY_DIR"} || "$vmd_library_dir/python/lib_$config_arch/lib/python2.5/config";
#$stock_numpy_include_dir=$ENV{"NUMPY_INCLUDE_DIR"} || "/usr/local/include";
#$stock_numpy_library_dir=$ENV{"NUMPY_LIBRARY_DIR"} || "/usr/local/lib";
-$stock_numpy_include_dir=$ENV{"NUMPY_INCLUDE_DIR"} || "$vmd_library_dir/numpy/lib_$config_arch/include";
-$stock_numpy_library_dir=$ENV{"NUMPY_LIBRARY_DIR"} || "$vmd_library_dir/python/lib_$config_arch/lib/python2.5/site-packages/numpy/core/include";
+#$stock_numpy_include_dir=$ENV{"NUMPY_INCLUDE_DIR"} || "$vmd_library_dir/numpy/lib_$config_arch/include";
+#$stock_numpy_library_dir=$ENV{"NUMPY_LIBRARY_DIR"} || "$vmd_library_dir/python/lib_$config_arch/lib/python2.5/site-packages/numpy/core/include";
$python_defines = "-DVMDPYTHON";
$python_include = "-I$stock_python_include_dir -I$stock_numpy_include_dir -I$stock_numpy_library_dir";
$python_library = "-L$stock_python_library_dir";
-$python_libs = "-lpython2.5 -lpthread";
+$python_libs = "-lpython2.7 -lpthread";
@python_h = ('PythonTextInterp.h',
'VMDTkinterMenu.h',
'py_commands.h',
@@ -2368,9 +2362,9 @@
# for compiling with g++:
$arch_cc = "gcc";
$arch_ccpp = "g++";
- $arch_opt_flag = "-m64 -fno-for-scope -Wno-deprecated -Wall -Wno-unknown-pragmas -O6 -ffast-math";
+ $arch_opt_flag = "-Ofast -march=native";
$arch_depend_flag = "-MM";
- $arch_copts = "-m64 -Wall -Wno-unknown-pragmas -O6 -ffast-math";
+ $arch_copts = "-Ofast -march=native";
# so far only STATIC version tested
if ($config_static) {
@@ -2382,7 +2376,7 @@
if ($config_cuda) {
$arch_nvccflags .= " --machine 64 -O3 $cuda_include";
- $cuda_library = "-L/usr/local/cuda-10.2/lib64";
+ $cuda_library = "-L/opt/cuda/lib64";
}
$arch_lex = "flex"; # has problems with vendor lex
|