An Advanced Simulation & Computing (ASC) Academic Strategic Alliances Program (ASAP) Center at The University of Chicago The Center for Astrophysical Thermonuclear.

Slides:



Advertisements
Similar presentations
Module R2 CS450. Next Week R1 is due next Friday ▫Bring manuals in a binder - make sure to have a cover page with group number, module, and date. You.
Advertisements

Utilizing the GDB debugger to analyze programs Background and application.
1 OBJECTIVES To generate a web-based system enables to assemble model configurations. to submit these configurations on different.
An Advanced Simulation & Computing (ASC) Academic Strategic Alliances Program (ASAP) Center at The University of Chicago The Center for Astrophysical Thermonuclear.
Programming Types of Testing.
MotoHawk Training Model-Based Design of Embedded Systems.
An Advanced Simulation and Computing (ASC) Academic Strategic Alliances Program (ASAP) Center at The University of Chicago The Center for Astrophysical.
An Advanced Simulation & Computing (ASC) Academic Strategic Alliances Program (ASAP) Center at The University of Chicago The Center for Astrophysical Thermonuclear.
An Advanced Simulation & Computing (ASC) Academic Strategic Alliances Program (ASAP) Center at The University of Chicago The Center for Astrophysical Thermonuclear.
An Advanced Simulation & Computing (ASC) Academic Strategic Alliances Program (ASAP) Center at The University of Chicago The Center for Astrophysical Thermonuclear.
Initialize\ Update CZM input parameters u s – u e < tolerance? Extract simulated displacement field, u s ABAQUS solve in batch mode Replicate experiment.
An Advanced Simulation & Computing (ASC) Academic Strategic Alliances Program (ASAP) Center at The University of Chicago The Center for Astrophysical Thermonuclear.
An Advanced Simulation & Computing (ASC) Academic Strategic Alliances Program (ASAP) Center at The University of Chicago The Center for Astrophysical Thermonuclear.
Using Visual C++ and Pelles C
Software Development and Software Loading in Embedded Systems.
COP4020 Programming Languages
Introduction to CCSv5. Outline  Intro to CCSv5 Intro to CCSv5  Functional Overview Functional Overview  Perspectives Perspectives  Projects Projects.
Introduction to The Linaro Toolchain Embedded Processors Training Multicore Software Applications Literature Number: SPRPXXX 1.
1 Introduction to Tool chains. 2 Tool chain for the Sitara Family (but it is true for other ARM based devices as well) A tool chain is a collection of.
Installing and Configuring Tomcat A quick guide to getting things set up on Windows.
SCRAM Software Configuration, Release And Management Background SCRAM has been developed to enable large, geographically dispersed and autonomous groups.
MARC 10.5 Update John Harvey. MARC 10.5 Changes  Backup Scripts restructured  Added a script to generate scripts outside of MARC  Generate Scripts.
COMPUTER PROGRAMMING Source: Computing Concepts (the I-series) by Haag, Cummings, and Rhea, McGraw-Hill/Irwin, 2002.
Java Virtual Machine Java Virtual Machine A Java Virtual Machine (JVM) is a set of computer software programs and data structures that use.
CCS APPS CODE COVERAGE. CCS APPS Code Coverage Definition: –The amount of code within a program that is exercised Uses: –Important for discovering code.
chap13 Chapter 13 Programming in the Large.
 The BPEL Module project is a group of source files which includes BPEL files, WSDL files, and XML schema files. Within a BPEL Module project, you can.
