You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: INSTALL.md
+75-99Lines changed: 75 additions & 99 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,126 +2,117 @@
2
2
Here is the detailed process of installation of VDMS dependencies.
3
3
4
4
## Dependencies
5
-
Here we will install the Ubuntu 20.04 packages.
5
+
Here we will install the Ubuntu 20.04 and Python3 packages. We assume `python`/`pip` is an alias for `python3`/`pip3`. If your system has both Python 2 and Python 3, please replace all pip and python commands with pip3 and python3, respectively.
Here we clone the repositories for grpc v1.40.0, libpng12, Swig v4.0.2, OpenCV 4.5.3, Valijson v0.6, CMake v3.21.2, Faiss v1.7.1, and FLINNG. Then download necesarry files for zlib v1.2.12, Json-simple v1.1.1, and TileDB v1.3.1.
23
-
Here we assume `/` is the working directory. This is important when installing the dependencies.
22
+
Here we clone the repositories for grpc v1.40.0, libpng12, Swig v4.0.2, OpenCV 4.5.3, Valijson v0.6, CMake v3.21.2, Faiss v1.7.1, and FLINNG. Then download necesarry files for zlib v1.2.13, Json-simple v1.1.1, and TileDB v1.3.1.
23
+
Here we assume `$VDMS_DEP_DIR` is the working directory for installing dependencies and `python` is Python 3.
**Note**: When using videos, and getting the following error: "Unable to stop the stream: Inappropriate ioctl for device", you may need to include more flags when compiling OpenCV. Follow these instructions ([source](https://stackoverflow.com/questions/41200201/opencv-unable-to-stop-the-stream-inappropriate-ioctl-for-device)):
@@ -137,76 +128,61 @@ make -j
137
128
make install
138
129
```
139
130
131
+
### Zlib
132
+
```bash
133
+
cd$VDMS_DEP_DIR&& tar -xvzf zlib-1.2.13.tar.gz
134
+
cd zlib-1.2.13 && ./configure
135
+
make -j && sudo make install
136
+
```
137
+
140
138
### [TileDB](https://tiledb.io/)
141
139
VDMS works with ***TileDB v1.3.1.***<br>
142
140
The directions below will help you install TileDB v1.3.1 from the source.
You may need to change proxy setting for Maven if you are behind a proxy like this example.
162
-
Add setting.xml file to ~/.m2 folder
163
-
```
164
-
<proxies>
165
-
<proxy>
166
-
<id>optional</id>
167
-
<!-- <active>true</active> -->
168
-
<protocol>https</protocol>
169
-
<!--<username>proxyuser</username>
170
-
<password>proxypass</password>-->
171
-
<host>prox-address</host>
172
-
<port>proxy-port</port>
173
-
<nonProxyHosts></nonProxyHosts>
174
-
</proxy>
175
-
</proxies>
154
+
cd /usr/src/gtest/
155
+
sudo cmake .
156
+
sudo make -j
157
+
sudo mv lib/libgtest* /usr/lib
176
158
```
177
159
178
160
### Valijson
179
161
This is a headers-only library, no compilation/installation necessary
180
162
```bash
181
-
cd /valijson
182
-
cp -r include/* /usr/local/include
163
+
cd$VDMS_DEP_DIR/valijson
164
+
sudo cp -r include/* /usr/local/include
183
165
```
184
166
185
167
## Install VDMS
168
+
This version of VDMS treats PMGD as a submodule so both libraries are compiled at one time. After entering the vdms directory, the command `git submodule update --init --recursive` will pull pmgd into the appropriate directory. Furthermore, Cmake is used to compile all directories.
186
169
```bash
187
170
git clone https://github.com/IntelLabs/vdms.git
188
171
cd vdms && git checkout develop
189
172
git submodule update --init --recursive
173
+
```
174
+
175
+
When compiling on a target without Optane persistent memory, use the following:
176
+
```bash
190
177
mkdir build &&cd build
191
178
cmake ..
192
179
make -j
193
180
cp ../config-vdms.json .
194
181
```
195
182
196
-
197
-
### Compilation
198
-
This version of VDMS treats PMGD as a submodule so both libraries are compiled at one time. After entering the vdms directory, the command `git submodule update --init --recursive` will pull pmgd into the appropriate directory. Furthermore, Cmake is used to compile all directories.
199
-
200
183
When compiling on a target with Optane persistent memory, use the command set:
Intel is committed to rapidly addressing security vulnerabilities affecting our customers and providing clear guidance on the solution, impact, severity and mitigation.
3
-
4
-
## Reporting a Vulnerability
5
-
Please report any security vulnerabilities in this project [utilizing the guidelines here](https://www.intel.com/content/www/us/en/security-center/vulnerability-handling-guidelines.html).
6
-
1
+
# Security Policy
2
+
Intel is committed to rapidly addressing security vulnerabilities affecting our customers and providing clear guidance on the solution, impact, severity and mitigation.
3
+
4
+
## Reporting a Vulnerability
5
+
Please report any security vulnerabilities in this project [utilizing the guidelines here](https://www.intel.com/content/www/us/en/security-center/vulnerability-handling-guidelines.html).
0 commit comments