I am trying to build abinit 9.6.2 with ifort (version 18.0).
When I try to configure abinit, it succeeds with gfortran, but it fails with ifort with this message:
Abinit feature triggers status
==============================
The following summary table indicates the status of the feature triggers,
whether they are available and working, how they have been initialized
and whether there are fallbacks to substitute broken ones.
+----------------+--------+--------+--------+--------+
|Feature |Enabled |Init |Working |Fallback|
+----------------+--------+--------+--------+--------+
|abinit_common |no |def |unknown |no |
|bigdft |no |def |unknown |disabled|
|fft |yes |kwd |yes |no |
|fftw3 |no |def |unknown |no |
|gpu |no |def |no |no |
|hdf5 |yes |def |yes |disabled|
|levmar |no |def |unknown |no |
|libpaw |no |def |unknown |no |
|libpsml |no |def |unknown |disabled|
|libxc |yes |def |yes |disabled|
|libxml2 |no |def |unknown |no |
|linalg |yes |def |yes |disabled|
|mpi |no |yon |no |no |
|netcdf |yes |def |yes |disabled|
|netcdf_fortran |yes |def |no |disabled|
|papi |no |def |unknown |no |
|pfft |no |def |unknown |no |
|triqs |no |def |unknown |no |
|wannier90 |no |def |unknown |disabled|
|xmlf90 |no |def |unknown |disabled|
+----------------+--------+--------+--------+--------+
+------------------------------------------------------------------+
| WARNING : NetCDF Fortran is not WORKING ! |
+------------------------------------------------------------------+
| Please specify the installation directory for Netcdf-fortran |
+------------------------------------------------------------------+
+------------------------------------------------------------------+
| Problems must be solved before continuing |
+------------------------------------------------------------------+
So I tried to go to the fallback option. The fallback file build-abinit-fallbacks.sh does have FC=“ifort”, but when I run build-abinit-fallbacks.sh, I get this error:
checking for gcc... gcc
checking whether the C compiler works... no
configure: error: in `/home/barrowes/barrowes/abinit96/abinit-9.6.2/fallbacks/abinit-fallbacks-9.2/sources/libxc-4.3.4/tmp-build':
configure: error: C compiler cannot create executables
See `config.log' for more details
make[2]: *** [Makefile:1196: stamps/libxc-config-stamp] Error 77
make[2]: Leaving directory '/home/barrowes/barrowes/abinit96/abinit-9.6.2/fallbacks/abinit-fallbacks-9.2'
make[1]: [Makefile:1074: all-local] Error 2 (ignored)
Checking build of libxc fallback
test -e stamps/libxc-install-stamp
make[1]: *** [Makefile:1076: all-local] Error 1
make[1]: Leaving directory '/home/barrowes/barrowes/abinit96/abinit-9.6.2/fallbacks/abinit-fallbacks-9.2'
make: *** [Makefile:666: install-recursive] Error 1
We have detected a problem while generating fallbacks : contact Abinit's team