OP-DSL / OP2-Common

OP2: open-source framework for the execution of unstructured grid applications on clusters of GPUs or multi-core CPUs
https://op-dsl.github.io
Other
99 stars 47 forks source link

Pass flags for line length in FFLAGS #210

Closed pbartholomew08 closed 3 years ago

pbartholomew08 commented 3 years ago

When building with gnu passing these directly to FC breaks if you need to override FC, e.g. on a Cray machine in PrgEnv-gnu. Example use case:

module restore PrgEnv-gnu export OP2_COMPILER=gnu export OP2_INSTALL_PATH=/path/to/op2/fortran make CC=cc CXX=CC FC=ftn MPICC=cc MPICXX=CC MPIF90=ftn