QMCPACK / qmcpack

Main repository for QMCPACK, an open-source production level many-body ab initio Quantum Monte Carlo code for computing the electronic structure of atoms, molecules, and solids with full performance portable GPU support
http://www.qmcpack.org
Other
299 stars 139 forks source link

Failed to compile the ROCm version of QMCPACK. #5147

Closed Schroedingers0216 closed 2 months ago

Schroedingers0216 commented 2 months ago

When I encountered the following error while compiling with the following command: cmake -DENABLE_CUDA=ON -DQMC_CUDA2HIP=ON -DCMAKE_HIP_ARCHITECTURES=gfx906 -DCMAKE_C_COMPILER=icc -DCMAKE_CXX_COMPILER=icpc ..

ipo: warning #11062: ../../Platforms/CUDA/libplatform_cuda_LA.a is an archive, but has no symbols (this can happen if ar is used where xiar is needed) ipo: warning #11062: ../../Platforms/ROCm/libplatform_rocm_LA.a is an archive, but has no symbols (this can happen if ar is used where xiar is needed) ../../Platforms/CUDA/libplatform_cuda_LA.a: error adding symbols: Archive has no index; run ranlib to add one

I tried using ranlib to fix it, but it had no effect.

Schroedingers0216 commented 2 months ago

changeme

sorry, I cant download with linux,Can you upload files?

prckent commented 2 months ago

Due to the GitHub history of this issue, you will need to open a new one and use the standard template.

ye-luo commented 2 months ago

Please check if your icc/icpc works without turning on HIP features.

ye-luo commented 2 months ago

There were phishing posts earlier which have been removed by github. As a precaution, this issue was closed and please create a new one following the template with more details provided.