Kernel Modules Giving your Linux more pop since 1995.
August 7, 2003Serguei A. Mokhov, 1 gcc Tutorial COMP 444/5201 Revision 1.1 Date: January 25, 2004.
(1) A Beginner’s Quick Start to SIMICS. (2) Disclaimer This is a quick start document to help users get set up quickly Does not replace the user guide.
Creating your first C++ program
QualNet Tutorial Yi Zheng.
Guided Notes Ch. 9 ADT and Modules Ch. 10 Object-Oriented Programming PHP support for OOP and Assignment 4 Term project proposal C++ and Java Designer.
Unit-1 Introduction Prepared by: Prof. Harish I Rathod
The LC-3 – Chapter 7 COMP 2620 Dr. James Money COMP
MEGN 537 – Probabilistic Biomechanics Applying the AMV Method with a Finite Element Model Anthony J Petrella, PhD.
Advanced Simulation and Computing (ASC) Academic Strategic Alliances Program (ASAP) Center at The University of Chicago The Center for Astrophysical Thermonuclear.
Ant & Jar Ant – Java-based build tool Jar – pkzip archive, that contains metadata (a manifest file) that the JRE understands.
XTOS AppsTraining Environment B. Cotter. Web Pages San Jose Technical Web Page – Sapphire Notebook –
1 Getting Started with C++. 2 Objective You will be able to create, compile, and run a very simple C++ program on Windows, using Visual Studio 2008.
Dissecting the Windows CE Build Process James Y. Wilson Principal Engineer, Windows Embedded MVP CalAmp, Inc. James Y. Wilson Principal Engineer, Windows.
Using Visual Studio C++ Express Ron Gross A current copy of this can be found at or this direct linkhttp://tinyurl.com/2ucarothis.
CPS120: Introduction to Computer Science Compiling a C++ Program From The Command Line.
1 Introduction Purpose  This course gives an overview of assembler settings of the High-performance Embedded Workshop (HEW), used for developing software.
How Are Computers Programmed? CPS120: Introduction to Computer Science Lecture 5.
1 Lecture 4 Post-Graduate Students Advanced Programming (Introduction to MATLAB) Code: ENG 505 Dr. Basheer M. Nasef Computers & Systems Dept.
National Energy Research Scientific Computing Center (NERSC) CHOS - CHROOT OS Shane Canon NERSC Center Division, LBNL SC 2004 November 2004.
Multiple File Compilation and linking By Bhumik Sapara.
Slide 1 Running NEMO at ECMWF Slide 1 NEMO under Perforce at ECMWF Kristian S. Mogensen Last revised:
The Development Process Compilation. Compilation - Dr. Craig A. Struble 2 Programming Process Problem Solving Phase We will spend significant time on.
Duke CPS Problem: commands with state and undo support l How do applications with “undo” options (e.g., formatting in word processors) support.
GDT Tips and Tricks. GDT Tips and Tricks Doug Evans GDT 2004 International User Conference – Evolving the Legacy July  Tucson, Arizona GDT Tips.
Object Oriented Programming COP3330 / CGS5409.  Compiling with g++  Using Makefiles  Debugging.
IBM Express Runtime Quick Start Workshop © 2007 IBM Corporation Deploying a Solution.
Evolution of C and C++ n C was developed by Dennis Ritchie at Bell Labs (early 1970s) as a systems programming language n C later evolved into a general-purpose.
INTRODUCTION TO COMPUTER PROGRAMMING(IT-303) Basics.
Debugging Lab Antonio Gómez-Iglesias Texas Advanced Computing Center.
IV&VS Capabilities. 2 L OADRUNNER C ONTROLLER – S CENARIO DESIGN.
Software sales at U Waterloo Successfully moved software sales online Handle purchases from university accounts Integrated with our Active Directory and.
An Introduction to Ant. What is Ant? How do you use it? Why would you want to?
Starting Analysis with Athena (Esteban Fullana Torregrosa) Rik Yoshida High Energy Physics Division Argonne National Laboratory.
Problem Solving With C++ SVN ( Version Control ) April 2016.
Regression Testing for CHIMERA Jessica Travierso Austin Peay State University Research Alliance in Math and Science National Center for Computational Sciences,
Advanced Computer Systems
CS 584 Lecture 15 Assignment? (Due Friday) Friday paper presentations
Building Web Applications
Comments, Prototypes, Headers & Multiple Source Files
Embedded System Development Lecture 13 4/11/2007
CSE 303 Concepts and Tools for Software Development
SPL – PS1 Introduction to C++.
Presentation transcript:

