"Error starting process: Cannot create pty " on macOS high Sierra using nsight cuda 9.0
"Error starting process: Cannot create pty " on macOS high Sierra using nsight cuda 9.0 -------------------- env: macOS high Sierra 10.13.1 (17B48) cuda cuda_9.0.176 Macbook Pro with an NVIDIA GeForce GT 750M GPU -------------------- step: nsight->new Cuda C/C++ Project->import CUDA sample->select any project- >Finish -> Run as Local C/C++Application -------------------- Result: Error starting process Cannot create pty Cannot create pty Cannot create pty [url]https://imgur.com/Gh8z2WF[/url] --------------------- by running compiled binary directly using bash: 1.------ $ ./Debug/b ./b Starting... Set-up, based upon target device GMEM size... getTargetDeviceGlobalMemSize cudaGetDeviceCount CUDA error at ../src/FDTD3dGPU.cu:29 code=35(cudaErrorInsufficientDriver) "cudaGetDeviceCount(&deviceCount)" 2.------- sudo ./Debug/b Password: ./b Starting... Set-up, based upon target device GMEM size... getTargetDeviceGlobalMemSize cudaGetDeviceCount CUDA error at ../src/FDTD3dGPU.cu:29 code=35(cudaErrorInsufficientDriver) "cudaGetDeviceCount(&deviceCount)" cudaGetDeviceCount returned 35 -> CUDA driver version is insufficient for CUDA runtime version
"Error starting process: Cannot create pty " on macOS high Sierra using nsight cuda 9.0
--------------------
env:
macOS high Sierra 10.13.1 (17B48)
cuda cuda_9.0.176
Macbook Pro with an NVIDIA GeForce GT 750M GPU
--------------------
step:
nsight->new Cuda C/C++ Project->import CUDA sample->select any project- >Finish
-> Run as Local C/C++Application
--------------------
Result:
Error starting process
Cannot create pty
Cannot create pty
Cannot create pty
https://imgur.com/Gh8z2WF
---------------------
by running compiled binary directly using bash:
1.------
$ ./Debug/b
./b Starting...
Set-up, based upon target device GMEM size...
getTargetDeviceGlobalMemSize
cudaGetDeviceCount
CUDA error at ../src/FDTD3dGPU.cu:29 code=35(cudaErrorInsufficientDriver) "cudaGetDeviceCount(&deviceCount)"
2.-------
sudo ./Debug/b
Password:
./b Starting...

Set-up, based upon target device GMEM size...
getTargetDeviceGlobalMemSize
cudaGetDeviceCount
CUDA error at ../src/FDTD3dGPU.cu:29 code=35(cudaErrorInsufficientDriver) "cudaGetDeviceCount(&deviceCount)"

cudaGetDeviceCount returned 35
-> CUDA driver version is insufficient for CUDA runtime version
Attachments

ok.png

#1
Posted 11/04/2017 04:06 AM   
Error starting process: Cannot create pty ref: https://stackoverflow.com/questions/46439257/error-starting-process-cannot-create-pty-eclipse-on-mac it seems nsight needs to update CDT plugin to higher version
Error starting process: Cannot create pty
ref: https://stackoverflow.com/questions/46439257/error-starting-process-cannot-create-pty-eclipse-on-mac

it seems nsight needs to update CDT plugin to higher version

#2
Posted 11/04/2017 05:50 AM   
Hi,vicre It seems you can't run the application successfully without nsight. Suppose driver mismatch issue.
Hi,vicre

It seems you can't run the application successfully without nsight.
Suppose driver mismatch issue.

#3
Posted 11/07/2017 05:53 AM   
@veraj how will you solve the driver mismatch issue ? i am pretty sure I installed the latest Cuda Dev toolkit and cuda driver.
@veraj
how will you solve the driver mismatch issue ? i am pretty sure I installed the latest Cuda Dev toolkit and cuda driver.

#4
Posted 11/11/2017 12:14 AM   
Hi, vicre Are you install cuda driver and the toolkit from the same package ? Have you rebooted after the installation ? Have you tried other driver ? Can you try on other SDK like 0_Simple/vectorAdd, 1_Utilities/deviceQuery, 0_Simple/matrixMul first to check if they can run successfully ?
Hi, vicre


Are you install cuda driver and the toolkit from the same package ?
Have you rebooted after the installation ?
Have you tried other driver ?



Can you try on other SDK like 0_Simple/vectorAdd, 1_Utilities/deviceQuery, 0_Simple/matrixMul first to check if they can run successfully ?

#5
Posted 11/13/2017 03:29 AM   
@veraj ++++++++++++++++++++++ Are you install cuda driver and the toolkit from the same package ? yes ++++++++++++++++++++++ Have you rebooted after the installation ? yes ++++++++++++++++++++++ Have you tried other driver ? yes CUDA Mac Driver Latest Version: CUDA 9.0.222 driver for MAC Release Date: 11/02/2017 Previous Releases: CUDA 9.0.214 driver for MAC Release Date: 10/18/2017 CUDA 9.0.197 driver for MAC Release Date: 09/27/2017 ++++++++++++++++++++++ execution using bash: Failed to allocate device vector A (error code CUDA driver version is insufficient for CUDA runtime version)! execution using nsight: Error starting process Cannot create pty Cannot create pty Cannot create pty +++++++++++++++++++++ Can you try on other SDK like 0_Simple/vectorAdd, 1_Utilities/deviceQuery, 0_Simple/matrixMul first to check if they can run successfully ? tried , failed
@veraj
++++++++++++++++++++++
Are you install cuda driver and the toolkit from the same package ? yes
++++++++++++++++++++++
Have you rebooted after the installation ? yes
++++++++++++++++++++++
Have you tried other driver ? yes
CUDA Mac Driver
Latest Version: CUDA 9.0.222 driver for MAC
Release Date: 11/02/2017

Previous Releases:
CUDA 9.0.214 driver for MAC
Release Date: 10/18/2017

CUDA 9.0.197 driver for MAC
Release Date: 09/27/2017
++++++++++++++++++++++
execution using bash:
Failed to allocate device vector A (error code CUDA driver version is insufficient for CUDA runtime version)!

execution using nsight:
Error starting process
Cannot create pty
Cannot create pty
Cannot create pty
+++++++++++++++++++++
Can you try on other SDK like 0_Simple/vectorAdd, 1_Utilities/deviceQuery, 0_Simple/matrixMul first to check if they can run successfully ?
tried , failed

#6
Posted 11/13/2017 05:57 PM   
Hi, cicre Where did you get 9.0.214 and 9.0.197? As far as I know, only 9.0.176 published. Also this is a set up issue and not nsight eclipse edition issue. As we do not so familiar with Mac platform use and do not have the env to reproduce, I think it is better to post the problem at https://devtalk.nvidia.com/default/board/58/cuda-setup-and-installation/ Best Regards VeraJ
Hi, cicre


Where did you get 9.0.214 and 9.0.197?
As far as I know, only 9.0.176 published.

Also this is a set up issue and not nsight eclipse edition issue.

As we do not so familiar with Mac platform use and do not have the env to reproduce, I think it is better to post the problem at https://devtalk.nvidia.com/default/board/58/cuda-setup-and-installation/




Best Regards
VeraJ

#7
Posted 11/14/2017 06:16 AM   
i mean cuda driver http://www.nvidia.com/object/mac-driver-archive.html

#8
Posted 11/14/2017 06:27 AM   
Scroll To Top

Add Reply