Abinit 6.12.1 configuration issues
Posted: Wed Feb 29, 2012 11:16 pm
Hi developers -
I've run into a couple of issues with the configuration of 6.12.1
config.h appears to end up with all plugins enabled even when I specifically pass configure flags to disable (e.g bigdft, wannier90, etc). The 5.5 build system guide on the website - page 11 - says the defaults should be "no". Even if I give the flags shown on that page with "no", the options are set to yes in config.h
The second issue - some compilers use the -module flag to tell the compiler both where to deposit module files, and where to subsequently find them during a build. This seems to work fine in the "src" tree, but in the "fallbacks" tree, the build system does an "install" of modules which presupposes their location:
/usr/bin/install -c -m 644 xc_funcs.h ./libxc_funcs_m.unknown ./xc_f90_lib_m.unknown ./xc_f90_types_m.unknown '~/abinit-6.12.1/fallbacks/exports/include'
Here - these modules are presumed to be in the current directory rather then the -module directory
Where is the best place in the build system to twiddle these? I've tried messing with the adinit_moddir variable in the configure script, but haven't been successful in propagating anything to the Makefiles yet.
Thanks.
I've run into a couple of issues with the configuration of 6.12.1
config.h appears to end up with all plugins enabled even when I specifically pass configure flags to disable (e.g bigdft, wannier90, etc). The 5.5 build system guide on the website - page 11 - says the defaults should be "no". Even if I give the flags shown on that page with "no", the options are set to yes in config.h
The second issue - some compilers use the -module flag to tell the compiler both where to deposit module files, and where to subsequently find them during a build. This seems to work fine in the "src" tree, but in the "fallbacks" tree, the build system does an "install" of modules which presupposes their location:
/usr/bin/install -c -m 644 xc_funcs.h ./libxc_funcs_m.unknown ./xc_f90_lib_m.unknown ./xc_f90_types_m.unknown '~/abinit-6.12.1/fallbacks/exports/include'
Here - these modules are presumed to be in the current directory rather then the -module directory
Where is the best place in the build system to twiddle these? I've tried messing with the adinit_moddir variable in the configure script, but haven't been successful in propagating anything to the Makefiles yet.
Thanks.