1 What’s Under the Hood? Michael McLennan HUBzero® Platform for Scientific Collaboration Purdue University This work licensed under Creative Commons See.

Slides:



Advertisements
Similar presentations
Water Rights Accounting. New Accounting Model New Technology: 1979 versus 2011 – Faster processors – Faster graphics – Larger, faster, memory – Larger,
Advertisements

Adding Rappture to MATLAB Applications
Submit For Job Submission Derrick Kearney HUBzero® Platform for Scientific Collaboration Purdue University This work licensed under Creative Commons See.
Using workspaces on nanoHUB.org Michael McLennan Software Architect Network for Computational Nanotechnology.
Carol Song Sr. Research Scientist Rosen Center for Advanced Computing Thanks to M. McLennan for the Rappture slides!
RCAC Research Computing Presents: DiaGird Overview Tuesday, September 24, 2013.
Rappture with C and Fortran Michael McLennan Software Architect HUBzero™ Platform for Scientific Collaboration.
1 Rappture with C and Fortran Michael McLennan Software Architect HUBzero™ Platform for Scientific Collaboration This work licensed under Creative Commons.
Computing lattice constant, bulk modulus and equilibrium energies of solids Bulk Si Diamond structure.
Copyright © 2014 Dr. James D. Palmer; This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
1 Using Workspaces to Develop Simulation Tools Michael McLennan Software Architect HUBzero™ Platform for Scientific Collaboration This work licensed under.
PHUBpk: Pharmacokinetics on the pharmaHUB Stephen D. Stamatis 1, Michael J. McLennan 2, and Lee E. Kirsch 1 HUBbub The University of Iowa College.
1 Uploading and Publishing New Tools Michael McLennan Software Architect HUBzero™ Platform for Scientific Collaboration This work licensed under Creative.
HUBzero Cyberinfrastructure: Your Workday on Steroids Michael McLennan Director, HUBzero® Platform for Scientific Collaboration Purdue University 1.
The HUBzero Platform for Scientific Collaboration Michael McLennan Director, HUBzero® Platform for Scientific Collaboration Purdue University 1.
1 More Rappture Objects Michael McLennan Software Architect HUBzero™ Platform for Scientific Collaboration This work licensed under Creative Commons See.
NEEDS Berkeley Workshop 2014 NEEDS Compact Model Development Process Michael McLennan Director, HUBzero® Platform for Scientific Collaboration Purdue University.
Overview of the HUBzero Platform
1 More Rappture Objects Michael McLennan HUBzero® Platform for Scientific Collaboration Purdue University This work licensed under Creative Commons See.
1 CSC 221: Introduction to Programming Fall 2012 Functions & Modules  standard modules: math, random  Python documentation, help  user-defined functions,
MaterialsHub - A hub for computational materials science and tools.  MaterialsHub aims to provide an online platform for computational materials science.
Regression Testing Michael McLennan HUBzero® Platform for Scientific Collaboration Purdue University This work licensed under Creative Commons See license.
OpenSees on NEEShub Frank McKenna UC Berkeley. Bell’s Law Bell's Law of Computer Class formation was discovered about It states that technology.
Future Directions Michael McLennan, Shawn Rice Purdue University HUBbub 2014, Indianapolis, IN19/30/14.
Copyright 1997 PROMODEL Corporation UNIT TWO: SOFTWARE BASICS.
HUBzero® Platform for Scientific Collaboration Copyright © 2013 HUBzero Foundation, LLC 1 The HUBzero Platform for Scientific Collaboration Michael McLennan.
HUBzero® Platform for Scientific Collaboration Copyright © 2013 HUBzero Foundation, LLC 1 The HUBzero Platform for Scientific Collaboration Michael McLennan.
Launch SpecE8 and React from GSS. You can use the chemical analyses in a GSS data sheet to set up and run SpecE8 and React calculations. Analysis → Launch…
Network for Computational Nanotechnology (NCN) Purdue, Norfolk State, Northwestern, MIT, Molecular Foundry, UC Berkeley, Univ. of Illinois, UTEP Multi.
1 Advanced Visualization Michael McLennan HUBzero® Platform for Scientific Collaboration Purdue University This work licensed under Creative Commons See.
Advanced Rappture Concepts and Tips Michael McLennan Software Architect HUBzero™ Platform for Scientific Collaboration.
NanoHUB.org and HUBzero™ Platform for Reproducible Computational Experiments Michael McLennan Director and Chief Architect, Hub Technology Group and George.
Introducing the Rappture Toolkit Michael McLennan Software Architect HUBzero™ Platform for Scientific Collaboration.
Math – What is a Function? 1. 2 input output function.
1 Programming Environment and Tools VS.Net 2012 First project MSDN Library.
HUBzero® Platform for Scientific Collaboration Copyright © 2012 HUBzero Foundation, LLC HUBbub 2012, Sept 24-25, Indianapolis 1 Welcome to the World of.
1 Introducing the Rappture Toolkit Michael McLennan HUBzero® Platform for Scientific Collaboration Purdue University This work licensed under Creative.
What’s Under the Hood? Michael McLennan HUBzero® Platform for Scientific Collaboration Purdue University This work licensed under Creative Commons See.
Introduction to Scientific Programming in MATLAB Michael McLennan Software Architect HUBzero™ Platform for Scientific Collaboration.
ADVANCED EV3 PROGRAMMING LESSON By Droids Robotics 1 Data Logging (Part 2)
EE3417 – Introduction to Simulink
Sequencing The most simple type of program uses sequencing, a set of instructions carried out one after another. Start End Display “Computer” Display “Science”
NanoHUB.org: Cyberinfrastructure for Research and Education Michael McLennan Software Architect Network for Computational Nanotechnology Purdue University.
Using Simulation Workspaces Michael McLennan HUBzero® Platform for Scientific Collaboration Purdue University 1 This work licensed under Creative Commons.
Structuring Experimenting Esmée Bertens Tim de Ridder Herman de Vos /Department of Mechanical Engineering Systems Engineering Group Masters Team Project.
1 Introducing the Rappture Toolkit Michael McLennan Software Architect HUBzero™ Platform for Scientific Collaboration This work licensed under Creative.
HUBzero® Platform for Scientific Collaboration Copyright © 2012 HUBzero Foundation, LLC Collaboration and Contribution Emily Kayser Hub Liaison, HUBzero®
1 Regression Testing Michael McLennan HUBzero® Platform for Scientific Collaboration Purdue University This work licensed under Creative Commons See license.
Introduction to Programming on MATLAB Ecological Modeling Course Sep 11th, 2006.
RsimGmacs Buck Stockhausen AFSC. rsimGmacs: An R-based simulation tool for testing/developing Gmacs Provides an independent testing platform – Embodies.
Using & Contributing Tools Michael McLennan Director, HUBzero Platform for Scientific Collaboration Purdue University Quake Summit 2010, San Francisco,
Advanced Visualization Michael McLennan HUBzero® Platform for Scientific Collaboration Purdue University This work licensed under Creative Commons See.
Using Subversion for Source Code Control Michael McLennan HUBzero® Platform for Scientific Collaboration Purdue University This work licensed under Creative.
HUBzero® Platform for Scientific Collaboration Copyright © 2012 HUBzero Foundation, LLC HUBzero Roadmap and Community Feedback Michael McLennan Director,
Computing lattice constant, bulk modulus and equilibrium energies of bulk cubic SrTiO 3 Bulk SrTiO 3 Cubic structure.
Rappture with Fortran Michael McLennan HUBzero® Platform for Scientific Collaboration Purdue University This work licensed under Creative Commons See license.
HUBzero® Platform for Scientific Collaboration Copyright © 2012 HUBzero Foundation, LLC International Workshop on Science Gateways, ETH Zürich, June 3-5,
WORKSHOP 1 CUSTOM TIRE SUBROUTINE
Managing The Internet of Things
Using simulation workspaces to “submit” jobs and workflows
Band structure of a cubic perovskite oxide:
Band Structure Lab with NEMO5 Yi Shen, Nicolás Esquivel Camacho, Michael Povolotskyi ,and Gerhard Klimeck Approach: The communication between Rappture.
MaterialsHub - A hub for computational materials science and tools.
Managing results files
How to plot the Fermi surface using siesta and wannier90
By Sanjay and Arvind Seshan
Runs, Parameter Sets, Outputs and Projects
5th Homework In this homework, we shall exercise the modeling of a simple electrical circuit using bond graphs. We shall also model the same electrical.
Objective: Powerful tool development for atomistic level nanowire FET
Equations & Graphing Algebra 1, Unit 3, Lesson 5.
Presentation transcript:

