@conf
def find_crayftn(conf):
    """Find the Cray fortran compiler (will look in the environment variable 'FC')"""
    fc = conf.find_program(['crayftn'], var='FC')
    conf.get_crayftn_version(fc)
    conf.env.FC_NAME = 'CRAY'
    conf.env.FC_MOD_CAPITALIZATION = 'UPPER.mod'
