質問編集履歴
1
cmakeの参照エラーが解決したため
test
CHANGED
File without changes
|
test
CHANGED
@@ -181,3 +181,145 @@
|
|
181
181
|
|
182
182
|
|
183
183
|
何か他に必要な作業、怪しい箇所等ありますでしょうか?
|
184
|
+
|
185
|
+
|
186
|
+
|
187
|
+
※追記===========▼
|
188
|
+
|
189
|
+
|
190
|
+
|
191
|
+
https://www.it-swarm.dev/ja/cmake/homebrew%E3%81%A7%E3%81%AEcmake%E3%81%AE%E3%82%A4%E3%83%B3%E3%82%B9%E3%83%88%E3%83%BC%E3%83%AB/1055836151/
|
192
|
+
|
193
|
+
|
194
|
+
|
195
|
+
上記サイトを参照して、
|
196
|
+
|
197
|
+
PATH="/Applications/CMake.app/Contents/bin":"$PATH"
|
198
|
+
|
199
|
+
をsource ~/.bash_profileに記述したところ、
|
200
|
+
|
201
|
+
```command
|
202
|
+
|
203
|
+
$ cmake --version
|
204
|
+
|
205
|
+
cmake version 3.17.0
|
206
|
+
|
207
|
+
```
|
208
|
+
|
209
|
+
cmakeの参照まではうまくいったようです。
|
210
|
+
|
211
|
+
この状態で再度実行すると、
|
212
|
+
|
213
|
+
|
214
|
+
|
215
|
+
```ここに言語を入力
|
216
|
+
|
217
|
+
$ pip install pynvx
|
218
|
+
|
219
|
+
Collecting pynvx
|
220
|
+
|
221
|
+
Using cached pynvx-1.0.0.tar.gz (150 kB)
|
222
|
+
|
223
|
+
Installing collected packages: pynvx
|
224
|
+
|
225
|
+
Running setup.py install for pynvx ... error
|
226
|
+
|
227
|
+
ERROR: Command errored out with exit status 1:
|
228
|
+
|
229
|
+
command: /Users/<私のユーザ名>/.pyenv/versions/3.8.2/bin/python3.8 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/kb/136jgc252tvbq6x86lgfx3mc0000gn/T/pip-install-5q1h4yg3/pynvx/setup.py'"'"'; __file__='"'"'/private/var/folders/kb/136jgc252tvbq6x86lgfx3mc0000gn/T/pip-install-5q1h4yg3/pynvx/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /private/var/folders/kb/136jgc252tvbq6x86lgfx3mc0000gn/T/pip-record-34y0102h/install-record.txt --single-version-externally-managed --compile --install-headers /Users/<私のユーザ名>/.pyenv/versions/3.8.2/include/python3.8/pynvx
|
230
|
+
|
231
|
+
cwd: /private/var/folders/kb/136jgc252tvbq6x86lgfx3mc0000gn/T/pip-install-5q1h4yg3/pynvx/
|
232
|
+
|
233
|
+
Complete output (72 lines):
|
234
|
+
|
235
|
+
running install
|
236
|
+
|
237
|
+
running build
|
238
|
+
|
239
|
+
running build_py
|
240
|
+
|
241
|
+
creating build
|
242
|
+
|
243
|
+
creating build/lib.macosx-10.11-x86_64-3.8
|
244
|
+
|
245
|
+
creating build/lib.macosx-10.11-x86_64-3.8/pynvx
|
246
|
+
|
247
|
+
copying pynvx/__init__.py -> build/lib.macosx-10.11-x86_64-3.8/pynvx
|
248
|
+
|
249
|
+
copying pynvx/pynvml.py -> build/lib.macosx-10.11-x86_64-3.8/pynvx
|
250
|
+
|
251
|
+
running build_ext
|
252
|
+
|
253
|
+
-- The C compiler identification is AppleClang 8.0.0.8000042
|
254
|
+
|
255
|
+
-- The CXX compiler identification is AppleClang 8.0.0.8000042
|
256
|
+
|
257
|
+
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc
|
258
|
+
|
259
|
+
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc - works
|
260
|
+
|
261
|
+
-- Detecting C compiler ABI info
|
262
|
+
|
263
|
+
-- Detecting C compiler ABI info - done
|
264
|
+
|
265
|
+
-- Detecting C compile features
|
266
|
+
|
267
|
+
-- Detecting C compile features - done
|
268
|
+
|
269
|
+
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++
|
270
|
+
|
271
|
+
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ - works
|
272
|
+
|
273
|
+
-- Detecting CXX compiler ABI info
|
274
|
+
|
275
|
+
-- Detecting CXX compiler ABI info - done
|
276
|
+
|
277
|
+
-- Detecting CXX compile features
|
278
|
+
|
279
|
+
-- Detecting CXX compile features - done
|
280
|
+
|
281
|
+
-- Found PythonInterp: /Users/<私のユーザ名>/.pyenv/versions/3.8.2/bin/python3.8 (found version "3.8.2")
|
282
|
+
|
283
|
+
-- Found PythonLibs: /Users/<私のユーザ名>/.pyenv/versions/3.8.2/lib/libpython3.8.a
|
284
|
+
|
285
|
+
-- Performing Test HAS_CPP14_FLAG
|
286
|
+
|
287
|
+
-- Performing Test HAS_CPP14_FLAG - Success
|
288
|
+
|
289
|
+
-- pybind11 v2.3.dev0
|
290
|
+
|
291
|
+
-- Performing Test HAS_FLTO
|
292
|
+
|
293
|
+
-- Performing Test HAS_FLTO - Success
|
294
|
+
|
295
|
+
-- LTO enabled
|
296
|
+
|
297
|
+
CMake Error at /Applications/CMake.app/Contents/share/cmake-3.17/Modules/FindCUDA.cmake:715 (message):
|
298
|
+
|
299
|
+
Specify CUDA_TOOLKIT_ROOT_DIR
|
300
|
+
|
301
|
+
Call Stack (most recent call first):
|
302
|
+
|
303
|
+
CMakeLists.txt:8 (find_package)
|
304
|
+
|
305
|
+
|
306
|
+
|
307
|
+
-- Configuring incomplete, errors occurred!
|
308
|
+
|
309
|
+
〜中略〜
|
310
|
+
|
311
|
+
----------------------------------------
|
312
|
+
|
313
|
+
ERROR: Command errored out with exit status 1: /Users/<私のユーザ名>
|
314
|
+
|
315
|
+
〜中略〜
|
316
|
+
|
317
|
+
```
|
318
|
+
|
319
|
+
となりました。
|
320
|
+
|
321
|
+
CUDAの参照or設定エラーでしょうか。引き続き調査中です。
|
322
|
+
|
323
|
+
|
324
|
+
|
325
|
+
※追記ここまで===========▲
|