<div dir="ltr"><div>Thanks for that! I added the location of nvfortran to my $PATH, and I got a little further but now configure stops at:</div><div><br></div><div>using F90... nvfortran<br>setting FFLAGS... -fast -mp<br>setting F90FLAGS... -fast -Mcache_align -Mpreprocess -Mlarge_arrays -mp<br>setting FFLAGS_NOOPT... -O0<br>setting FFLAGS_NOMAIN... -Mnomain<br>setting CPP... cpp<br>setting CPPFLAGS... -P -traditional -Uvector<br>setting LD... nvfortran<br>setting LDFLAGS... -mp<br>checking whether Fortran compiler accepts -cuda -gpu=cuda12.2... no<br>configure: error: You do not have the cudafor module. Are you using NVHPC compiler?<br></div><div><br></div><div>it's finding nvfortran, but it doesn't seem to like the flags?</div></div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Tue, Oct 21, 2025 at 1:53 AM Paolo Giannozzi <<a href="mailto:paolo.giannozzi@uniud.it">paolo.giannozzi@uniud.it</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi<br>
<br>
yes, this is (still) the right venue.<br>
<br>
In the main repository, the only supported GPU hardware/software combo <br>
is NVidia GPUs + NVidia hpc_sdk (nvfortran compiler). "configure <br>
--with-cuda ..." assumes that you have the nvfortran compiler (v.21.7 or <br>
later, this is the check that fails).<br>
<br>
If you have evidence that gfortran can now support NVidia GPUs via <br>
OpenACC, you may try it, but you should start from a make.inc file for <br>
gfortran and add the needed options.<br>
<br>
Paol<br>
<br>
On 10/20/2025 11:09 PM, Lee Latham wrote:<br>
> <br>
> Hi there,<br>
> I'm sorry if this isn't the right venue to ask but I can't seem to find <br>
> anything more appropriate. I'm getting an odd configure failure telling <br>
> me my compiler is too old...but, which one? I can't identify a typical <br>
> compiler that is even close to the version number required. Any input <br>
> would be appreciated! some output below:<br>
> <br>
> checking whether cc accepts -g... yes<br>
> checking for cc option to accept ISO C89... none needed<br>
> setting CC... cc<br>
> setting CFLAGS... -O3<br>
> using F90... gfortran<br>
> setting FFLAGS... -O3 -g -fallow-argument-mismatch -fopenmp<br>
> setting F90FLAGS... $(FFLAGS) -cpp -fopenmp<br>
> setting FFLAGS_NOOPT... -O0 -g<br>
> setting CPP... cpp<br>
> setting CPPFLAGS... -P -traditional -Uvector<br>
> setting LD... gfortran<br>
> setting LDFLAGS... -g -pthread -fopenmp<br>
> configure: WARNING: Compiler version too old, use at least 21.7<br>
> configure: error: Compiler version too old, use at least 21.7<br>
> [root@pn1tb qe-7.5]# gcc --version<br>
> gcc (GCC) 11.5.0 20240719 (Red Hat 11.5.0-5)<br>
> Copyright (C) 2021 Free Software Foundation, Inc.<br>
> This is free software; see the source for copying conditions. There is NO<br>
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.<br>
> <br>
> <br>
> [root@pn1tb qe-7.5]# gfortran --version<br>
> GNU Fortran (GCC) 11.5.0 20240719 (Red Hat 11.5.0-5)<br>
> Copyright (C) 2021 Free Software Foundation, Inc.<br>
> This is free software; see the source for copying conditions. There is NO<br>
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.<br>
> <br>
> <br>
> [root@pn1tb qe-7.5]# cc --version<br>
> cc (GCC) 11.5.0 20240719 (Red Hat 11.5.0-5)<br>
> Copyright (C) 2021 Free Software Foundation, Inc.<br>
> This is free software; see the source for copying conditions. There is NO<br>
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.<br>
> <br>
> <br>
> <br>
> ________________________________________________<br>
> The Quantum ESPRESSO Foundation stands in solidarity with all civilians worldwide who are victims of terrorism, military aggression, and indiscriminate warfare.<br>
> _______________________________________________<br>
> developers mailing list<br>
> <a href="mailto:developers@lists.quantum-espresso.org" target="_blank">developers@lists.quantum-espresso.org</a><br>
> <a href="https://lists.quantum-espresso.org/mailman/listinfo/developers" rel="noreferrer" target="_blank">https://lists.quantum-espresso.org/mailman/listinfo/developers</a><br>
<br>
-- <br>
Paolo Giannozzi, Dip. Scienze Matematiche Informatiche e Fisiche,<br>
Univ. Udine, via delle Scienze 206, 33100 Udine Italy, +39-0432-558216<br>
<br>
</blockquote></div>