Skip to content
ForCADDocumentation
Browse guide contents ↓

Build the Fortran library

Prepare a ForCAD checkout and choose a supported compiler. From the checkout root, build and test with its Pixi environment. For GNU Fortran, run

pixi run -e gnu fpm build --profile release
pixi run -e gnu fpm test --profile release

Use -e intel for Intel Fortran or -e flang for LLVM Flang. A successful build creates the library and Studio executable under build/.

To run the examples that use plain fpm commands, enter the corresponding compiler shell. Then run the bundled curve example or use ForCAD in your own program.