Thanks so much in advance for your attention.
I am a newbie in DFT, especially in Yambo so I have no experience to express my trouble formally, please let me know if something unclear to you.
Now, I attempt to compile Yambo 5.3 using HPC-SDK 25.1, Cuda 12.6 in my WSL Ubuntu 24.04, runs in Windows 11 with my core i7-14700 equipped with VGA card Nvidia GTX 4070 Ti Super, information below:
Code: Select all
nvidia-smi
+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 572.16 Driver Version: 572.16 CUDA Version: 12.8 |
|-----------------------------------------+------------------------+----------------------+
| GPU Name Driver-Model | Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap | Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|=========================================+========================+======================|
| 0 NVIDIA GeForce RTX 4070 ... WDDM | 00000000:01:00.0 On | N/A |
| 0% 42C P8 13W / 285W | 762MiB / 16376MiB | 4% Default |
| | | N/A |
+-----------------------------------------+------------------------+----------------------+
Code: Select all
NVARCH=`uname -s`_`uname -m`; export NVARCH
NVCOMPILERS=/opt/nvidia/hpc_sdk; export NVCOMPILERS
MANPATH=$MANPATH:$NVCOMPILERS/$NVARCH/25.1/compilers/man; export MANPATH
PATH=$NVCOMPILERS/$NVARCH/25.1/compilers/bin:/usr/openmpi-4.1.7/bin:$PATH; export PATH
export LD_LIBRARY_PATH=$NVCOMPILERS/$NVARCH/25.1/compilers/lib:/usr/openmpi-4.1.7/lib:$NVCOMPILERS/$NVARCH/25.1/cuda/lib64:$LD_LIBRARY_PATH
Code: Select all
nvcc --version
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2024 NVIDIA Corporation
Built on Tue_Oct_29_23:50:19_PDT_2024
Cuda compilation tools, release 12.6, V12.6.85
Build cuda_12.6.r12.6/compiler.35059454_0
Code: Select all
mpirun --version
mpirun (Open MPI) 4.1.7
Report bugs to http://www.open-mpi.org/community/help/
Code: Select all
sudo ./configure MPIFC=/usr/openmpi-4.1.7/bin/mpif90 FC=/opt/nvidia/hpc_sdk/Linux_x86_64/25.1/compilers/bin/nvfortran F77=/opt/nvidia/hpc_sdk/Linux_x86_64/25.1/compilers/bin/nvfortran CPP="cpp -E" FPP="/opt/nvidia/hpc_sdk/Linux_x86_64/25.1/compilers/bin/nvfortran -Mpreprocess -E" PFC=/usr/openmpi-4.1.7/bin/mpif90 F90SUFFIX=".f90" --enable-memory-profile --enable-open-mp --enable-par-linalg --enable-hdf5-par-io --enable-slepc-linal --enable-cuda-fortran --with-cuda-libs=/opt/nvidia/hpc_sdk/Linux_x86_64/25.1/cuda/lib64 --with-cuda-libdir=/opt/nvidia/hpc_sdk/Linux_x86_64/25.1/cuda/lib64 --with-cuda-incs=/opt/nvidia/hpc_sdk/Linux_x86_64/25.1/cuda/include --with-cuda-includedir=/opt/nvidia/hpc_sdk/Linux_x86_64/25.1/cuda --with-cuda-path=/opt/nvidia/hpc_sdk/Linux_x86_64/25.1/cuda/bin --with-cuda-cc=89 --with-cuda-runtime=12.6
Code: Select all
...
[src/tools] lib_Y_tools.a (lib)
make[2]: *** [/home/ygpu/yambo-5.3/config/mk/local/rules.mk:15: mod_pars.o] Error 2
[driver] yambo (setup)
yambo linking failed. Check log/compile_yambo.log
make[1]: *** [config/mk/global/actions/compile_yambo.mk:43: yambo] Error 1
yambo build failed
make: *** [Makefile:54: all] Error 1
I tried with configure without sudo, but it doesn't work as well. Could someone give me advice to solve this trouble!