Makefile updates
Posted: Wed Jan 02, 2013 2:09 pm
I notice that some work has gone into updating the makefile.linux_ifc_P4 file, such that it should now work 'out of the box' on a few more systems. (Assuming you want a serial build with the included FFT library.) However, I would like to request a few more improvements in the same vein:
1) It would be nice if vasp.5.lib could receive a little similar attention: I note in particular that the makefile.linux_ifc_P4 makefile still has the Fortran compiler set as 'ifc'.
2) I assume at some point, the non-standard compilation lines should also be updated to use -names lowercase rather than -lowercase, as the standard one has.
3) As far as I know, libguide is no longer included with the Intel composer+MKL package. I'm happy to be corrected on this, but otherwise, it may be worth preparing for its removal.
4) There are a number of places in the makefiles where library paths are still hard-coded, for example for GotoBLAS and FFTW. Replacing, for example:
with something like:
would make it easier for people to simply specify alternative library paths on the make command line, rather than having to scatter edits throughout the makefile. I note that it is usual for FFTW in particular to be configured to set environment variables specifying the paths to its files, in particular FFTWDIR and FFTWINCLUDE.
In any case, thank you for the changes already made.
1) It would be nice if vasp.5.lib could receive a little similar attention: I note in particular that the makefile.linux_ifc_P4 makefile still has the Fortran compiler set as 'ifc'.
2) I assume at some point, the non-standard compilation lines should also be updated to use -names lowercase rather than -lowercase, as the standard one has.
3) As far as I know, libguide is no longer included with the Intel composer+MKL package. I'm happy to be corrected on this, but otherwise, it may be worth preparing for its removal.
4) There are a number of places in the makefiles where library paths are still hard-coded, for example for GotoBLAS and FFTW. Replacing, for example:
Code: Select all
FFT3D?=?fftw3d.o?fft3dlib.o?/opt/libs/fftw-3.1.2/lib/libfftw3.a
Code: Select all
USE_FFTW_DIR?=?/opt/libs/fftw-3.1.2/lib
FFT3D?=?fftw3d.o?fft3dlib.o?$(USE_FFTW_DIR)/libfftw3.a
In any case, thank you for the changes already made.