User Tools

Site Tools


Action unknown: siteexport_addpage
build:compile

Compiling Abinit

Compiling abinit once you have configured is usually as simple as

make

and going to have a coffee. If abinit has to compile fallbacks for libxc and other libraries it can take 10-20 minutes on a slow machine.

You can make with several threads (here 4) at the same time to go faster:

make -j 4

The build system is clever and does things in the right order to not get ahead of itself (it has to build modules before it uses them). As a rule -j <number of cores> is a good idea. If things do stop and the compiler complains, run make again without threads to be sure it's not simply an issue of precedence.

build/compile.txt · Last modified: 2017/05/25 10:59 by Matthieu Verstraete