Skip to content

Latest commit

 

History

History
25 lines (17 loc) · 625 Bytes

README.md

File metadata and controls

25 lines (17 loc) · 625 Bytes

LFRic build environment

Contains all dependencies required to build and run LFRic

Testing the environment

Try a manual install and test run of LFRic

# Make sure the environment is on your PATH
export PATH=$NGMOENVS_BASEDIR/envs/lfric/bin:$PATH

# Check out the LFRic source
svn checkout https://code.metoffice.gov.uk/svn/lfric_apps/main/trunk lfric_apps

# App to build from lfric_apps/applications
APP=gravity_wave

# Build the app
envrun lfric_apps/build/local_build.py --application $APP

# Run the app example
cd lfric_apps/applications/$APP/example
envrun mpirun -n  1 ../bin/$APP configuration.nml