Problem running gromacs with GPU

Please don’t post the same question in multiple threads. I posted an answer in your other thread Why Fatal error: Unexpected cudaStreamQuery failure happend in gromacs2019?.