Running CSIM 5.0 at UD

Size: px
Start display at page:

Download "Running CSIM 5.0 at UD"

Transcription

1 Running CSIM 5.0 at UD The following instructions are for running NCAR s Community Sea Ice Model, version 5.0, uncoupled on a SunFire 6800 running Solaris 9 with Studio 9 compiler suite. Environmental variables have been set by other scripts that are user specific ( Download the source code Very roughly, the source code is about 12 Mb while the input data and scripts require about 75 Mb once the executable has been built without atmospheric forcing data Atmospheric forcing data will require an additional 1 Gb. Daily output for a standard uncoupled, CSIM run will use about 4 Mb a day. Download the source code and datasets from the CSIM 5.0 public release homepage ( Source Code: o csim5_code.tar.gz (0.17 Mb compressed) (Sept 2004) Input Data: o csim5_inputdata_gx3v5.tar.gz (5.2 Mb compressed) (6/23/2004) o csim5_inputdata_gx1v3.tar.gz (39 Mb compressed) (6/23/2004) *Atmospheric Forcing Data: o csim5_atmforcing_gx3v5.tar.gz (253 Mb compressed) (6/23/2004) * This forcing is year 1997 of NCEP state variables, MXA precipitation and ISCCPM radiative fluxes. These datasets are meant for testing the model and are not the best observational data for research. CSIM 5.0 does not require atmospheric forcing data to setup and run (NCAR). Uncompress Files Uncompress and untar the files: gunzip filename.tar.gz tar xvf filename.tar

2 Modify run script (csim_run) 1.) Change all directory paths to your directories. CSIMDIR home directory of untarred CSIM CSIMDATA location of input data (created when the inputdata tarball is untarred) CASE name of the current experiment EXEROOT working directory and location of output 2.) Set the run configuration. CASESTR description of run OCEANMIXED_ICE whether or not to use the ocean mixed layer model (pg 21 CSIM users guide) RUNTYPE start up or continue (pg 22 CSIM users guide) NCAT # of ice categories (pg 23 CSIM users guide; pg 13 CSIM scientific description) NX & NY # of processors - set to one for a single processor run (only option at UD) - BINTYPE single for single processor run 3.) Delete NCAR specific stuff. There are a lot of references to NCAR specific computers that can be removed if it makes it easier to look through the code. This is not necessary and not recommended until you are certain you know what lines of code you need. 4.) Change run command. if ( $OS = = AIX ) csim if ( $OS = = SunOS ) csim Modify setup script (csim.setup.csh) 1.) Switch the order of the first set of if statements located six lines down from Position the input datasets. If this isn t changed it is impossible to enter the loop. Originally: If ($RESTART = =.true.) then If ($RUNTYPE = = startup) then Change to: If ($RUNTYPE = = startup) then If ($RESTART = =.true.) then

3 2.) Set the namelist variables for each simulation. Namelist variables determine time management, output frequency, filenames, model physics and options (pg 12-21, CSIM user s guide). Comment out year_int, fyear_init, ycycle, and atm_data_dir unless you are using the atmospheric forcing data. If you are not using the atmospheric forcing information you must also comment out call init_getflux and call getflux in ice.f If you are using the forcing information leave the variables active and change the directory path to the data to it s location in your space. 3.) Change the directory paths under Filepath to the appropriate path to the location of the source directory in your space. There should only be one directory in the CSIM directory tree that contains source files. Therefore there should only be one path listed under the filepath command. This command creates a Srcfile that is used by the Makefile to create the object files. This should work but if it doesn t, create a srcfile in the $CSIMDIR/source directory and add a line after the filepath command that copies the srcfile you created to the OBJDIR \cat >! Filepath << EOF $CSIMDIR/source EOF cp $CSIMDIR/source/Srcfile Scrfile 4.) Set DEBUG to true if it is a test run of false if it is a long run. 5.) Add an alias for the make command: alias gmake / path / to /make Set variables used in the makefile after the gmake command. gmake d VPFILE=Filepath MODEL=csim EXEC=$EXEROOT/csim NX=$NX NY=$NY \ f $CBLD/Makefile MACFILE=$CBLD/Macros.$OS SRCFILE=Srcfile DEBUG=$DEBUG

4 Create a macros file for the Sun operating system (Macros.SunOS) CSIM does not come with a macros file for a Sun operating system so one must be created from scratch. This may not the most efficient macros file but it works. Paths to directories are specific to the system at UD and should be changed to your directory paths. Note, the Makefile doesn t need to be changed. #********************************************************************** #Macros.SUN --> Mary D. Lemcke (5/2/2005) #********************************************************************** # Set up special characters null := space := $(null) $(null) comma := $(null),$(null) # Determine distribution root directory ifeq ($(ROOTDIR),$(null)) ROOTDIR := $(CSIMDIR) #NETCDF Definitions, $NETCDF_ROOT is /hsm/users/hanson/netcdf ifeq ($(MOD_NETCDF),$(null)) MOD_NETCDF := $(NETCDF_LIB) # Build the ESMF library (if there isn t an ESMF directory in your root # directory you can copy it over by adding a copy statement in the # setup file, which really doesn t seem to matter) ifeq ($(ESMF_ROOT),$(null)) ESMF_ROOT := ${ROOTDIR}/esmf ifeq ($(ESMF_BLD),$(null)) ESMF_BLD := $(shell (mkdir./esmf 2>/dev/null;cd./esmf;pwd)) ESMF_BOPT := O ifeq ($(DEBUG),TRUE) ESMF_BOPT := g ESMF_MOD := $(ESMF_BLD)/mod/mod$(ESMF_BOPT) ESMF_LIB := $(ESMF_BLD)/lib/lib$(ESMF_BOPT) # Check if SPMD is defined in "misc.h" # Ensure that it is defined and not just "undef SPMD" set in file #ifeq ($(SPMD),$(null)) # SPMDSET := $(shell grep SPMD misc.h) # ifneq (,$(findstring define,$(spmdset))) # SPMD := TRUE # else SPMD := FALSE # #

5 # Determine platform --> SunOS ifeq ($(UNAMES),$(null)) UNAMES := $(shell uname -s) #SunOS ifeq ($(UNAMES),SunOS) ESMF_ARCH = solaris ##NOTE: Include the paths in green as they are INCLDIR := -I. -I/usr/local/include -I/usr/include \ -I$(CSIMDIR)/source -I$(NETCDF_INC) SLIBS := -L $(NETCDF_LIB) -lnetcdf -L/usr/bin #ULIBS := -L $(ESMF_LIB)/$(ESMF_ARCH) FC := /opt/studio9/sunwspro/bin/f90 FC77 := /opt/studio9/sunwspro/bin/f77 CC := /opt/studio9/sunwspro/bin/cc CPP := /usr/ccs/lib/cpp CPPFLAGS := -P CPPDEFS := -DSUNOS -Duncoupled -DNPROC_X=$(NX) -DNPROC_Y=$(NY) CFLAGS := -c -DFORTRANUNDERSCORE FIXEDFLAGS := FREEFLAGS := # Don't use OpenMP on Solaris as it currently causes problems FFLAGS := -c -M$(CSIMDIR)/source -e -r8const - xtypemap=real:64,integer:32 MOD_SUFFIX := mod LD := $(FC) LDFLAGS := -L/opt/studio9/SUNWspro/lib -lf77compat -openmp -fast debug: $(OBJS) echo "FFLAGS: $(FFLAGS)" echo "LDFLAGS: $(LDFLAGS)" echo "OBJS: $(OBJS)" test_fc: test_fc.o $(FC) -o $@ test_fc.o $(LDFLAGS) test_nc: test_nc.o $(FC) -o $@ test_nc.o -L$(NETCDF_LIB) -lnetcdf $(LDFLAGS) ifeq ($(DEBUG),TRUE) FFLAGS += -g -dalign else # Check for override of default Fortran compiler optimizations ifeq ($(F_OPTIMIZATION_OVERRIDE),$(null)) # Inline code when not debugging -inline # Use symbol table (-g) as make execution stable and can # find out where problems are. # Turn off aggressive optimization options (fsimple=1, fns=no)

6 -O4 # so the climate will be similar to climate on the IBM FORTRAN_OPTIMIZATION := -inline=%auto -fast -g -fsimple=1 -fns=no FFLAGS += $(FORTRAN_OPTIMIZATION) ifeq ($(BINTYPE), MPI) CPPDEFS += -D_MPI else CPPDEFS += -DHIDE_MPI ifeq ($(SPMD),TRUE) FFLAGS += -I$(INC_MPI) LDFLAGS += -L$(LIB_MPI) -lmpich -lnsl -lsocket else FFLAGS += -DHIDE_MPI # Targets/rules that depend on architecture specific variables. # The ESMF library is not made to be built in parallel, so specify only # one job is to run. $(ESMF_LIB)/$(ESMF_ARCH)/libesmf.a: cd $(ESMF_ROOT); \ echo "Build the ESMF library."; \ echo "ESMF is NOT supported by the CCSM project, but by the ESMF core team in NCAR/SCD"; \ echo "See \ $(MAKE) -j 1 BOPT=$(ESMF_BOPT) ESMF_BUILD=$(ESMF_BLD) ESMF_DIR=$(ESMF_ROOT) ESMF_ARCH=$(ESMF_ARCH); time_manager.o : $(ESMF_LIB)/$(ESMF_ARCH)/libesmf.a Edit the Real Time Clock command The the subroutine timers(t1) located at the end of the file ice_timers.f uses the unix real time clock command rtc but this function isn t in the UD system. At UD there is an equivalent command called time that can be used instead of rtc. Add real (kind=dbl_kind) :: time after real (kind=dbl_kind) :: rtc Change t1=rtc( ) to t1=time( ) Mary Lemcke, Department of Geography, University of Delaware (6/17/2005)

CAM Tutorial. configure, build & run. Dani Coleman July

CAM Tutorial. configure, build & run. Dani Coleman July CAM Tutorial configure, build & run Dani Coleman bundy@ucar.edu July 27 2009 CAM is a subset of CCSM Atmosphere Data Ocean Land Data Sea Ice Documentation of CAM Scientific description: http://www.ccsm.ucar.edu/models/atm-cam/docs/description/

More information

Porting CESM Jim Edwards CESM Software Engineering Group

Porting CESM Jim Edwards CESM Software Engineering Group Porting CESM 1.2.2 Jim Edwards CESM Software Engineering Group Note: Porting CESM can be a difficult task which may require knowledge of the UNIX operating system, building code with gmake and cmake, scripting

More information

GSI Fundamentals (1): Setup and Compilation

GSI Fundamentals (1): Setup and Compilation GSI Fundamentals (1): Setup and Compilation Donald Stark Na-onal Center for Atmospheric Research (NCAR) The Developmental Testbed Center (DTC) Tuesday 11 August, 2015 Outline GSI fundamentals (1): Setup

More information

An Overview of ROMS Code. Kate Hedstrom, ARSC January 2011

An Overview of ROMS Code. Kate Hedstrom, ARSC January 2011 An Overview of ROMS Code Kate Hedstrom, ARSC January 2011 Outline Outline of the code cpp cppdefs.h Modules ocean.in Compiling ROMS ls Trunk Atmosphere/ Lib/ ROMS/ Compilers/ makefile User/ Data/ Master/

More information

User s Guide to the Community Atmosphere Model CAM-5.0

User s Guide to the Community Atmosphere Model CAM-5.0 User s Guide to the Community Atmosphere Model CAM-5.0 Brian Eaton NCAR User s Guide to the Community Atmosphere Model CAM-5.0 by Brian Eaton Table of Contents Acknowledgments... v 1. Introduction...1

More information

Installing Steps. WRF & WPS: Compilation Process. System Requirements. Check System Requirements

Installing Steps. WRF & WPS: Compilation Process. System Requirements. Check System Requirements WRF & WPS: Compilation Process Kelly Werner NCAR/MMM January 2018 Installing Steps 1 2 System Requirements On what kinds of systems will WRF run? Generally any 32- or 64-bit hardware, running a UNIX-like

More information

File: /home/ram/desktop/pio_bldlog Page 1 of 8

File: /home/ram/desktop/pio_bldlog Page 1 of 8 File: /home/ram/desktop/pio_bldlog Page 1 of 8 Tue Sep 17 17:11:37 IST 2013 /home/ankush/ankush/test5/bld/pio/pio.bldlog.130917-171038 Copying source to CCSM EXEROOT... New build of PIO Running configure...

More information

Installing WRF & WPS. Kelly Keene NCAR/MMM January 2015

Installing WRF & WPS. Kelly Keene NCAR/MMM January 2015 Installing WRF & WPS Kelly Keene NCAR/MMM January 2015 1 Installing Steps Check system requirements Installing Libraries Download source data Download datasets Compile WRFV3 Compile WPS 2 System Requirements

More information

GNU make... Martin Ohlerich, Parallel Programming of High Performance Systems

GNU make... Martin Ohlerich, Parallel Programming of High Performance Systems ... Martin Ohlerich, Martin.Ohlerich@lrz.de Parallel Programming of High Performance Systems Outline 1 2 3 Leibniz Rechenzentrum 2 / 42 Outline 1 2 3 Leibniz Rechenzentrum 3 / 42 Common Situation Larger

More information

Meteorology 5344, Fall 2017 Computational Fluid Dynamics Dr. M. Xue. Computer Problem #l: Optimization Exercises

Meteorology 5344, Fall 2017 Computational Fluid Dynamics Dr. M. Xue. Computer Problem #l: Optimization Exercises Meteorology 5344, Fall 2017 Computational Fluid Dynamics Dr. M. Xue Computer Problem #l: Optimization Exercises Due Thursday, September 19 Updated in evening of Sept 6 th. Exercise 1. This exercise is

More information

A simple OASIS interface for CESM E. Maisonnave TR/CMGC/11/63

A simple OASIS interface for CESM E. Maisonnave TR/CMGC/11/63 A simple OASIS interface for CESM E. Maisonnave TR/CMGC/11/63 Index Strategy... 4 Implementation... 6 Advantages... 6 Current limitations... 7 Annex 1: OASIS3 interface implementation on CESM... 9 Annex

More information

BMS: Build Management System

BMS: Build Management System BMS: Build Management System D. Lawrence Jefferson Lab May 3, 2005 Abstract The BMS Build Management System is a set of GNU Makefiles which simplify and standardize the building of source code distribruted

More information

Community Land Model Version 3.0 (CLM3.0) User s Guide

Community Land Model Version 3.0 (CLM3.0) User s Guide Community Climate System Model National Center for Atmospheric Research, Boulder, CO Community Land Model Version 3.0 (CLM3.0) User s Guide Mariana Vertenstein, Keith Oleson, Sam Levis and Forrest Hoffman

More information

User s Guide to the Community Atmosphere Model CAM-5.3

User s Guide to the Community Atmosphere Model CAM-5.3 User s Guide to the Community Atmosphere Model CAM-5.3 User s Guide to the Community Atmosphere Model CAM-5.3 Table of Contents Acknowledgments... v 1. Introduction...1 Changes from previous release...1

More information

Introduction to HPC Programming 4. C and FORTRAN compilers; make, configure, cmake. Valentin Pavlov

Introduction to HPC Programming 4. C and FORTRAN compilers; make, configure, cmake. Valentin Pavlov Introduction to HPC Programming 4. C and FORTRAN compilers; make, configure, cmake Valentin Pavlov About these lectures This is the fourth of series of six introductory lectures discussing

More information

RegCM-ROMS Tutorial: Coupling RegCM-ROMS

RegCM-ROMS Tutorial: Coupling RegCM-ROMS RegCM-ROMS Tutorial: Coupling RegCM-ROMS Ufuk Utku Turuncoglu ICTP (International Center for Theoretical Physics) Earth System Physics Section - Outline Outline Information about coupling and ESMF Installation

More information

GSI Fundamentals (1): Setup and Compilation

GSI Fundamentals (1): Setup and Compilation 2012 GSI Summer Tutorial, Boulder, CO GSI Fundamentals (1): Setup and Compilation Donald Stark Na-onal Center for Atmospheric Research (NCAR) The Developmental Testbed Center (DTC) Wednesday 21 August,

More information

CSc33200: Operating Systems, CS-CCNY, Fall 2003 Jinzhong Niu September 26, Nachos Overview

CSc33200: Operating Systems, CS-CCNY, Fall 2003 Jinzhong Niu September 26, Nachos Overview CSc33200: Operating Systems, CS-CCNY, Fall 2003 Jinzhong Niu September 26, 2003 Nachos Overview Operating Systems is one of the fundamental courses for a student who majors in computer software. A good

More information

nemo-nocl Documentation

nemo-nocl Documentation nemo-nocl Documentation Release 0 James Harle January 20, 2017 Contents 1 Working Environment 3 1.1 NEMO on ARCHER........................................... 3 1.2 NEMO on Mobius............................................

More information

CptS 360 (System Programming) Unit 3: Development Tools

CptS 360 (System Programming) Unit 3: Development Tools CptS 360 (System Programming) Unit 3: Development Tools Bob Lewis School of Engineering and Applied Sciences Washington State University Spring, 2018 Motivation Using UNIX-style development tools lets

More information

FFTSS Library Version 3.0 User s Guide

FFTSS Library Version 3.0 User s Guide Last Modified: 31/10/07 FFTSS Library Version 3.0 User s Guide Copyright (C) 2002-2007 The Scalable Software Infrastructure Project, is supported by the Development of Software Infrastructure for Large

More information

Instructions for setting up to compile and run OSGPS code under Linux

Instructions for setting up to compile and run OSGPS code under Linux Instructions for setting up to compile and run OSGPS code under Linux A. The latest and greatest OSGPS software is available on SorceForge. If you are not already monitoring this, you need to be. To set

More information

Short LAPACK User s Guide

Short LAPACK User s Guide Short LAPACK User s Guide 12.01.2002 Bernhard Seiwald Institut für Theoretische Physik Abteilung Plasmaphysik Technische Universität Graz Petersgasse 16, A-8010 Graz, Austria Tel.: +43(316)873-8194 e-mail:

More information

Lab #1 Installing a System Due Friday, September 6, 2002

Lab #1 Installing a System Due Friday, September 6, 2002 Lab #1 Installing a System Due Friday, September 6, 2002 Name: Lab Time: Grade: /10 The Steps of Installing a System Today you will install a software package. Implementing a software system is only part

More information

Research. We make it happen. Unix Basics. User Support Group help-line: personal:

Research. We make it happen. Unix Basics. User Support Group help-line: personal: Research. We make it happen. Unix Basics Presented by: Patton Fast User Support Group help-line: help@msi.umn.edu 612-626-0802 personal: pfast@msi.umn.edu 612-625-6573 Outline I. Warnings! II. III. IV.

More information

Documentation of the chemistry-transport model. [version 2017r4] July 25, How to install required libraries under GNU/Linux

Documentation of the chemistry-transport model. [version 2017r4] July 25, How to install required libraries under GNU/Linux Documentation of the chemistry-transport model [version 2017r4] July 25, 2018. How to install required libraries under GNU/Linux Contents 1 pnetcdf and NetCDF4 formats 2 1.1 Problems with NetCDF4 files..........................

More information

PatternFinder is a tool that finds non-overlapping or overlapping patterns in any input sequence.

PatternFinder is a tool that finds non-overlapping or overlapping patterns in any input sequence. PatternFinder is a tool that finds non-overlapping or overlapping patterns in any input sequence. Pattern Finder Input Parameters: USAGE: PatternDetective.exe [ -help /? -f [filename] -min -max [minimum

More information

SCCM User's Guide Version 1.2 January 1999 J. J. Hack, J. A. Pedretti and J. C.

SCCM User's Guide Version 1.2 January 1999 J. J. Hack, J. A. Pedretti and J. C. Version 1.2 January 1999 J. J. Hack, J. A. Pedretti and J. C. Petch Contents 1. Introduction 1.1 Basic Description of the NCAR CCM SCCM Framework 1.2 Potential for solution differences across CCM program

More information

CCSM Performance with the New Coupler, cpl6

CCSM Performance with the New Coupler, cpl6 CCSM Performance with the New Coupler, cpl6 Tony Craig Brian Kauffman Tom Bettge National Center for Atmospheric Research Jay Larson Rob Jacob Everest Ong Argonne National Laboratory Chris Ding Helen He

More information

Porting CESM2. Jim Edwards CESM software engineering group

Porting CESM2. Jim Edwards CESM software engineering group Porting CESM2 Jim Edwards CESM software engineering group The $HOME/.cime directory When you use CESM2 it will look for a directory $HOME/.cime You may put several files in that directory for CESM to use.

More information

Running CCSM at CCS. Created: Patrick Kelly 8/26/11 Modifications: Sarah Larson & Hosmay Lopez 4/30/13

Running CCSM at CCS. Created: Patrick Kelly 8/26/11 Modifications: Sarah Larson & Hosmay Lopez 4/30/13 Running CCSM at CCS Created: Patrick Kelly 8/26/11 Modifications: Sarah Larson & Hosmay Lopez 4/30/13 Running CCSM / CAM First Time Only Set up CCS account Install model code and input data from NCAR Port

More information

Procedures to install CWP's Seismic Unix. Ricardo Barros Lourenço

Procedures to install CWP's Seismic Unix. Ricardo Barros Lourenço Procedures to install CWP's Seismic Unix Ricardo Barros Lourenço October, 26 th, 2007 Introduction The aim of this guide is providing knowledge to people that intends to install Seismic Unix 4.0 into Linux

More information

Computer Systems and Architecture

Computer Systems and Architecture Computer Systems and Architecture Stephen Pauwels Computer Systems Academic Year 2018-2019 Overview of the Semester UNIX Introductie Regular Expressions Scripting Data Representation Integers, Fixed point,

More information

Installing CEA on an Intel Mac

Installing CEA on an Intel Mac Installing CEA on an Intel Mac Jonah Zimmerman April 20, 2012 1 Introduction Chemical Equilibrium with Applications (CEA) is a computer program published by NASA Glenn with the purpose of calculating chemical

More information

Introduction to Linux Organizing Files

Introduction to Linux Organizing Files Introduction to Linux Organizing Files Computational Science and Engineering North Carolina A&T State University Instructor: Dr. K. M. Flurchick Email: kmflurch@ncat.edu Arranging, Organizing, Packing

More information

Obtaining & Installing tcsh

Obtaining & Installing tcsh A Obtaining & Installing tcsh This appendix describes how to obtain, build, test, and install tcsh. As I write, tcsh is at version 6.06. If a more recent version has been released, just substitute the

More information

Make was originally a Unix tool from 1976, but it has been re-implemented several times, notably as GNU Make.

Make was originally a Unix tool from 1976, but it has been re-implemented several times, notably as GNU Make. make Make was originally a Unix tool from 1976, but it has been re-implemented several times, notably as GNU Make. Make accepts a Makefile, which is a strictly formatted file detailing a series of desired

More information

Installing WRF- Sfire

Installing WRF- Sfire Installing WRF- Sfire Workshop on Modeling of Wildfires and their Environmental Impacts, Trieste, IT June 2015 Adam Kochanski Installing Steps Check system requirements Download required libraries Install

More information

82V391x / 8V893xx WAN PLL Device Families Device Driver User s Guide

82V391x / 8V893xx WAN PLL Device Families Device Driver User s Guide 82V391x / 8V893xx WAN PLL Device Families Device Driver Version 1.2 April 29, 2014 Table of Contents 1. Introduction... 1 2. Software Architecture... 2 2.1. Overview... 2 2.2. Hardware Abstraction Layer

More information

HPC User Environment

HPC User Environment HPC User Environment Dirk Schmidl schmidl@rz.rwth-aachen.de Center for Computing and Communication RWTH Aachen University 22.03.2010 1 Program development tools on Linux IDEs eclipse sunstudio kdevelop

More information

MathCode Fortran90 installation instructions for MacOSX machines and license administration. Version 1.2.4, April 6, 2011.

MathCode Fortran90 installation instructions for MacOSX machines and license administration. Version 1.2.4, April 6, 2011. MathCode Fortran90 installation instructions for MacOSX machines and license administration Version 1.2.4, April 6, 2011. 1 Chapter 1 Installation step by step Please follow these steps for successful

More information

AGRIF Adaptive Grid Refinement In Fortran. User s Guide. Version 1.3

AGRIF Adaptive Grid Refinement In Fortran. User s Guide. Version 1.3 AGRIF Adaptive Grid Refinement In Fortran User s Guide Version 1.3 27 novembre 2006 AGRIF is a package for the integration of adaptive mesh refinement (AMR) features within a multidimensional model written

More information

Introduction to Supercomputing

Introduction to Supercomputing Introduction to Supercomputing TMA4280 Introduction to UNIX environment and tools 0.1 Getting started with the environment and the bash shell interpreter Desktop computers are usually operated from a graphical

More information

CMPT 300. Operating Systems. Brief Intro to UNIX and C

CMPT 300. Operating Systems. Brief Intro to UNIX and C CMPT 300 Operating Systems Brief Intro to UNIX and C Outline Welcome Review Questions UNIX basics and Vi editor Using SSH to remote access Lab2(4214) Compiling a C Program Makefile Basic C/C++ programming

More information

WaveScalar Simulator Tutorial Version 1.0 Revised Jan 26, 2006 Please send comments and questions to

WaveScalar Simulator Tutorial Version 1.0 Revised Jan 26, 2006 Please send comments and questions to WaveScalar Simulator Tutorial Version 1.0 Revised Jan 26, 2006 Please send comments and questions to aputnam@cs.washington.edu Install ===== 1. Download ws_workloads.tar.gz and copy it into your home directory

More information

1.1 The hand written header file

1.1 The hand written header file Page 1 of 8 Incorporating hand code data with generated code from 1 Overview models This paper illustrates how to integrate hand-code with the code generated from models. In particular, it will illustrate

More information

User's Guide for the NMM Core of the Weather Research and Forecast (WRF) Modeling System Version 3. Chapter 2: Software Installation

User's Guide for the NMM Core of the Weather Research and Forecast (WRF) Modeling System Version 3. Chapter 2: Software Installation User's Guide for the NMM Core of the Weather Research and Forecast (WRF) Modeling System Version 3 Chapter 2: Software Installation Table of Contents Introduction Required Compilers and Scripting Languauges

More information

Computer Systems and Architecture

Computer Systems and Architecture Computer Systems and Architecture Introduction to UNIX Stephen Pauwels University of Antwerp October 2, 2015 Outline What is Unix? Getting started Streams Exercises UNIX Operating system Servers, desktops,

More information

UoW HPC Quick Start. Information Technology Services University of Wollongong. ( Last updated on October 10, 2011)

UoW HPC Quick Start. Information Technology Services University of Wollongong. ( Last updated on October 10, 2011) UoW HPC Quick Start Information Technology Services University of Wollongong ( Last updated on October 10, 2011) 1 Contents 1 Logging into the HPC Cluster 3 1.1 From within the UoW campus.......................

More information

GSI Fundamentals (1): Setup and Compilation

GSI Fundamentals (1): Setup and Compilation GSI Fundamentals (1): Setup and Compilation Mark Po(s Environmental Modeling Center (EMC) NOAA Center for Environmental Predic

More information

CS 3410 Intro to Unix, shell commands, etc... (slides from Hussam Abu-Libdeh and David Slater)

CS 3410 Intro to Unix, shell commands, etc... (slides from Hussam Abu-Libdeh and David Slater) CS 3410 Intro to Unix, shell commands, etc... (slides from Hussam Abu-Libdeh and David Slater) 28 January 2013 Jason Yosinski Original slides available under Creative Commons Attribution-ShareAlike 3.0

More information

User's Guide to the Community Atmosphere Model CAM-5.3

User's Guide to the Community Atmosphere Model CAM-5.3 User's Guide to the Community Atmosphere Model CAM-5.3 User's Guide to the Community Atmosphere Model CAM-5.3 Publication date This document was last updated on 2015-05-08 15:21:14. Table of Contents Acknowledgments...

More information

Orbital Integrator System Manual

Orbital Integrator System Manual Orbital Integrator System Manual Benjamin Sprague This manual is intended to describe the functionality of the orbital integrator system. Copyright c 2006 Benjamin Sprague Permission is granted to copy,

More information

Introduction to Cheyenne. 12 January, 2017 Consulting Services Group Brian Vanderwende

Introduction to Cheyenne. 12 January, 2017 Consulting Services Group Brian Vanderwende Introduction to Cheyenne 12 January, 2017 Consulting Services Group Brian Vanderwende Topics we will cover Technical specs of the Cheyenne supercomputer and expanded GLADE file systems The Cheyenne computing

More information

CCSM3.0 User s Guide

CCSM3.0 User s Guide Community Climate System Model National Center for Atmospheric Research, Boulder, CO CCSM3.0 User s Guide Mariana Vertenstein, Tony Craig, Tom Henderson, Sylvia Murphy, George R Carr Jr and Nancy Norton

More information

Introduction to Linux

Introduction to Linux Introduction to Linux Prof. Jin-Soo Kim( jinsookim@skku.edu) TA Sanghoon Han(sanghoon.han@csl.skku.edu) Computer Systems Laboratory Sungkyunkwan University http://csl.skku.edu Announcement (1) Please come

More information

Unix/Linux Operating System. Introduction to Computational Statistics STAT 598G, Fall 2011

Unix/Linux Operating System. Introduction to Computational Statistics STAT 598G, Fall 2011 Unix/Linux Operating System Introduction to Computational Statistics STAT 598G, Fall 2011 Sergey Kirshner Department of Statistics, Purdue University September 7, 2011 Sergey Kirshner (Purdue University)

More information

Getting Started with GCHP v11-02c

Getting Started with GCHP v11-02c Getting Started with GCHP v11-02c Lizzie Lundgren GEOS-Chem Support Team geos-chem-support@as.harvard.edu September 2017 Overview 1) What is GCHP and why use it? 2) Common Misconceptions 3) Useful Tips

More information

Installing CEA on an Intel Mac

Installing CEA on an Intel Mac Installing CEA on an Intel Mac Jonah Zimmerman April 20, 2012 1 Introduction Chemical Equilibrium with Applications (CEA) is a computer program published by NASA Glenn with the purpose of calculating chemical

More information

Getting up and running with CESM Cécile Hannay Climate and Global Dynamics (CGD), NCAR

Getting up and running with CESM Cécile Hannay Climate and Global Dynamics (CGD), NCAR Getting up and running with CESM Cécile Hannay Climate and Global Dynamics (CGD), NCAR NCAR is sponsored by the National Science Foundation Why CESM? State of the Art Climate Model Widely used by the Climate

More information

Makefiles SE 2XA3. Term I, 2018/19

Makefiles SE 2XA3. Term I, 2018/19 Makefiles SE 2XA3 Term I, 2018/19 Outline Example Calling make Syntax How it works Macros Suffix rules Command line options Example Assume we have files main.c, test.c, and lo.asm Consider the makefile

More information

Session: Shell Programming Topic: Additional Commands

Session: Shell Programming Topic: Additional Commands Lecture Session: Shell Programming Topic: Additional Commands Daniel Chang diff [-b][-i][-w] filename1 filename2 diff [-b][-i][-w] filename1 directory1 diff [-b][-i][-w][-r] directory1 directory2 Description:

More information

GSI Setup, Run and Namelist

GSI Setup, Run and Namelist GSI Setup, Run and Namelist Hui Shao GSI Community Tutorial, June 28-30, 2010, Boulder, CO Observation Error Observation Observation processing and assimilation PrepBUFR and BUFR processing: 06/29, Tue

More information

Transaction Processing Facility. maketpf. Brian K. Laferriere. TPF Users Group Nashville Oct Education Session IBM Corporation

Transaction Processing Facility. maketpf. Brian K. Laferriere. TPF Users Group Nashville Oct Education Session IBM Corporation maketpf Brian K. Laferriere Topics: Introduction Solution Overview File Syntax and Content Tools Build Procedures What is maketpf? maketpf is a GNU make-based build solution for assembling, compiling,

More information

Introduction to NCAR HPC. 25 May 2017 Consulting Services Group Brian Vanderwende

Introduction to NCAR HPC. 25 May 2017 Consulting Services Group Brian Vanderwende Introduction to NCAR HPC 25 May 2017 Consulting Services Group Brian Vanderwende Topics we will cover Technical overview of our HPC systems The NCAR computing environment Accessing software on Cheyenne

More information

Introduction to System Programming : makefile

Introduction to System Programming : makefile Introduction to System Programming : makefile Reference Documentation: http://www.gnu.org/software/make/manual/make.html Tutorials: http://www.cs.umd.edu/class/spring2002/cmsc214/tutorial/makefile.html

More information

MUST. MPI Runtime Error Detection Tool

MUST. MPI Runtime Error Detection Tool MUST MPI Runtime Error Detection Tool April 18, 2012 1 CONTENTS CONTENTS Contents 1 Introduction 3 2 Installation 3 2.1 P n MPI................................. 4 2.2 GTI..................................

More information

Compilation and installation

Compilation and installation Chapter 3 Compilation and installation The objectives of this chapter are to explain program installation and compilation, how to run one of the built-in test cases and to summarise the different steps

More information

Experiences with Porting CESM to ARCHER

Experiences with Porting CESM to ARCHER Experiences with Porting CESM to ARCHER ARCHER Technical Forum Webinar, 25th February, 2015 Gavin J. Pringle 25 February 2015 ARCHER Technical Forum Webinar Overview of talk Overview of the associated

More information

Aquaplanets with slab ocean in CESM1

Aquaplanets with slab ocean in CESM1 NCAR Aquaplanets with slab ocean in CESM1 Brian Medeiros November 13, 2013 1 DESCRIPTION This document outlines the steps necessary to run CESM1 configured as an aquaplanet with a slab ocean model. I outline

More information

OpenMP Exercises. These exercises will introduce you to using OpenMP for parallel programming. There are four exercises:

OpenMP Exercises. These exercises will introduce you to using OpenMP for parallel programming. There are four exercises: OpenMP Exercises These exercises will introduce you to using OpenMP for parallel programming. There are four exercises: 1. OMP Hello World 2. Worksharing Loop 3. OMP Functions 4. Hand-coding vs. MKL To

More information

CSE 15L Winter Midterm :) Review

CSE 15L Winter Midterm :) Review CSE 15L Winter 2015 Midterm :) Review Makefiles Makefiles - The Overview Questions you should be able to answer What is the point of a Makefile Why don t we just compile it again? Why don t we just use

More information

CESM1 for Deep Time Paleoclimate

CESM1 for Deep Time Paleoclimate CESM1 for Deep Time Paleoclimate Christine A. Shields NCAR Thanks to Mariana Vertenstein, Nancy Norton, Gokhan Danabasoglu, Brian Kauffman, Erik Kluzek, Sam Levis, and Nan Rosenbloom NCAR is sponsored

More information

RegCM-ROMS Tutorial: Introduction to ROMS Ocean Model

RegCM-ROMS Tutorial: Introduction to ROMS Ocean Model RegCM-ROMS Tutorial: Introduction to ROMS Ocean Model Ufuk Utku Turuncoglu ICTP (International Center for Theoretical Physics) Earth System Physics Section - Outline Outline Introduction Grid generation

More information

Slide 1 CS 170 Java Programming 1 Duration: 00:00:49 Advance mode: Auto

Slide 1 CS 170 Java Programming 1 Duration: 00:00:49 Advance mode: Auto CS 170 Java Programming 1 Eclipse@Home Downloading, Installing and Customizing Eclipse at Home Slide 1 CS 170 Java Programming 1 Eclipse@Home Duration: 00:00:49 What is Eclipse? A full-featured professional

More information

Practical Unix exercise MBV INFX410

Practical Unix exercise MBV INFX410 Practical Unix exercise MBV INFX410 We will in this exercise work with a practical task that, it turns out, can easily be solved by using basic Unix. Let us pretend that an engineer in your group has spent

More information

Do not use space (" ") in the filename or the name of a directory. (Linux can handle it but the fix is somewhat tedious.)

Do not use space ( ) in the filename or the name of a directory. (Linux can handle it but the fix is somewhat tedious.) 1. General notes on linux If you are not familiar with linux, talk to the instructor before you do anything! Unlike Windows or MacOS, under linux one line of command can kill everything. Be aware that

More information

Application and System Memory Use, Configuration, and Problems on Bassi. Richard Gerber

Application and System Memory Use, Configuration, and Problems on Bassi. Richard Gerber Application and System Memory Use, Configuration, and Problems on Bassi Richard Gerber Lawrence Berkeley National Laboratory NERSC User Services ScicomP 13, Garching, Germany, July 17, 2007 NERSC is supported

More information

Fishnet Assignment 1: Distance Vector Routing Due: May 13, 2002.

Fishnet Assignment 1: Distance Vector Routing Due: May 13, 2002. Fishnet Assignment 1: Distance Vector Routing Due: May 13, 2002. In this assignment, you will work in teams of one to four (try to form you own group; if you can t find one, you can either work alone,

More information

UNIX Basics. UNIX Basics CIS 218 Oakton Community College

UNIX Basics. UNIX Basics CIS 218 Oakton Community College UNIX Basics UNIX Basics CIS 218 Oakton Community College History UNIX was invented in 1969 at AT&T Bell Labs Ken Thompson and Dennis Ritchie are credited as the original architects and developers of C.

More information

NCAR Computation and Information Systems Laboratory (CISL) Facilities and Support Overview

NCAR Computation and Information Systems Laboratory (CISL) Facilities and Support Overview NCAR Computation and Information Systems Laboratory (CISL) Facilities and Support Overview NCAR ASP 2008 Summer Colloquium on Numerical Techniques for Global Atmospheric Models June 2, 2008 Mike Page -

More information

Introduction p. 1 Who Should Read This Book? p. 1 What You Need to Know Before Reading This Book p. 2 How This Book Is Organized p.

Introduction p. 1 Who Should Read This Book? p. 1 What You Need to Know Before Reading This Book p. 2 How This Book Is Organized p. Introduction p. 1 Who Should Read This Book? p. 1 What You Need to Know Before Reading This Book p. 2 How This Book Is Organized p. 2 Conventions Used in This Book p. 2 Introduction to UNIX p. 5 An Overview

More information

Installing the Product Software

Installing the Product Software CHAPTER 1 The Cisco Configuration Engine is a network management software that acts as a configuration service for automating the deployment, management, and upgrading of network devices and services.

More information

Step 3: Access the HPC machine you will be using to run WRF: ocelote. Step 4: transfer downloaded WRF tar files to your home directory

Step 3: Access the HPC machine you will be using to run WRF: ocelote. Step 4: transfer downloaded WRF tar files to your home directory Step 1: download WRF packages Get WRF tar file from WRF users page, Version 3.8.1. Also get WPS Version 3.8.1 (preprocessor) Store on your local machine Step 2: Login to UA HPC system ssh (UAnetid)@hpc.arizona.edu

More information

Supercomputing in Plain English Exercise #6: MPI Point to Point

Supercomputing in Plain English Exercise #6: MPI Point to Point Supercomputing in Plain English Exercise #6: MPI Point to Point In this exercise, we ll use the same conventions and commands as in Exercises #1, #2, #3, #4 and #5. You should refer back to the Exercise

More information

Altia API Reference Manual

Altia API Reference Manual Altia API Reference Manual August 1999 Altia, Inc. 1992-1999 5030 Corporate Plaza Drive #200 Colorado Springs, CO 80919 This document contains information which is protected by copyright. All rights are

More information

Deploying IBM Rational License Key Server effectively in your organization

Deploying IBM Rational License Key Server effectively in your organization Deploying IBM Rational License Key Server 8.1.1 effectively in your organization Indraneel Paul September 28, 2011 Page 1 of 28 INTRODUCTION...4 IBM RATIONAL LICENSE KEY SERVER 8.1.1...5 TECHNICAL CHANGE

More information

CS197U: A Hands on Introduction to Unix

CS197U: A Hands on Introduction to Unix CS197U: A Hands on Introduction to Unix Lecture 3: UNIX Operating System Organization Tian Guo CICS, Umass Amherst 1 Reminders Assignment 2 is due THURSDAY 09/24 at 3:45 pm Directions are on the website

More information

LAB. Preparing for Stampede: Programming Heterogeneous Many-Core Supercomputers

LAB. Preparing for Stampede: Programming Heterogeneous Many-Core Supercomputers LAB Preparing for Stampede: Programming Heterogeneous Many-Core Supercomputers Dan Stanzione, Lars Koesterke, Bill Barth, Kent Milfeld dan/lars/bbarth/milfeld@tacc.utexas.edu XSEDE 12 July 16, 2012 1 Discovery

More information

Please choose the best answer. More than one answer might be true, but choose the one that is best.

Please choose the best answer. More than one answer might be true, but choose the one that is best. Introduction to Linux and Unix - endterm Please choose the best answer. More than one answer might be true, but choose the one that is best. SYSTEM STARTUP 1. A hard disk master boot record is located:

More information

FORCHECK HP-UX. for. A Fortran Verifier and Programming Aid. Installation Guide. version 14

FORCHECK HP-UX. for. A Fortran Verifier and Programming Aid. Installation Guide. version 14 FORCHECK for HP-UX A Fortran Verifier and Programming Aid version 14 Installation Guide January 22, 2011 2 The information in this document is subject to change without previous notice and should not be

More information

COMP 4/6262: Programming UNIX

COMP 4/6262: Programming UNIX COMP 4/6262: Programming UNIX Lecture 12 shells, shell programming: passing arguments, if, debug March 13, 2006 Outline shells shell programming passing arguments (KW Ch.7) exit status if (KW Ch.8) test

More information

GNU make. Michal Koutný. Software development and monitoring tools (NSWI126)

GNU make. Michal Koutný. Software development and monitoring tools (NSWI126) GNU make Michal Koutný Software development and monitoring tools (NSWI126) Make basics Dependency tree (target and prerequisites) Check prerequisites, build target with recipe Configured via Makefile (a

More information

Makefiles. Dr. Hyrum Carroll. September 22, 2016

Makefiles. Dr. Hyrum Carroll. September 22, 2016 Makefiles Dr. Hyrum Carroll September 22, 2016 Exercise Write down the major steps to make a (Thanksgiving) dinner with two to three items Makefiles make I A Unix system utility to aid in compiling complex

More information

Basic Shell Commands

Basic Shell Commands Basic Shell Commands Jeremy Sanders October 2011 1. acroread - Read or print a PDF file. 2. cat - Send a file to the screen in one go. Useful for piping to other programs cat file1 # list file1 to screen

More information

The build2 Toolchain Installation and Upgrade

The build2 Toolchain Installation and Upgrade The build2 Toolchain Installation and Upgrade Copyright 2014-2019 Code Synthesis Ltd Permission is granted to copy, distribute and/or modify this document under the terms of the MIT License This revision

More information

Geant4 Installation Guide

Geant4 Installation Guide Geant4 Installation Guide For setting up Geant4 in your computing environment Version: geant4 9.0 Published 29 June, 2007 Geant4 Collaboration Geant4 Installation Guide : For setting up Geant4 in your

More information

Communications Library Manual

Communications Library Manual Delta Tau Power PMAC Communications Library Manual Issue: Date: 1.0 10 th September 2014 NAME DATE SIGNATURE Prepared by Philip Taylor, Observatory Sciences Ltd. 21 March 2013 Andrew Wilson, Observatory

More information

Exploring UNIX: Session 3

Exploring UNIX: Session 3 Exploring UNIX: Session 3 UNIX file system permissions UNIX is a multi user operating system. This means several users can be logged in simultaneously. For obvious reasons UNIX makes sure users cannot

More information

CSC UNIX System, Spring 2015

CSC UNIX System, Spring 2015 ` CSC 352 - UNIX System, Spring 2015 Assignment 2, due by 11:59 on Friday March 6 via gmake turnitin. Dr. Dale E. Parson, http://faculty.kutztown.edu/parson The directory, source-file and makefile contents

More information