[Q-e-developers] ppc64 and xlc vs. gfortran
Michael Banck
mbanck at debian.org
Sat Sep 24 12:37:13 CEST 2016
Hi,
I noticed that QE fails to build on Debian ppc64:
|mpif90 -O3 -g -x f95-cpp-input -D__XLF -D__GFORTRAN -D__STD_F95
|-D__FFTW3 -D__MPI -D__PARA -D__SCALAPACK -D__ELPA -I../include
|-I/usr/include/elpa/modules -I../iotk/src -I../ELPA/src -I../FFTXlib
|-I../LAXlib -I. -c parser.f90
|f951: Warning: Nonexistent include directory '../ELPA/src'
|[-Wmissing-include-dirs]
|parser.f90:65:21:
|
| CHARACTER(LEN=1), AUTOMATIC :: sep1, sep2
| 1
|Error: Invalid character in name at (1)
Note thet -D__XLF which makes it use a different codepath in parser.f90.
This seems to be due to this in configure:
|case $arch in
|[...]
|ppc64 )
| try_mpif90="mpxlf90_r mpf90_r mpif90"
| try_f90="xlf90_r $try_f90"
| try_dflags="-D__XLF"
| ;;
So QE assumes XLC to be used on ppc64, but gfortran appears to be a
valid choice to me as well.
Michael
More information about the developers
mailing list