Install cuda 11 environment with miniconda
Because the server only have cuda-12 and cuda-12 will make the genesis get wrong results. Therefore, we need use miniconda to install cuda-11 enviroment. We use below command to make a environment include cuda-11.8.
1 | conda create -n cuda_11 -c nvidia cudatoolkit=11 cuda-nvcc=11 cuda-cudart-dev=11 cuda-nvtx=11 |
You can activate the environment by conda activate cuda_11.
Then, we source the intel compiler and add the cuda library to the LD_LIBRARY_PATH:
1 | source /opt/intel/oneapi/setvars.sh |
Compile genesis
Then we can compile genesis use below command
1 | ./configure --enable-gpu --enable-mixed --program-suffix='-intel-mixed-cuda11-conda' |
After that, the genesis can preform correct calculation on cell.