problem with configuring Abinit with libXC on MacOs
Posted: Mon Oct 10, 2016 3:06 pm
Dear all,
I am quite new in the abinit community and try to install abinit on MacOsX (Mavericks).
I would like to install it with libXC support, intel fortran compiler and GCC.
After compiling LibXC, I tried to first configure Abinit8.0.8 with the following commang:
../configure --prefix=/Users/adminclient/compile/abinit/abinit-8.0.8/build FC=/opt/app/darwin-x86/exec-mavericks/openmpi/openmpi-1.8.2-ifort/bin/mpif90 CC=/opt/app/darwin-x86/exec-mavericks/openmpi/openmpi-1.8.2-ifort/bin/mpicc FCFLAGS_EXTRA="-ffree-line-length-none" --enable-mpi --enable-mpi-io --with-dft-flavor="libxc" --with-libxc-incs=-I/Users/adminclient/compile/abinit/libxc-2.2.2/include --with-libxc-libs="-L/Users/adminclient/compile/abinit/libxc-2.2.2/lib -lxc -lxcf90"
and I get the following error:
configure: WARNING: package: libxc - preq= - working=no - incs=-I/Users/adminclient/compile/abinit/libxc-2.2.2/include libs=-L/Users/adminclient/compile/abinit/libxc-2.2.2/lib -lxc -lxcf90
+--------------------------------------------------------------+
| Connector detection failure |
+--------------------------------------------------------------+
| The build system of Abinit has not been able to detect |
| one or more requested external packages, probably because |
| you did not provide sufficient information. This means |
| that the build cannot proceed, and the configure script |
| will thus abort now with an error. |
| |
| To address this issue, you may: |
| |
| * make sure that the prerequisites of the external |
| packages are available and enabled, e.g. |
| --with-dft-flavor="libxc+bigdft" or |
| --with-trio-flavor="netcdf+etsf_io" |
| |
| * use the --with-*-bins, --with-*-incs, and |
| --with-*-libs options of configure to provide |
| additional information; please see the section related |
| to connectors in |
| ~abinit/doc/build/config-template.ac for available |
| options and details; |
| |
| * disable the corresponding extensions, by using the |
| associated --with-*-flavor="none" options of |
| configure; please see the section associated to |
| connectors in ~abinit/doc/build/config-template.ac for |
| details. |
| |
+--------------------------------------------------------------+
configure: error: external libxc support does not work
You will find attached the config.log
Can anyone help me please
Thanks
RĂ©mi
I am quite new in the abinit community and try to install abinit on MacOsX (Mavericks).
I would like to install it with libXC support, intel fortran compiler and GCC.
After compiling LibXC, I tried to first configure Abinit8.0.8 with the following commang:
../configure --prefix=/Users/adminclient/compile/abinit/abinit-8.0.8/build FC=/opt/app/darwin-x86/exec-mavericks/openmpi/openmpi-1.8.2-ifort/bin/mpif90 CC=/opt/app/darwin-x86/exec-mavericks/openmpi/openmpi-1.8.2-ifort/bin/mpicc FCFLAGS_EXTRA="-ffree-line-length-none" --enable-mpi --enable-mpi-io --with-dft-flavor="libxc" --with-libxc-incs=-I/Users/adminclient/compile/abinit/libxc-2.2.2/include --with-libxc-libs="-L/Users/adminclient/compile/abinit/libxc-2.2.2/lib -lxc -lxcf90"
and I get the following error:
configure: WARNING: package: libxc - preq= - working=no - incs=-I/Users/adminclient/compile/abinit/libxc-2.2.2/include libs=-L/Users/adminclient/compile/abinit/libxc-2.2.2/lib -lxc -lxcf90
+--------------------------------------------------------------+
| Connector detection failure |
+--------------------------------------------------------------+
| The build system of Abinit has not been able to detect |
| one or more requested external packages, probably because |
| you did not provide sufficient information. This means |
| that the build cannot proceed, and the configure script |
| will thus abort now with an error. |
| |
| To address this issue, you may: |
| |
| * make sure that the prerequisites of the external |
| packages are available and enabled, e.g. |
| --with-dft-flavor="libxc+bigdft" or |
| --with-trio-flavor="netcdf+etsf_io" |
| |
| * use the --with-*-bins, --with-*-incs, and |
| --with-*-libs options of configure to provide |
| additional information; please see the section related |
| to connectors in |
| ~abinit/doc/build/config-template.ac for available |
| options and details; |
| |
| * disable the corresponding extensions, by using the |
| associated --with-*-flavor="none" options of |
| configure; please see the section associated to |
| connectors in ~abinit/doc/build/config-template.ac for |
| details. |
| |
+--------------------------------------------------------------+
configure: error: external libxc support does not work
You will find attached the config.log
Can anyone help me please
Thanks
RĂ©mi