OK, sorry, I was a bit vague in my previous post...<div><br></div><div>So, the totalchain flag sets the SM architecture of the GPU in the arch files used to compile CP2K.</div><div>You can check the local.psmp files for the relevant flags. They are documented at</div><div><br></div><div>https://github.com/cp2k/cp2k/blob/master/INSTALL.md#2j-cuda-optional-improved-performance-on-gpu-systems<br></div><div><br></div><div>Maybe some of the libraries have the wrong path? Could you try a small CUDA helloworld example and get it to work?</div><div><br></div><div>Alfio</div><div><br><br></div><div class="gmail_quote"><div dir="auto" class="gmail_attr">Il giorno martedì 3 novembre 2020 alle 23:14:20 UTC+1 sassy ha scritto:<br/></div><blockquote class="gmail_quote" style="margin: 0 0 0 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Hi Alfio,
<br>
<br>thanks for the feedback. I actually was searching the internet and the list 
<br>here (my archive does go back a few years) without luck. 
<br>
<br>There was a reason why asked here as well: When you are using the toolchain 
<br>you need to supply which type of GPU card you have, like the V100 for example 
<br>in my case (see a recent posting of me). Thus, it could be that there is a 
<br>problem with that specific tuning. It was a shot into the dark and I missed 
<br>the target. 
<br>
<br>In any case, thanks for your help!
<br>
<br>All the best from a cold London
<br>
<br>Jörg
<br>
<br>Am Montag, 2. November 2020, 09:16:26 GMT schrieb Alfio Lazzaro:
<br>> Hi Jörg,
<br>> This problem seems unrelated to CP2K...
<br>> Have you tried to google that message?
<br>> I found some entries:
<br>> 
<br>> <a href="https://stackoverflow.com/questions/41409842/ubuntu-16-04-cuda-8-cuda-driver" target="_blank" rel="nofollow" data-saferedirecturl="https://www.google.com/url?hl=it&q=https://stackoverflow.com/questions/41409842/ubuntu-16-04-cuda-8-cuda-driver&source=gmail&ust=1604581981912000&usg=AFQjCNGOKSNtghkrd4EP-PpLmqVfkv7QUA">https://stackoverflow.com/questions/41409842/ubuntu-16-04-cuda-8-cuda-driver</a>
<br>> -version-is-insufficient-for-cuda-runtime-vers
<br>> <a href="https://stackoverflow.com/questions/52346957/cudagetdevice-failed-status-cu" target="_blank" rel="nofollow" data-saferedirecturl="https://www.google.com/url?hl=it&q=https://stackoverflow.com/questions/52346957/cudagetdevice-failed-status-cu&source=gmail&ust=1604581981913000&usg=AFQjCNGNVMJvvcalGJREhPb7e5pDDimqEA">https://stackoverflow.com/questions/52346957/cudagetdevice-failed-status-cu</a>
<br>> da-driver-version-is-insufficient-for-cuda-run
<br>> <a href="https://forums.developer.nvidia.com/t/error-cuda-driver-version-is-insuffic" target="_blank" rel="nofollow" data-saferedirecturl="https://www.google.com/url?hl=it&q=https://forums.developer.nvidia.com/t/error-cuda-driver-version-is-insuffic&source=gmail&ust=1604581981913000&usg=AFQjCNFGGmljYuXgGcpAuT4CP2fCS8SFaA">https://forums.developer.nvidia.com/t/error-cuda-driver-version-is-insuffic</a>
<br>> ient-for-cuda-runtime-version/66006
<br>> 
<br>> Any many others.... It seems a problem with the driver installation, people
<br>> recommend to uninstall/reinstall...
<br>> 
<br>> Alfio
<br>> 
<br>> Il giorno lunedì 2 novembre 2020 alle 00:23:32 UTC+1 sassy ha scritto:
<br>> > Dear all,
<br>> > 
<br>> > over the weekend I had access to a GPU test machine so I could compare the
<br>> > performance between a RTX-6000 and a A100 GPU card.
<br>> > 
<br>> > I have installed the following CUDA drivers:
<br>> > $ nvidia-smi
<br>> > NVIDIA-SMI 450.80.02 Driver Version: 450.80.02 CUDA Version: 11.0
<br>> > 
<br>> > I am using GCC-9.3.0 with CUDA-11.0.2
<br>> > 
<br>> > I am using the toolchain with the following commands:
<br>> > 
<br>> > $ ./install_cp2k_toolchain.sh -j 12 --no-check-certificate --libint-lmax=6
<br>> > --
<br>> > with-cmake=system --with-libxc --with-libint --with-fftw=system --with-
<br>> > openblas=system --with-libxsmm --with-parmetis --with-superlu --with-quip
<br>> > --
<br>> > with-plumed --with-gsl --with-libvdwxc --with-spglib --with-hdf5
<br>> > --with-spfft
<br>> > --with-scalapack=system --gpu-ver=V100 --with-elpa=no --with-sirius=no
<br>> > 
<br>> > (I had problems with the ELPA and SIRIUS build, hence I disabled them).
<br>> > 
<br>> > Running the test jobs, *all* of them fail with:
<br>> > 
<br>> > "CUDA driver version is insufficient for CUDA runtime version"
<br>> > 
<br>> > The box has both cards installed and I am masking one with the
<br>> > CUDA_VISIBLE_DEVICES
<br>> > environment variable.
<br>> > 
<br>> > I am puzzled of where I am getting wrong. Yesterday I tried it with both,
<br>> > the
<br>> > A100 and the RTX-6000 card using most of the above modules being installed
<br>> > on
<br>> > the system via EasyBuild, today I only tested the RTX-6000 card.
<br>> > 
<br>> > Does anybody has a good idea? I don't have the box for much longer, as I
<br>> > said,
<br>> > it is only a test environment I got access granted to.
<br>> > 
<br>> > Thanks for your help!
<br>> > 
<br>> > All the best from a mild London
<br>> > 
<br>> > Jörg
<br>
<br>
<br>
<br></blockquote></div>