compiling:make
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
compiling:make [2018/08/24 20:57] – daniel | compiling:make [2018/09/19 17:48] – ↷ Links adapted because of a move operation daniel | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Compiling potfit using make ====== | ====== Compiling potfit using make ====== | ||
---- | ---- | ||
- | //potfit// is compiled with GNU make, which we call gmake in the following. Note that on most systems, GNU make is called make. Most other implementations of make won't work. | + | |
+ | <wrap round info 665px center> | ||
+ | //**Info:**// | ||
+ | Although potfit still supports using make as a build system it is recommended to use the [[compiling: | ||
+ | </ | ||
+ | |||
+ | //potfit// can be compiled with GNU make, which we call gmake in the following. Note that on most systems, GNU make is called make. Most other implementations of make won't work. | ||
<code bash> | <code bash> | ||
- | The compiler and compilation flags are determined according to the '' | + | The compiler and compilation flags are determined according to the '' |
- | Further compile or link flags, in addition to those determined by the '' | + | Further compile or link flags, in addition to those determined by the '' |
- | After compiling, the potfit executable is moved to the directory '' | + | After compiling, the potfit executable is moved to the directory '' |
'' | '' | ||
Line 17: | Line 23: | ||
Most features of potfit must be activated with the corresponding compilation option in the make target. The most important option is the interaction you want to use. Most options can coexist with each other. | Most features of potfit must be activated with the corresponding compilation option in the make target. The most important option is the interaction you want to use. Most options can coexist with each other. | ||
- | Here are some [[:compiling_examples|examples]] that might help you compile //potfit//. | + | Here are some [[compiling:make_examples|examples]] that might help you compile //potfit//. |
=== Compilation Options | === Compilation Options | ||
- | The compilation options are described together with the simulation features they enable. For details, see the [[:options]]. | + | The compilation options are described together with the simulation features they enable. For details, see the [[options:main]]. |
=== Supported values of the '' | === Supported values of the '' | ||
Line 27: | Line 33: | ||
Currently, the following values of the '' | Currently, the following values of the '' | ||
- | < | + | < |
- | x86_64-icc All recent 64 bit processors, icc</ | + | x86_64-gcc All recent 64 bit processors, gcc |
+ | x86_64-clang All recent 64 bit processors, clang | ||
+ | x86_64-icc All recent 64 bit processors, icc | ||
+ | </ | ||
The following values of the '' | The following values of the '' | ||
- | < | + | < |
- | i686-icc 32 bit processor, icc</ | + | i686-gcc 32 bit processor, gcc |
+ | i686-icc 32 bit processor, icc | ||
+ | </ | ||
Support for different values of '' | Support for different values of '' |
compiling/make.txt · Last modified: 2018/09/19 17:49 by daniel