User Tools

Site Tools


No renderer 'pdf' found for mode 'pdf'
build:compile

This is an old revision of the document!


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.1495617905.txt.gz · Last modified: 2017/05/24 11:25 by Matthieu Verstraete