SAMSON Forum
    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • SAMSON Connect
    • Get SAMSON

    Having troubles selecting CUDA for OpenMM

    SAMSON Extensions
    2
    8
    47
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • F
      Federico Maria last edited by

      I am trying to do some MD with SAMSON via the OpenMM wizard. I have the latest CUDA (13.2) but also 12.8 version. If I do the computations outside SAMSON it works just fine but when trying to select CUDA from the parameter it says that there is no CUDA or Nvidia card. I have also set SAMSON to run on the nvidia card (5060rtx 8gb vram laptop).

      DmitriyMarin 1 Reply Last reply Reply Quote 0
      • DmitriyMarin
        DmitriyMarin @Federico Maria last edited by

        Hi @Federico-Maria ,
        Do you have the same problem with both CUDA versions - 13.2 and 12.8 - or only for the latest one, 13.2?
        For now, you can create a script to run OpenMM with OpenMM Wizard and then modify the architecture parameter to use CUDA.
        Could you please tell us what is shown as GPU in Help > About SAMSON?

        Dmitriy,
        The SAMSON Team, https://s-c.io

        1 Reply Last reply Reply Quote 0
        • F
          Federico Maria last edited by

          image.png

          As you can see the gpu is absent.
          At first I had only CUDA 13.2 and I had this problem. Then, looking around I've found that maybe way the CUDA version so I installed 12.8 but same

          DmitriyMarin 1 Reply Last reply Reply Quote 0
          • DmitriyMarin
            DmitriyMarin @Federico Maria last edited by

            @Federico-Maria,
            Thank you for your reply!

            I see the issue - it seems that SAMSON failed to properly identify the GPU, and the OpenMM Wizard takes the GPU info from SAMSON, so it thinks that there is no GPU.

            You are using Windows, right?
            Could you please run the following code in PowerShell and copy here the output:

            Get-CimInstance Win32_VideoController | Select-Object Name, DriverVersion, AdapterRAM, VideoProcessor
            

            Based on this, I can patch OpenMM Wizard for you.

            Dmitriy,
            The SAMSON Team, https://s-c.io

            1 Reply Last reply Reply Quote 0
            • F
              Federico Maria last edited by

              Yes, I am running win11
              Here the output
              image.png

              DmitriyMarin 1 Reply Last reply Reply Quote 0
              • DmitriyMarin
                DmitriyMarin @Federico Maria last edited by

                @Federico-Maria ,
                Thanks!
                I've patched the OpenMM Wizard on Windows - it should be updated automatically for you once you restart SAMSON.
                Could you please check whether it now works for you, and you can use OpenMM Wizard with CUDA 13?

                Dmitriy,
                The SAMSON Team, https://s-c.io

                1 Reply Last reply Reply Quote 0
                • F
                  Federico Maria last edited by

                  Ok, thanks to you! Now it makes me select CUDA in the advanced parameters and the tipology like single, mixed or double. I'll give it a try. Just to mention, when controlling the Help>About SAMSON section the GPU is still absent, but again just to tell you since now openmm sees CUDA. I will update to you as soon as possible

                  DmitriyMarin 1 Reply Last reply Reply Quote 0
                  • DmitriyMarin
                    DmitriyMarin @Federico Maria last edited by

                    @Federico-Maria ,
                    Great! Thanks for checking!

                    Thanks for mentioning, the thing in 'About SAMSON' will be fixed with the next patch release of SAMSON.

                    Dmitriy,
                    The SAMSON Team, https://s-c.io

                    1 Reply Last reply Reply Quote 0
                    • First post
                      Last post