1 What’s Under the Hood? Michael McLennan HUBzero® Platform for Scientific Collaboration Purdue University This work licensed under Creative Commons See license online: by-nc-sa/3.0

2 Example: Fermi function tool number curve How does it work?

3 Tool Definition File Builder tool.xml Press Simulate to … … Press Simulate to … … Info about the tool, how to run it Input objects Output objects skeleton program

4 Running produces a driver file Builder Runner tool.xml driver1827.xml

5 Running produces a driver file tool.xml driver1827.xml … K 0K 500K 300K eV 0eV … … K 0K 500K 300K eV 0eV … … K 0K 500K 300K 77K eV 0eV 200meV … … K 0K 500K 300K 77K eV 0eV 200meV …

6 run xml Your Program Running your program Builder Runner tool.xml driver1827.xml

7 Program produces a run file driver1827.xml run xml … … 77K … 200meV … … … 77K … 200meV … … … 77K … 200meV … … … … 77K … 200meV … …

8 Tool Definition File Runner tool.xml ~/data/results/$SESSION Results are moved out of the current working directory to the “results” directory run xml Your Program driver1827.xml

9 All Together Builder Runner tool.xml driver1827.xml run xml Your Program

10 Run file is a complete record of the run run xml Tool DefnInput ValsOutput Vals tool.xml  driver.xml  run.xml  reload old results rerun an old tool

