Thanks for sharing this tutorial. Just a note for those who may come across the same issue, I had to install CUDA toolkit using sudo apt install nvidia-cuda-toolkit to get my installation right. The original method presented in the video didn't work for me 🙂
Hello, Thanks for this tutorial. I followed the steps until I try to compile gromacs-2024.2. The program reported error during cmake. It reads like this: 'CMake Error at /usr/share/cmake-3.28/Modules/CMakeDetermineCUDACompiler .cmake:270 (message): Failed to detect a default CUDA architecture.' could you please tell me how to fix it?
Thanks for your very informative video but I am getting Cmake error configuration file unable to detect cuda compiler Although I have installed cuda toolkit
thank you for your wonderful video sir. during nvt equilibration step using (gmx mdrun -deffnm nvt) this command line I'm stuck with segment fault core dump. how can i proceed with next Equilibration, Phase 2 step
hello sir, your tutorial is very helpful and informative. but i am facing an issue while compiling the cuda toolkit for gromacs . i am getting this issue can you help me out CMake Error at api/nblib/CMakeLists.txt:60 (add_library): Target "nblib" links to target "CUDA::cudart" but the target was not found. Perhaps a find_package() call is missing for an IMPORTED target, or an ALIAS target is missing?
Sir I tried to install gromacs using this method but in using make check command following two test failed. 64 - MDrun Tests Two Ranks 65- MDrun Mpi Tests How to solve this issue? Thanks and regards
I used your code to install gpu in ubuntu 20.04 but at the time of md run its says GPU not detected..but after command gmx --version its shows gpu=cuda please help me with these sir
Hello Sir! Thank you so much for making this series of tutorials. They are extremely helpful for someone like me who is just getting started in the field of bio-informatics. Can you please tell me your system specs? I'm installing it on my laptop which has an Intel i7-10870H CPU and an RTX 3060 GPU (6 GB). How fast do you think an average protein-ligand MD simulation will run on these hardware specs?
@@asif4557 I have done a few MD simulations so far. What I have learnt is that the answer to your question depends on 2 factors, one, total number of atoms in your system (protein + ligand + solvent) and, two, how long do you want to simulate the system for. A 5000 atom system simulated for 50 ns took about 8 hours in my laptop.
@@sarthakmohanty997 that's really great🤩, previously I did it in a conventional way utilizing my CPU, and the time is taken for the NVT equilibration alone 17 hours and my protein-ligand system size is around 40K atoms so why I concerned a lot about my MD simulation yet my system configuration was AMD ryzen 9 coupled with RTX 3060 so after this GPU acceleration i hope, I can rest peace for sometimes, lol😂
Absolutely yes ... But you have to install linux (probably ubuntu or linux mint) and then you can install gromads. It is advisable to install linux on external ssd or on 128bg 3.0 pen drive which can work as external ssd ..
Dr Dweipayan, Thank you for your excellent tutorial! Question for the source command, is there a reason you don't permanently assign it through bashrc? BTW I am very new to Ubuntu. Thank you in advance for all your guidance.
Hello sir , thank you for your wonderful videos , they are really helpful , i have one query i have a WSL2 in my system and inbuilt GTX 1650 graphics card is there , but i am not able to do the GPU based GROMACS installation , that CUDA driver is it works with WSL2 please let me know thank you
Thanks! Can you please specify best hardware specifications for running gromacs for a linux system. Also how much time it will take for 200 ns simulation for lysozyme? Thank you in advance.
For the GPU i use it takes 2 days for 200 ns ... Any recently launched gpu within gtx or rtx series will work good... It all depends on your budget what you choose... The only catch is that gpu should be not soo old .. minimum 4 gb one i would prefer..
Hi Dr Thanks for your tutorial. Please I am installing Gromacs and this problem occured. Please sir how can I solve this problem: CMake Error at api/nblib/CMakeLists.txt:60 (add_library): Target "nblib" links to target "CUDA::cudart" but the target was not found. Perhaps a find_package() call is missing for an IMPORTED target, or an ALIAS target is missing? thanks in advance
Dr, when I install the CUDA toolkit 11.8 I had an error : dpkg: error: unknown option -� Type dpkg --help for help about installing and deinstalling packages [*]; Use 'apt' or 'aptitude' for user-friendly package management; Type dpkg -Dhelp for a list of dpkg debug flag values; Type dpkg --force-help for a list of forcing options; Type dpkg-deb --help for help about manipulating *.deb files; Options marked [*] produce a lot of output - pipe it through 'less' or 'more' !
i am getting error when using this command: sudo apt-get -y install cuda Now it says, "E: Unable to correct problems, you have held broken packages" what do i do :( I am using Pop_OS 22.04
@@DweipayanG Man, It worked, thank you so much for this tutorial and the guidance. I can now perform simulations much faster then i was doing it earlier.
Sir im finding thir error CMake Error at cmake/gmxManageCuda.cmake:116 (enable_language): No CMAKE_CUDA_COMPILER could be found. Tell CMake where to find the compiler by setting either the environment variable "CUDACXX" or the CMake cache entry CMAKE_CUDA_COMPILER to the full path to the compiler, or to the compiler name if it is in the PATH. Call Stack (most recent call first): CMakeLists.txt:699 (include)
Sir im finding this error CMake Error at cmake/gmxManageCuda.cmake:116 (enable_language): No CMAKE_CUDA_COMPILER could be found. Tell CMake where to find the compiler by setting either the environment variable "CUDACXX" or the CMake cache entry CMAKE_CUDA_COMPILER to the full path to the compiler, or to the compiler name if it is in the PATH. Call Stack (most recent call first): CMakeLists.txt:699 (include)
Thanks for sharing this tutorial. Just a note for those who may come across the same issue, I had to install CUDA toolkit using sudo apt install nvidia-cuda-toolkit
to get my installation right. The original method presented in the video didn't work for me 🙂
Great suggestion sir... It worked for me as well.. 👌 Thank you so much..
Thanks Dweipayan for this elaborate explanation. Going to be a great help for the community. Keep up the good work!
Thanks for appreciating
Have you worked with with plumed? It will be great help if you can create a tutorial on installation of plumed patched gromacs.
Thank you for the tutorial! Very well explained and worked properly.
Dear my teacher, it was a very nice, explanatory narrative. Thanks to you, I had a smooth and clean installation. I'm following you ;)
Thank you 😊
Thank you Sir, this tutorial helped so much!!!
Hello, Thanks for this tutorial. I followed the steps until I try to compile gromacs-2024.2. The program reported error during cmake. It reads like this: 'CMake Error at /usr/share/cmake-3.28/Modules/CMakeDetermineCUDACompiler .cmake:270 (message): Failed to detect a default CUDA architecture.' could you please tell me how to fix it?
Thanks for your very informative video but I am getting Cmake error configuration file unable to detect cuda compiler
Although I have installed cuda toolkit
sir , i need to your support can we install two deferent version of gromacs with one system with mpi
Sir, is it possible to install in windows subsystem for Linux? I want to use GPU power for running gromacs simulation in WSL
Sir, Is this tutorial valid for Ubuntu OS, which is a Virtual Box?
thank you for your wonderful video sir. during nvt equilibration step using (gmx mdrun -deffnm nvt) this command line I'm stuck with segment fault core dump. how can i proceed with next Equilibration, Phase 2 step
Thanks Dr. Dweipayan this VDO useful for me. Can you tell me which GPU name used in this VDO?
RTX 2060
hello sir, your tutorial is very helpful and informative. but i am facing an issue while compiling the cuda toolkit for gromacs .
i am getting this issue can you help me out
CMake Error at api/nblib/CMakeLists.txt:60 (add_library):
Target "nblib" links to target "CUDA::cudart" but the target was not found.
Perhaps a find_package() call is missing for an IMPORTED target, or an
ALIAS target is missing?
Sir I tried to install gromacs using this method but in using make check command following two test failed. 64 - MDrun Tests Two Ranks
65- MDrun Mpi Tests
How to solve this issue?
Thanks and regards
I used your code to install gpu in ubuntu 20.04 but at the time of md run its says GPU not detected..but after command gmx --version its shows gpu=cuda please help me with these sir
Hello Sir!
Thank you so much for making this series of tutorials. They are extremely helpful for someone like me who is just getting started in the field of bio-informatics.
Can you please tell me your system specs? I'm installing it on my laptop which has an Intel i7-10870H CPU and an RTX 3060 GPU (6 GB). How fast do you think an average protein-ligand MD simulation will run on these hardware specs?
Bro how long does it took for you to simulate a protein-ligand complex???
@@asif4557 I have done a few MD simulations so far. What I have learnt is that the answer to your question depends on 2 factors, one, total number of atoms in your system (protein + ligand + solvent) and, two, how long do you want to simulate the system for. A 5000 atom system simulated for 50 ns took about 8 hours in my laptop.
@@sarthakmohanty997 that's really great🤩, previously I did it in a conventional way utilizing my CPU, and the time is taken for the NVT equilibration alone 17 hours and my protein-ligand system size is around 40K atoms so why I concerned a lot about my MD simulation yet my system configuration was AMD ryzen 9 coupled with RTX 3060 so after this GPU acceleration i hope, I can rest peace for sometimes, lol😂
I have HP victus i5(12th gen 8 gbil/512gb ssd) nvdia geforce gtx 1650 windows 11 .. can I install gromacs? And bn can it work
Absolutely yes ... But you have to install linux (probably ubuntu or linux mint) and then you can install gromads. It is advisable to install linux on external ssd or on 128bg 3.0 pen drive which can work as external ssd ..
Dr Dweipayan,
Thank you for your excellent tutorial!
Question for the source command, is there a reason you don't permanently assign it through bashrc?
BTW I am very new to Ubuntu. Thank you in advance for all your guidance.
Yes definately you can
Unable to install gromacs on nvida a16 gpu. Installed cuda 12, camake latest..
You need to check that gromacs is compatible with your gpu or not
Hello sir , thank you for your wonderful videos , they are really helpful , i have one query i have a WSL2 in my system and inbuilt GTX 1650 graphics card is there , but i am not able to do the GPU based GROMACS installation , that CUDA driver is it works with WSL2 please let me know thank you
I have tried it with WSL2.
Thanks! Can you please specify best hardware specifications for running gromacs for a linux system. Also how much time it will take for 200 ns simulation for lysozyme? Thank you in advance.
For the GPU i use it takes 2 days for 200 ns ... Any recently launched gpu within gtx or rtx series will work good... It all depends on your budget what you choose... The only catch is that gpu should be not soo old .. minimum 4 gb one i would prefer..
@@DweipayanG great! Okk so gpu is the key here! Thank you so much 🙏🏼what about Ram and SSD. If you can guide on that, will be highly helpful 🙏🏼
@@BasicScienceSeries SSD is preferable over HDD, try to have 512GB one and for RAM 16GB is preferable but try to have at least 8GB of DDR4.
Hello Sir, please help me in installation as I am unable to install
I can't untill i kno exact problem !!
I followed all the steps but still its saying "Fatal error: Cannot run short-ranged nonbonded interactions on a GPU because no GPU is
detected."
May b your graphic card will not be complicated
@@DweipayanG its nvidia 650
If cuda is not supported then it will now work
Hi Dr
Thanks for your tutorial.
Please I am installing Gromacs and this problem occured.
Please sir how can I solve this problem: CMake Error at api/nblib/CMakeLists.txt:60 (add_library):
Target "nblib" links to target "CUDA::cudart" but the target was not found.
Perhaps a find_package() call is missing for an IMPORTED target, or an
ALIAS target is missing?
thanks in advance
I have little idea , ask chat gpt same question it will probably give solutions to resolve issue .
@@DweipayanG Thanks
Dr, when I install the CUDA toolkit 11.8 I had an error :
dpkg: error: unknown option -�
Type dpkg --help for help about installing and deinstalling packages [*];
Use 'apt' or 'aptitude' for user-friendly package management;
Type dpkg -Dhelp for a list of dpkg debug flag values;
Type dpkg --force-help for a list of forcing options;
Type dpkg-deb --help for help about manipulating *.deb files;
Options marked [*] produce a lot of output - pipe it through 'less' or 'more' !
There is error in dpkg package in your linux system
Try upgrading and updating linux
@@DweipayanG thank you so much
@@DweipayanG
Dr, it remains the same error. please can you help me.
Then pl check the installer file of CUDA tool kit is properly downloaded or not or check its not an incomplete download or something ...
askubuntu.com/questions/1248699/cant-install-or-remove-anything-on-18-04-cause-of-dpkg-error/1248773#1248773
Check this
It seems dpkg package error
i am getting error when using this command: sudo apt-get -y install cuda
Now it says, "E: Unable to correct problems, you have held broken packages"
what do i do :(
I am using Pop_OS 22.04
Try redownloading the Cuda installer files
@@DweipayanG Man, It worked, thank you so much for this tutorial and the guidance. I can now perform simulations much faster then i was doing it earlier.
Welcome.. Thats great
Sir im finding thir error
CMake Error at cmake/gmxManageCuda.cmake:116 (enable_language):
No CMAKE_CUDA_COMPILER could be found.
Tell CMake where to find the compiler by setting either the environment
variable "CUDACXX" or the CMake cache entry CMAKE_CUDA_COMPILER to the full
path to the compiler, or to the compiler name if it is in the PATH.
Call Stack (most recent call first):
CMakeLists.txt:699 (include)
Sir im finding this error
CMake Error at cmake/gmxManageCuda.cmake:116 (enable_language):
No CMAKE_CUDA_COMPILER could be found.
Tell CMake where to find the compiler by setting either the environment
variable "CUDACXX" or the CMake cache entry CMAKE_CUDA_COMPILER to the full
path to the compiler, or to the compiler name if it is in the PATH.
Call Stack (most recent call first):
CMakeLists.txt:699 (include)
Did you fix your error?