Invalid device symbol error - NVIDIA RTX A4000 and CUDA version 10.1?

I’m new to the world of GPUs and need to run a tool called CUDIMOT [Release Cudimot v0.0.2 · SPMIC-UoN/cudimot · GitHub] which requires CUDA version 10.1.
I’m currently running a system with the following specs
-Ubuntu version 22.04
-NVIDIA RTX A4000; CUDA 12.0; Driver Version: 525.60.11
I tried installing both versions of CUDA, i.e. 12.0 and 10.1 and modifying bash to identify whatever version the tool needs. It identifies the library required but I get the error “Copying Grid to GPU: invalid device symbol”
I really don’t know how to fix this and need to use this tool. What am I doing wrong? Any suggestions would be appreciated!

This won’t work, the tool is compiled against cuda 10.1 which only supports up to cc 7.5 but your a4000 has cc 8.6
It doesn’t matter what you install, the code needs to be compiled against cuda 11.1. You can only replace the gpu with a Turing based model.