etmc / tmLQCD

tmLQCD is a freely available software suite providing a set of tools to be used in lattice QCD simulations. This is mainly a HMC implementation (including PHMC and RHMC) for Wilson, Wilson Clover and Wilson twisted mass fermions and inverter for different versions of the Dirac operator. The code is fully parallelised and ships with optimisations for various modern architectures, such as commodity PC clusters and the Blue Gene family.
http://www.itkp.uni-bonn.de/~urbach/software.html
GNU General Public License v3.0
32 stars 47 forks source link

move checking for CUDA or HIP libraries outside of the QUDA config block #542

Closed kostrzewa closed 2 years ago

kostrzewa commented 2 years ago

This seems to work for me to link QUDA with CUDA. I haven't tried QUDA with HIP yet.

kostrzewa commented 2 years ago

I've updated https://notes.desy.de/HJyYWNj1Rb-G7-ojjqDNWQ?view#Compiling-tmLQCD and with this, I can compile and link a version of hmc_tm which at least starts up. It then fails for yet unknown reasons with segfaults in MPI functions -> #jsc-amd-mpi channel in the Hackathon JuChat

kostrzewa commented 2 years ago

See /p/project/fssh/kostrzewa2/build/dc-mi200/stage_2022/gcc_11_2_0/openmpi_4_1_2/tmLQCD.quda_work_add_actions_different_backends if you can acces it.

simone-romiti commented 2 years ago

I've done a test linking with CUDA on marconi100 and run a successful job.

kostrzewa commented 2 years ago

Perfect, thanks. I can also confirm that it works on dc-mi200