potfit wiki

open source force-matching

User Tools

Site Tools


compiling:main

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
compiling:main [2019/02/27 16:54] danielcompiling:main [2020/05/14 15:51] – ↷ Links adapted because of a move operation daniel
Line 12: Line 12:
 <code>./waf --help</code> <code>./waf --help</code>
  
-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 building a binary with the requested options is possible and the build stage then invokes the compiler to create the binary.+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 building a //potfit// binary with the requested options is possible and the build stage then invokes the compiler to create the binary.
  
 === 1. Configuration === === 1. Configuration ===
Line 20: Line 20:
 <code>./waf configure <additional arguments></code> <code>./waf configure <additional arguments></code>
  
-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):
  
 <code>./waf configure -i pair -m apot</code> <code>./waf configure -i pair -m apot</code>
Line 64: Line 64:
 </code> </code>
  
-Some examples for compiling //potfit// with the waf build system are shown [[compiling:main_examples|here]].+Some examples for compiling //potfit// with the waf build system are shown [[compiling:examples|here]].
  
 ===== Advanced options ===== ===== Advanced options =====
compiling/main.txt · Last modified: 2020/10/12 15:51 by pbro