-
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #282 from snek5000/doc/config-c-fortran-compilers
How to configure C and Fortran compilers
- Loading branch information
Showing
3 changed files
with
18 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# How to configure C and Fortran compilers | ||
|
||
As pointed out in the tutorial on {ref}`configuring` Snek5000, it relies on a | ||
default configuration file with sane defaults for C and Fortran compilers such | ||
as `gcc`, `gfortran` and its MPI wrappers and flags. | ||
|
||
You can also generate a machine / user specific configuration file using | ||
`snek-generate-config` command-line tool which would copy the default | ||
configuration to `$HOME/.config/snek5000.yml` and modify it to your needs. | ||
{ref}`Read more about this here <config_files>`. | ||
|
||
Other possibilities include overriding from the {ref}`Python simulation script <override_config>` and via {ref}`environment variables <override_config_env>`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters