Slide 1 Running NEMO at ECMWF Slide 1 NEMO under Perforce at ECMWF Kristian S. Mogensen Last revised: 20061110.

Slides:



Advertisements
Similar presentations
Introduction To GIT Rob Di Marco Philly Linux Users Group July 14, 2008.
Advertisements

Software engineering tools for web development Jim Briggs 1CASE.
Intro to Version Control Have you ever …? Had an application crash and lose ALL of your work Made changes to a file for the worse and wished you could.
1. What is Subversion? Why do we need CM? Basic concepts Repositories Options Setup Clients Options Setup Operation Troubleshooting Slide 2.
Version Control System (Sub)Version Control (SVN).
1 OBJECTIVES To generate a web-based system enables to assemble model configurations. to submit these configurations on different.
Software Configuration Management Donna Albino LIS489, December 3, 2014.
Version Control System Sui Huang, McMaster University Version Control SystemSui Huang, McMaster University Version Control System -- base on Subversion.
Version Control What it is and why you want it. What is Version Control? A system that manages changes to documents, files, or any other stored information.
David Notkin Autumn 2009 CSE303 Lecture 22 Subversion is an open source version control system. Social Implications Friday version control system.
Using subversion COMP 2400 Prof. Chris GauthierDickey.
Version Control Systems Phil Pratt-Szeliga Fall 2010.
CS 501 : An Introduction to SCM & GForge An Introduction to SCM & GForge Lin Guo
Low level CASE: Source Code Management. Source Code Management  Also known as Configuration Management  Source Code Managers are tools that: –Archive.
Source Code Management Or Configuration Management: How I learned to Stop Worrying and Hate My Co-workers Less.
Source Control Repositories for Enabling Team Working Svetlin Nakov Telerik Corporation
Software Configuration Management CSC-532 Chandra Shekar Kandi Chandra Shekar Kandi.
SubVersioN – the new Central Service at DESY by Marian Gawron.
Version Control. What is Version Control? Manages file sharing for Concurrent Development Keeps track of changes with Version Control SubVersion (SVN)
Source Code Revision Control Software CVS and Subversion (svn)
Perforce (Version Control Software). Perforce is an enterprise version management system in which users connect to a shared file repository. Perforce.
Version Control with git. Version Control Version control is a system that records changes to a file or set of files over time so that you can recall.
Chapter - 2 What is “GIT” VERSION CONTROL AND GIT BASICS.
Subversion. What is Subversion? A Version Control System A successor to CVS and SourceSafe Essentially gives you a tracked, shared file system.
Software Engineering Modern Approaches
The Design Workshop Introduction to Version Control 1.
1 Lecture 19 Configuration Management Software Engineering.
Subversion (SVN) Tutorial for CS421 Dan Fleck Spring 2010.
Warmup A programmer’s wife tells him, “Would you mind going to the store and picking up a loaf of bread? Also, if they have eggs, get a dozen.” The programmer.
Prepared by: Steve Teo Contributors: Tong Huu Khiem.
Source Code Control CSE 3902 Matt Boggus. Source code control options for CSE 3902 Must use source code control that is integrated with Visual Studio.
1 SEG4912 University of Ottawa by Jason Kealey Software Engineering Capstone Project Tools and Technologies.
ITEC 370 Lecture 16 Implementation. Review Questions? Design document on F, feedback tomorrow Midterm on F Implementation –Management (MMM) –Team roles.
Subversion (SVN) Tutorial Source:
Version Control Systems academy.zariba.com 1. Lecture Content 1.What is Software Configuration Management? 2.Version Control Systems (VCS) 3.Basic Git.
Git workflow and basic commands By: Anuj Sharma. Why git? Git is a distributed revision control system with an emphasis on speed, data integrity, and.
SWEN 302: AGILE METHODS Roma Klapaukh & Alex Potanin.
Object-Oriented Analysis & Design Subversion. Contents  Configuration management  The repository  Versioning  Tags  Branches  Subversion 2.
Subversion (SVN) A Revision Control System Successor to CVS Carlos Armas Hervey Allen.
SENG 403 Tutorial 1 1SENG 403 – Winter Agenda Version Control Basics Subversion Basic actions in Subversion Some examples 2SENG 403 – Winter 2012.
CSE 219 Computer Science III CVS
Configuring Sourceforge’s CVS to work with Forte (3.0 or later) on WindowsNT and Windows 2000 Specific for MAExplorer.sourceforge.net Written by Eric Shen,
INFSO-RI Enabling Grids for E-sciencE SCDB C. Loomis / Michel Jouvin (LAL-Orsay) Quattor Tutorial LCG T2 Workshop June 16, 2006.
1 GIT NOUN \’GIT\ A DISTRIBUTED REVISION CONTROL AND SOURCE CODE MANAGEMENT (SCM) SYSTEM WITH AN EMPHASIS ON SPEED. INITIALLY DESIGNED AND DEVELOPED BY.
WinCvs. WinCVS WinCvs is a window based version control system. Use WinCvs when  You want to save every version of your file you have ever created. CVS.
GIT.
J.P. Wellisch, CERN/EP/SFT SCRAM Information on SCRAM J.P. Wellisch, C. Williams, S. Ashby.
L.T.E :: Learning Through Experimenting Using google-svn for MtM Docs Development Denis Thibault Version 3.2 Mar 12 th, 2009.
Part 4: FCM and the UM University of Reading, December 2015.
Introduction to Git Yonglei Tao GVSU. Version Control Systems  Also known as Source Code Management systems  Increase your productivity by allowing.
WinCVS Training è Basic Concepts è Download & Setup è Importing a new module into CVS Repository è Getting new module from CVS è Getting Latest version.
1 CSE 303 Lecture 19 Version control and Subversion ( svn ) slides created by Marty Stepp
TEAM FOUNDATION VERSION CONTROL AN OVERVIEW AND WALKTHROUGH By: Michael Mallar.
Subversion (SVN) Tutorial for CS421 Dan Fleck Spring 2010.
Source Control Repositories for Enabling Team Working Doncho Minkov Telerik Corporation
DIGITAL REPOSITORIES CGDD Job Description… Senior Tools Programmer – pulled August 4 th, 2011 from Gamasutra.
1 Subversion Kate Hedstrom April Version Control Software System for managing source files –For groups of people working on the same code –When.
SWIM Project Meeting, Bloomington, IN September 2006 Working with the SWIM Code Repository David E. Bernholdt Oak Ridge National Laboratory
Source Code Control For CSE 3902 By: Matt Boggus.
CS5220 Advanced Topics in Web Programming Version Control with Git
Concurrent Versions System User guide for CS408
CReSIS Git Tutorial.
Source Control Dr. Scott Schaefer.
CSE 303 Concepts and Tools for Software Development
CVS revisions UML diagram
Subversion.
Concurrent Version Control
Source Code Management
Systems Analysis and Design I
Carthage ios 8 onwards Dependency manager that streamlines the process of integrating the libraries into the project.
Presentation transcript:

Slide 1 Running NEMO at ECMWF Slide 1 NEMO under Perforce at ECMWF Kristian S. Mogensen Last revised:

Slide 2 Running NEMO at ECMWF Slide 2 Perforce source code management system Commercial software similar to subversion and CVS. Adopted to ECMWF local use -All developers works in their own branches. -A limited set of superusers can make releases. These are typically made by merging the developers branches into a single branch. -To facilitate common tasks a command line wrapper (q2) has been developed on top of the generic Perforce client (p4). -All RD source code is store on in central repository on a server. ECMWF specific perforce documentation can be found on Perforce documentation can be found on:

Slide 3 Running NEMO at ECMWF Slide 3 Perforce at ECMWF Common tasks (using q2) : q2 help : show help message. You can also use q2 help to get detailed information about arguments to. q2 create_branch : creates a branch. q2 merge_branch : merges a branch into current branch. q2 ls_private : list private files. Private files are files not under perforce. q2 submit : submit all changes. Common tasks (using p4) : p4 edit file.F90 : open file for editing. You can now edit the file using you favourite editor. p4 add file.F90 : add a new file to the branch. p4 delete file.F90 : delete file from branch. p4 submit : submit all changes. p4 diff : show differences between current workspace and the latest commited version. p4 revert file.F90 : revert changes to a file.

Slide 4 Running NEMO at ECMWF Slide 4 NEMO under perforce NEMO managed with its own perforce project group and has its own release numbering with using the LYYEX where YY reflects the version from L’OCEAN and X reflects our changes relative to the YY version. Latest version is L10E6. To create a branch use: q2 create_branch -b mybranch -p nemo -g nemo -r L10E6

Slide 5 Running NEMO at ECMWF Slide 5 ECMWF’s make system for NEMO Important files in the make system: -Makefile.nemo is the main make file -OPA.make (and similar files) contains the rules for creating the libraries and all dependencies needed for a library -hpc_mpi.config (and similar files) contains the compiler options used -CPP_keys.ORCA2 (and similar files) contains the default CPP directives (keys) for a given configuration -CPP_keys.ORCA2_OASIS3 contains the CPP directives for running with OASIS3

Slide 6 Running NEMO at ECMWF Slide 6 ECMWF’s make system for NEMO 2 The make system is quite different from L’OCEAN’s. Domain decomposition handled by the make system based on prepIFS input Integrated into perforce Adding new routines requires a complete rebuild of the NEMO model  (but so does L’OCEAN’s make system)

Slide 7 Running NEMO at ECMWF Slide 7 Using a simplified setup to run NEMO on your workstation or ecgate. Scripts in nemo/build Compilation scripts -setupnemomake.ksh  Creates directory to run in -linknemomake.ksh  Setup the compilation environment -makenemo.ksh  Makes the nemo model. Has the arguments –x, -y to specify decomposition.

Slide 8 Running NEMO at ECMWF Slide 8 Using a simplified setup to run NEMO on your workstation or ecgate. Scripts in nemo/build 2 Scripts to get data for ec:/ne1/nemovar_testdata -gettestdata_1x1.ksh -gettestdata_1x2.ksh -gettestdata_2x1.ksh  The 3 above scripts gets restart files etc. for running NEMO with different decomposition. On ecgate only 1x1 is supported.

Slide 9 Running NEMO at ECMWF Slide 9 Using a simplified setup to run NEMO on your workstation. Scripts in nemo/build 3 Cleaning scripts: -cleannemomake.ksh  Cleans objects etc for NEMO -cleanoasis3.ksh  Cleans objects etc for OASIS3 -cleanrun.ksh  Cleans all run files (including input data) Known issues with the simplified scripts: -The path to the OASIS3 source tree is hard coded in the following files “nemo/build/lamoasis3_*.ksh”, “nemo/build/linux_oasis3.config”, “nemo/tools/pseudo_ocean/config.linux” and “nemo/tools/pseudo_atmos/config.linux”. To run with OASIS3 you need to modify this files manually. This will be fixed in the next release.

Slide 10 Running NEMO at ECMWF Slide 10 Using a simplified setup to run NEMO on your workstation or ecgate: Sample session Created a branch to work in using the q2 create_branch –b mybranch –p nemo –g nemo –r L10E6 Run the following scripts in nemo/build:./setupnemomake.ksh./linknemomake.ksh./gettestdata_1x1.ksh./runnemo.ksh This should run a 5 day ORCA2 NEMO integration forced by ERA40 fluxes