User Tools

Site Tools


build:compile

IMPORTANT WARNING
This Page is obsolete. Please refer to https://www.abinit.org !

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: 2024/10/10 07:52 by 127.0.0.1