compiling:main
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
compiling:main [2018/09/16 10:20] – daniel | compiling:main [2020/10/12 15:51] (current) – [Advanced options] print -- as --, not ndash pbro | ||
---|---|---|---|
Line 5: | Line 5: | ||
//potfit// uses the [[https:// | //potfit// uses the [[https:// | ||
- | The old [[compiling: | + | The old [[compiling: |
===== Basics ===== | ===== Basics ===== | ||
Line 12: | Line 12: | ||
< | < | ||
- | Building potfit is split up into two stages: first a configuration stage and then a build stage. The configuration stage checks if all requirements for a building a binary with the requested options is possible and the build stage then invokes the compiler to create the binary. | + | Building |
=== 1. Configuration === | === 1. Configuration === | ||
Line 20: | Line 20: | ||
< | < | ||
- | A minimal configuration needs to specify at least the interaction (-i) and maybe the potential model (-m): | + | A minimal configuration needs to specify at least the interaction (-i) and the potential model (-m): |
< | < | ||
Line 63: | Line 63: | ||
options | options | ||
</ | </ | ||
+ | |||
+ | Some examples for compiling //potfit// with the waf build system are shown [[compiling: | ||
===== Advanced options ===== | ===== Advanced options ===== | ||
Line 93: | Line 95: | ||
Depending on the selected compiler the following debug options are available: | Depending on the selected compiler the following debug options are available: | ||
- | * '' | + | * '' |
- | * '' | + | * '' |
- | * '' | + | * '' |
===== Troubleshooting ===== | ===== Troubleshooting ===== |
compiling/main.1537086044.txt.gz · Last modified: 2018/09/16 10:20 by daniel