How to configure C and Fortran compilers#
As pointed out in the tutorial on Configuring compilation and execution 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.
Read more about this here.
Other possibilities include overriding from the Python simulation script and via environment variables.