An Advanced Simulation & Computing (ASC) Academic Strategic Alliances Program (ASAP) Center at The University of Chicago The Center for Astrophysical Thermonuclear Flashes Setting Up Your Problem A Beginner’s Guide

The ASC/Alliances Center for Astrophysical Thermonuclear Flashes The University of Chicago What’s Setup?  Very basically, the Flash code is made up of general independent pieces, called modules, which can be put together and reused to solve different problems  By running the setup script you specify the problem you want to solve, locate the needed modules and link all the source code to the object directory --- Then you can compile the code.

The ASC/Alliances Center for Astrophysical Thermonuclear Flashes The University of Chicago First Setup Example  From the main flash directory, /FLASH2/ type./setup sedov -2d -auto command problem name dimensionSetup script determines which modules to include based on the problem name (rather than manually) To run setup you shouldn’t need to modify the setup script (FLASH2/bin/setup.py)

The ASC/Alliances Center for Astrophysical Thermonuclear Flashes The University of Chicago Setup options -auto: setup script will automatically generate the Modules file based on the problem you specify INCLUDE database/amr/paramesh2.0 INCLUDE driver/time_dep INCLUDE gravity/null INCLUDE hydro/explicit/split/ppm INCLUDE io/amr/hdf5_serial INCLUDE materials/eos/gamma INCLUDE mesh/amr/paramesh2.0/second_order_old INCLUDE util/mappers INCLUDE util/tools INCLUDE util/wrapping If you don’t use the -auto flag, you must have a valid Modules file in the top FLASH directory (FLASH2/Modules) Try manually changing io/amr/hdf5_serial to io/amr/hdf5_parallel - Then run setup without the -auto flag Sample Modules File

The ASC/Alliances Center for Astrophysical Thermonuclear Flashes The University of Chicago Setup Options -with-module= : force a specific module to be used in setup  Another way to use a specific module in setup is with the -with-module option./setup sedov -2d -auto -with-module=io/amr/hdf5_parallel

The ASC/Alliances Center for Astrophysical Thermonuclear Flashes The University of Chicago More Setup Options -autoAutomatically generates the Modules file -with-module= Forces a specific module to be used -[123]dSpecifies the dimension, default is 2d -nxb= -nyb= -nzb= Specifies number of zones/block, default is 8 -maxblocks= Assigns maxblocks per processor. Defaults are in place but you may want to modify depending on problem and machine specs -site= | -ostype= Allows you to directly specify the host or ostype. Typically setup finds this info but on some machines it isn’t directly accessible. -site=sphere.asci.uchicago.edu or -ostype=Linux -debug | -test-debug: makes compiler put debugging symbols in executable, possibly checks for array out of bounds conditions, etc -test: compiles code with no debugging or optimization options -opt: compiles code for highest performance (default) -portableNormally setup links files from the source directory to the object directory. With -portable files are copied to object dir instead -objdir= By default setup script links all files needed in compilation to the object directory. The -objdir flag allows you to specify a different or new directory -preprocessRuns the preprocessor cpp on all source files -verboseMore wordy explanations during setup

The ASC/Alliances Center for Astrophysical Thermonuclear Flashes The University of Chicago Adding a New Setup  To see all of the current setups go to FLASH2/setups/  All of the setups have at least these 3 things in common Config file flash.par file init_block.F90 file  Certain problems may require other data files or inputs  Look at sedov setup as an example

The ASC/Alliances Center for Astrophysical Thermonuclear Flashes The University of Chicago Adding a New Setup  Config Contains needed modules Required runtime parameters (default)  flash.par Runtime parameters (these override Config parameters)  init_block.F90 Initializes solution on the mesh Sets up the initial values of your problem