Skip to content

Latest commit

 

History

History

examples

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

PSyclone Examples

Author: J. Henrichs, Bureau of Meteorology Modifications: A. R. Porter, STFC Daresbury Laboratory

Introduction

This directory contains examples for the various APIs that PSyclone supports, and data structures. In detail:

Various examples related to the GOCean API.

Various examples related to the NEMO API.

Various examples related to the LFRic API.

This example demonstrates the use of the line length option.

This directory contains examples on how to use PSyIR to create Fortran and C code as output.

This directory shows the usage of the stub-generation functionality of the psyclone-kern utility. This helps with generating a Kernel's argument list and associated datatypes from the Kernel metadata.

transformations

This directory shows how to use the inline transformation.

Compiler Settings

By default, all examples are using gfortran as compiler. If you want to change the compiler, use the environment variables F90 and F90FLAGS, e.g.:

    F90=ifort F90FLAGS="-g -check bounds" make