Hi,
I have been able to compile GROMACS in my WSL Ubuntu with the CUDA toolkit. If I then perform a simulation on a Ubuntu terminal prompt, I will be able to use gmx commands and perform simulations as normal. However, after a few hours, if I open a new terminal window and use any gmx command, I will get the error:
~$ gmx pdb2gmx -f bb2_clean.pdb -o bb2_processed.gro -water spce
Command 'gmx' not found, but can be installed with:
sudo apt install gromacs
If I delete the build folder in my gromacs-2024 and re-compile again with the CUDA toolkit, it will work again. Then again, after a few hours, when I open a new terminal window, I get the same error as above. It is not very practical to be re-compilling GROMACS every time I wanna perform a new simulation. I was wondering if someone is facing the same issue and how could one sort out this problem.
I am using:
Ubuntu 22.04 x86_64
CUDA toolkit 12.3 Update 2