Issue with POWER9 setup for CUDA in Ubuntu 16.04
up vote
0
down vote
favorite
I am following the instructions in this section of NVIDIA's Linux installation support.
I have so far successfully installed CUDA on Ubuntu 16.04, and created the nvidia-persistenced.service file as indicated in the instructions. However, when I run the following command in the folder containing that file:
sudo systemctl enable nvidia-persistenced
I get
Failed to execute operation: Invalid argument
To confirm I'm in the right folder, and the file has the right name, the output of ls
is:
nvidia-persistenced.service
and the content of the file I see by writing sudo gedit nvidia-persistenced.service
is:
Unit]
Description=NVIDIA Persistence Daemon
Wants=syslog.target
[Service]
Type=forking
PIDFile=/var/run/nvidia-persistenced/nvidia-persistenced.pid
Restart=always
ExecStart=/usr/bin/nvidia-persistenced --verbose
ExecStopPost=/bin/rm -rf /var/run/nvidia-persistenced
[Install]
WantedBy=multi-user.target
16.04 nvidia cuda
add a comment |Â
up vote
0
down vote
favorite
I am following the instructions in this section of NVIDIA's Linux installation support.
I have so far successfully installed CUDA on Ubuntu 16.04, and created the nvidia-persistenced.service file as indicated in the instructions. However, when I run the following command in the folder containing that file:
sudo systemctl enable nvidia-persistenced
I get
Failed to execute operation: Invalid argument
To confirm I'm in the right folder, and the file has the right name, the output of ls
is:
nvidia-persistenced.service
and the content of the file I see by writing sudo gedit nvidia-persistenced.service
is:
Unit]
Description=NVIDIA Persistence Daemon
Wants=syslog.target
[Service]
Type=forking
PIDFile=/var/run/nvidia-persistenced/nvidia-persistenced.pid
Restart=always
ExecStart=/usr/bin/nvidia-persistenced --verbose
ExecStopPost=/bin/rm -rf /var/run/nvidia-persistenced
[Install]
WantedBy=multi-user.target
16.04 nvidia cuda
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I am following the instructions in this section of NVIDIA's Linux installation support.
I have so far successfully installed CUDA on Ubuntu 16.04, and created the nvidia-persistenced.service file as indicated in the instructions. However, when I run the following command in the folder containing that file:
sudo systemctl enable nvidia-persistenced
I get
Failed to execute operation: Invalid argument
To confirm I'm in the right folder, and the file has the right name, the output of ls
is:
nvidia-persistenced.service
and the content of the file I see by writing sudo gedit nvidia-persistenced.service
is:
Unit]
Description=NVIDIA Persistence Daemon
Wants=syslog.target
[Service]
Type=forking
PIDFile=/var/run/nvidia-persistenced/nvidia-persistenced.pid
Restart=always
ExecStart=/usr/bin/nvidia-persistenced --verbose
ExecStopPost=/bin/rm -rf /var/run/nvidia-persistenced
[Install]
WantedBy=multi-user.target
16.04 nvidia cuda
I am following the instructions in this section of NVIDIA's Linux installation support.
I have so far successfully installed CUDA on Ubuntu 16.04, and created the nvidia-persistenced.service file as indicated in the instructions. However, when I run the following command in the folder containing that file:
sudo systemctl enable nvidia-persistenced
I get
Failed to execute operation: Invalid argument
To confirm I'm in the right folder, and the file has the right name, the output of ls
is:
nvidia-persistenced.service
and the content of the file I see by writing sudo gedit nvidia-persistenced.service
is:
Unit]
Description=NVIDIA Persistence Daemon
Wants=syslog.target
[Service]
Type=forking
PIDFile=/var/run/nvidia-persistenced/nvidia-persistenced.pid
Restart=always
ExecStart=/usr/bin/nvidia-persistenced --verbose
ExecStopPost=/bin/rm -rf /var/run/nvidia-persistenced
[Install]
WantedBy=multi-user.target
16.04 nvidia cuda
16.04 nvidia cuda
asked Feb 15 at 21:01
raggot
1418
1418
add a comment |Â
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
0
down vote
accepted
Sometimes, taking the time to properly document your problem already gives you the solution you need. While writing, I realised the content of the file was copy-pasted incorrectly. The first line was
Unit]
while it should have been
[Unit]
After this correction, the problem was solved. I hope this may help other people, puzzled for a similar silly mistake.
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
accepted
Sometimes, taking the time to properly document your problem already gives you the solution you need. While writing, I realised the content of the file was copy-pasted incorrectly. The first line was
Unit]
while it should have been
[Unit]
After this correction, the problem was solved. I hope this may help other people, puzzled for a similar silly mistake.
add a comment |Â
up vote
0
down vote
accepted
Sometimes, taking the time to properly document your problem already gives you the solution you need. While writing, I realised the content of the file was copy-pasted incorrectly. The first line was
Unit]
while it should have been
[Unit]
After this correction, the problem was solved. I hope this may help other people, puzzled for a similar silly mistake.
add a comment |Â
up vote
0
down vote
accepted
up vote
0
down vote
accepted
Sometimes, taking the time to properly document your problem already gives you the solution you need. While writing, I realised the content of the file was copy-pasted incorrectly. The first line was
Unit]
while it should have been
[Unit]
After this correction, the problem was solved. I hope this may help other people, puzzled for a similar silly mistake.
Sometimes, taking the time to properly document your problem already gives you the solution you need. While writing, I realised the content of the file was copy-pasted incorrectly. The first line was
Unit]
while it should have been
[Unit]
After this correction, the problem was solved. I hope this may help other people, puzzled for a similar silly mistake.
answered Feb 15 at 21:01
raggot
1418
1418
add a comment |Â
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1006597%2fissue-with-power9-setup-for-cuda-in-ubuntu-16-04%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password