Issue with POWER9 setup for CUDA in Ubuntu 16.04

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








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









share|improve this question

























    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









    share|improve this question























      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









      share|improve this question













      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






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Feb 15 at 21:01









      raggot

      1418




      1418




















          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.






          share|improve this answer




















            Your Answer







            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "89"
            ;
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function()
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled)
            StackExchange.using("snippets", function()
            createEditor();
            );

            else
            createEditor();

            );

            function createEditor()
            StackExchange.prepareEditor(
            heartbeatType: 'answer',
            convertImagesToLinks: true,
            noModals: false,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            );



            );













             

            draft saved


            draft discarded


















            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






























            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.






            share|improve this answer
























              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.






              share|improve this answer






















                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.






                share|improve this answer












                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.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Feb 15 at 21:01









                raggot

                1418




                1418



























                     

                    draft saved


                    draft discarded















































                     


                    draft saved


                    draft discarded














                    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













































































                    Popular posts from this blog

                    pylint3 and pip3 broken

                    Missing snmpget and snmpwalk

                    How to enroll fingerprints to Ubuntu 17.10 with VFS491