11 How does your program get invoked? Runner tool.xml run xml Your Program driver1827.xml Rappture Your Code Rappture Library

12 How your program gets invoked Rappture import Rappture import sys from math import * io = Rappture.library(sys.argv[1]) Tstr = io.get('input.number(temperature).current') Efstr = io.get('input.number(Ef).current') … io.put('output.curve(f12).component.xy', xydata) Rappture.result(io) sys.exit() tool.xml Press Simulate to view … Press Simulate to view … python /apps/yourtool/current/fermi.py driver327.xml

13 Object names in tool.xml and in your program tool.xml … 300K … … … 300K … … Rappture Your Program … Tstr = io.get('input.number(temperature).current') Efstr = io.get('input.number(Ef).current') io.put('output.curve(f12).component.xy', xydata) … Tstr = io.get('input.number(temperature).current') Efstr = io.get('input.number(Ef).current') io.put('output.curve(f12).component.xy', xydata) … input.number(temperature).current output.curve(f12).component.xy

14 Exercise #2: Spriograph tool Spirograph equation: z(t) = e i2  n 1 t + e i2  n 2 t + e i2  n 3 t Where t has 1,000 points along [0,1] Plot: real(z)  x imag(z)  y See theory at t = linspace(0, 1, 1000); z = exp(i*2*pi*n1*t) + exp(i*2*pi*n2*t) + exp(i*2*pi*n3*t); plot(real(z),imag(z)); In MATLAB/Octave:

15 Exercise #2: Build a simple Addition tool Spirograph equation n1 number z curve n2 number n3 number t = linspace(0, 1, 1000); z = exp(i*2*pi*n1*t) + exp(i*2*pi*n2*t) + exp(i*2*pi*n3*t); plot(real(z),imag(z)); In MATLAB/Octave: