option, parallelism,...
Moderators: fgoudreault, mcote
Forum rules
Please have a look at ~abinit/doc/config/build-config.ac in the source package for detailed and up-to-date information about the configuration of Abinit 8 builds.
For a video explanation on how to build Abinit 7.x for Linux, please go to:
http://www.youtube.com/watch?v=DppLQ-KQA68.
IMPORTANT: when an answer solves your problem, please check the little green V-like button on its upper-right corner to accept it.
-
bbosak
- Posts: 1
- Joined: Mon Mar 15, 2010 11:41 pm
Post
by bbosak » Mon Mar 15, 2010 11:55 pm
Hi,
When I wanted to build Abinit (6.0.2) using gfortran and openmpi which were installed in a non standard locations, I have received:
ncfortran.h:26:42: error: NF_INT_IS_C_... not defined: No such file or directory
I think that this is a problem with the build system: the LD_LIBRARY_PATH is cleared by the make script. Could you confirm this?
Thanks,
Bartek
-
pouillon
- Posts: 651
- Joined: Wed Aug 19, 2009 10:08 am
- Location: Spain
-
Contact:
Post
by pouillon » Tue Mar 16, 2010 10:26 am
The problem does not come from LD_LIBRARY_PATH, but from NetCDF. I've changed the subject of this thread accordingly.
What happens is that NetCDF is unable to detect the properties of your compiler. The problem is not related to Abinit.
You could do one of the following:
- contact the NetCDF developers to get help from them;
- use the --with-netcdf-includes and --with-netcdf-libs options if you have NetCDF installed on your machine;
- disable NetCDF support in Abinit (--disable-netcdf).
Yann Pouillon
Simune Atomistics
Donostia-San Sebastián, Spain