gmx -version does not report ACpp compiler wrapper path
Summary
$ ./bin/gmx -version
:-) GROMACS - gmx, 2024.2-dev-20240325-0feccf96db (-:
Executable: /tmp/gromacs/build/acpp/./bin/gmx
Data prefix: /tmp/gromacs (source tree)
Working dir: /tmp/gromacs/build/acpp
Command line:
gmx -version
GROMACS version: 2024.2-dev-20240325-0feccf96db
GIT SHA1 hash: 0feccf96db61023e4476dfd1491159b98ac78534
Precision: mixed
Memory model: 64 bit
MPI library: thread_mpi
OpenMP support: enabled (GMX_OPENMP_MAX_THREADS = 128)
GPU support: SYCL (hipSYCL)
NBNxM GPU setup: super-cluster 2x2x2 / cluster 8
SIMD instructions: AVX2_256
CPU FFT library: fftw-3.3.8-sse2-avx
GPU FFT library: VkFFT internal (1.3.1) with HIP backend
Multi-GPU FFT: none
RDTSCP usage: enabled
TNG support: enabled
Hwloc support: disabled
Tracing support: disabled
C compiler: /usr/bin/clang-17 Clang 17.0.6
C compiler flags: -mavx2 -mfma -Wall -Wno-unused -Wunused-value -Wunused-parameter -Wno-missing-field-initializers -O3 -DNDEBUG
C++ compiler: /usr/bin/clang++-17 Clang 17.0.6
C++ compiler flags: -mavx2 -mfma -Wall -Wextra -Wpointer-arith -Wmissing-prototypes -Wdeprecated -Wno-unused-function -Wno-reserved-identifier -Wno-missing-field-initializers -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-source-uses-openmp -Wno-c++17-extensions -Wno-documentation-unknown-command -Wno-covered-switch-default -Wno-switch-enum -Wno-switch-default -Wno-extra-semi-stmt -Wno-weak-vtables -Wno-shadow -Wno-padded -Wno-reserved-id-macro -Wno-double-promotion -Wno-exit-time-destructors -Wno-global-constructors -Wno-documentation -Wno-format-nonliteral -Wno-used-but-marked-unused -Wno-float-equal -Wno-cuda-compat -Wno-conditional-uninitialized -Wno-conversion -Wno-disabled-macro-expansion -Wno-unused-macros -Wno-unsafe-buffer-usage -Wno-unused-parameter -Wno-unused-variable -Wno-newline-eof -Wno-old-style-cast -Wno-zero-as-null-pointer-constant -Wno-unused-but-set-variable -Wno-sign-compare -Wno-unused-result -Wno-cast-function-type-strict SHELL:-fopenmp=libomp -O3 -DNDEBUG
BLAS library: External - detected on the system
LAPACK library: External - detected on the system
hipSYCL launcher:
hipSYCL flags: -Wno-unknown-cuda-version -Wno-unknown-attributes --acpp-targets="hip:gfx1034" --acpp-clang=/usr/bin/clang++-17
hipSYCL GPU flags: -ffast-math;-fgpu-inline-threshold=99999
hipSYCL targets: hip:gfx1034
hipSYCL version: AdaptiveCpp 24.2.0+git.974adc33.20240311.branch.HEAD
Observe that "hipSYCL launcher:" is empty.
For developers: Why is this important?
We print the path to C/C++ and NVCC compilers; makes sense to also print the path to SYCL compiler.
If this is a bug, (1) what happens, and (2) what did you expect to happen?
-
hipSYCL launcher:
is empty. -
hipSYCL launcher:
contains the path to the hipSYCL/ACpp launcher used during build.