HackLatt 20081 MILC Code Basics Carleton DeTar HackLatt 2008.

Slides:



Advertisements
Similar presentations
I/O and the SciDAC Software API Robert Edwards U.S. SciDAC Software Coordinating Committee May 2, 2003.
Advertisements

Weather Research & Forecasting: A General Overview
Semileptonic decays of charmed and beauty baryons with sterile neutrinos in the final state.
SciDAC Software Infrastructure for Lattice Gauge Theory
Tutorial1: NEMO5 Technical Overview
Automated Instrumentation and Monitoring System (AIMS)
QDP++ and Chroma Robert Edwards Jefferson Lab
HackLatt MILC with SciDAC C Carleton DeTar HackLatt 2008.
KITPC Calculating with ILDG lattices Carleton DeTar KITPC 2009.
MILC Code Basics Carleton DeTar KITPC MILC Code Capabilities Molecular dynamics evolution –Staggered fermion actions (Asqtad, Fat7, HISQ,
Emergy Berger, Calvin Lin, Samuel Z. Guyer CSE 231 Presentation by Jennifer Grau.
1 Lattice QCD Now and in > 5 Years Aida X. El-Khadra (UIUC) Beauty 2003, Oct 14-18, 2003.
SciDAC Software Infrastructure for Lattice Gauge Theory DOE Grant ’01 -- ’03 (-- ’05?) All Hands Meeting: FNAL Feb. 21, 2003 Richard C.Brower Quick Overview.
IERG4180 Tutorial 4 Jim.
I/O and the SciDAC Software API Robert Edwards U.S. SciDAC Software Coordinating Committee May 2, 2003.
National Instruments Confidential Deployment Techniques for LabVIEW ™ Applications Kennon Cotton LabVIEW R&D Group Manager.
Prof. R. Willingale Department of Physics and Astronomy 2nd Year C+R 2 nd Year C and R Workshop Part of module PA2930 – 2.5 credits Venue: Computer terminal.
1 SEEM3460 Tutorial Unix Introduction. 2 Introduction What is Unix? An operation system (OS), similar to Windows, MacOS X Why learn Unix? Greatest Software.
This work is licensed under the Creative Commons Attribution 4.0 International License. To view a copy of this license, visit
Using Opal to deploy a real scientific application as a Web service Sriram Krishnan
CprE 288 – Quick intro for compiling C in Linux
1 LiveViz – What is it? Charm++ library Visualization tool Inspect your program’s current state Client runs on any machine (java) You code the image generation.
Donald Stark National Center for Atmospheric Research (NCAR) The Developmental Testbed Center (DTC) Wednesday 29 June, 2011 GSI Fundamentals (1): Setup.
Donald Stark National Center for Atmospheric Research (NCAR) The Developmental Testbed Center (DTC) Thursday 13 August, 2015 Downloading and Building EnKF.
1 Nachos Introduction Lecturer: Tei-Wei Kuo TA: Ya-Su Chen, Yuan-Hao chang Date: 2005/10/19.
SciDAC Software Infrastructure for Lattice Gauge Theory Richard C. Brower Annual Progress Review JLab, May 14, 2007 Code distribution see
PVM. PVM - What Is It? F Stands for: Parallel Virtual Machine F A software tool used to create and execute concurrent or parallel applications. F Operates.
July 29, 2003Serguei Mokhov, 1 Makefile Brief Reference COMP 229, 346, 444, 5201 Revision 1.2 Date: July 18, 2004.
Dynamical Chirally Improved Quarks: First Results for Hadron MassesC.B. Lang : Dynamical Chirally Improved Quarks: First Results for Hadron Masses C. B.
SimpleScalar Tool Set, Version 2 CSE 323 Department of Computer Engineering.
Lab 11 Department of Computer Science and Information Engineering National Taiwan University Lab11 - Porting 2014/12/9/ 26 1.
QCD Project Overview Ying Zhang September 26, 2005.
Chroma I: A High Level View Bálint Joó Jefferson Lab, Newport News, VA given at HackLatt'06 NeSC, Edinburgh March 29, 2006.
ICS – Software Engineering Group 1 Cross Compiling vxWorks on Linux EPICS Collaboration Meeting l May 2002 at BESSY, Germany May 2002 at BESSY,
SciDAC Software Infrastructure for Lattice Gauge Theory Richard C. Brower & Robert Edwards June 24, 2003.
Lattice QCD and the SciDAC-2 LQCD Computing Project Lattice QCD Workflow Workshop Fermilab, December 18, 2006 Don Holmgren,
HackLatt MILC Code Basics Carleton DeTar First presented at Edinburgh EPCC HackLatt 2008 Updated 2013.
1 EPSII 59:006 Spring Real Engineering Problem Solving Analyzing Results of Designs is Paramount Problems are Difficult, Code Writing Exhaustive.
Simulations with Improved Staggered Fermions Carleton DeTar Brookhaven National Laboratory SciDAC All Hands Meeting March 26, 2004.
Chroma: An Application of the SciDAC QCD API(s) Bálint Joó School of Physics University of Edinburgh UKQCD Collaboration Soon to be moving to the JLAB.
SciDAC Software Infrastructure for Lattice Gauge Theory Richard C. Brower QCD Project Review May 24-25, 2005 Code distribution see
Strengthening deflation implementation for large scale LQCD inversions Claude Tadonki Mines ParisTech / LAL-CNRS-IN2P3 Review Meeting / PetaQCD LAL / Paris-Sud.
Chapter 4 Message-Passing Programming. The Message-Passing Model.
Site Report on Physics Plans and ILDG Usage for US Balint Joo Jefferson Lab.
Connections to Other Packages The Cactus Team Albert Einstein Institute
Chapter 1 Computers, Compilers, & Unix. Overview u Computer hardware u Unix u Computer Languages u Compilers.
USQCD regional grid Report to ILDG /28/09ILDG14, June 5, US Grid Usage  Growing usage of gauge configurations in ILDG file format.  Fermilab.
Huey-Wen Lin — Workshop1 Semileptonic Hyperon Decays in Full QCD Huey-Wen Lin in collaboration with Kostas Orginos.
JL MONGE - Chimere software evolution 1 Chimere software evolution How to make a code : –Obscure –Less efficient –Usable by nobody but its author.
Probing TeV scale physics in precision UCN decays Rajan Gupta Theoretical Division Los Alamos National Lab Lattice 2013 Mainz, 30 July 2013 Superconducting.
A QCD Grid: 5 Easy Pieces? Richard Kenway University of Edinburgh.
Random Interpretation Sumit Gulwani UC-Berkeley. 1 Program Analysis Applications in all aspects of software development, e.g. Program correctness Compiler.
OPTIMIZATION OF DIESEL INJECTION USING GRID COMPUTING Miguel Caballer Universidad Politécnica de Valencia.
QDP++ and Chroma Robert Edwards Jefferson Lab Collaborators: Balint Joo.
Slide 1 Running NEMO at ECMWF Slide 1 NEMO under Perforce at ECMWF Kristian S. Mogensen Last revised:
3/12/2013Computer Engg, IIT(BHU)1 MPI-1. MESSAGE PASSING INTERFACE A message passing library specification Extended message-passing model Not a language.
UKQCD NeSCAC Irving, 24/1/061 January 06 UKQCD meeting Staggered fermion project Alan Irving University of Liverpool.
NumPy, SciPy, Mpi4Py Shepelenko Olha. History of NumPy Originally, Python was not developed as a language for numerical computing. However, due to its.
Introduction to SimpleScalar Tool Set CPEG323 Tutorial Long Chen September, 2005.
Using Opal to deploy a real scientific application as a Web service Sriram Krishnan, Ph.D.
Wouter Verkerke, NIKHEF Preparation for La Mainaz or how to run Unix apps and ROOT on your Windows Laptop without installing Linux Wouter Verkerke (NIKHEF)
Fermi National Accelerator Laboratory & Thomas Jefferson National Accelerator Facility SciDAC LQCD Software The Department of Energy (DOE) Office of Science.
Project Management – Part I
WORKSHOP 3 GSE IMPORT.
ILDG Implementation Status
Future Prospects from Lattice QCD
Makefiles and Notes on Programming Assignment PA2
Chroma: An Application of the SciDAC QCD API(s)
Working in The IITJ HPC System
SPL – PS1 Introduction to C++.
Presentation transcript:

HackLatt MILC Code Basics Carleton DeTar HackLatt 2008

2 MILC Code Capabilities Molecular dynamics evolution –Staggered fermion actions (Asqtad, Fat7, HISQ, etc) –Clover fermion action –Pure gauge –Schroedinger functional Hadron spectroscopy –Staggered mesons and baryons –Clover mesons and baryons –Mixed staggered/clover mesons –Static/light spectroscopy –Quarkonium spectroscopy (S and P-wave) Current matrix elements –Leptonic decay (fpi, fB, fD) –Semileptonic decay (heavy-light) Miscellaneous –Topological charge –Dirac matrix eigenvectors and eigenvalues –Nonperturbative renormalization of currents

HackLatt 20083

4 Mathias Gruenewald: Temptation of St Anthony (1515)

HackLatt Supported File Formats Gauge configuration file formats –MILC, SciDAC (ILDG), NERSC, Fermilab Dirac propagator file formats –USQCD, Fermilab Staggered propagator file formats –USQCD, MILC, Fermilab

HackLatt Supported SciDAC C-Coded Packages QIO (I/O) QMP (Message passing) QLA (linear algebra – single processor) QDP/C (linear algebra – data parallel) QOPQDP (“Level 3” optimized) (More in the next session)

HackLatt Precision Global single or double precision Mixed precision in some applications Portability Any scalar machine Any MPP machine with MPI QCDOC

HackLatt MILC Code Organization Application directories –With compilation targets Library directory –Linear algebra routines Shared procedures (“generic”) directories –Shared across applications

HackLatt MILC Code Organization Application directories: examples –cd ks_imp_dyn (application) make su3_rmd (target) (Asqtad R algorithm) make su3_spectrum (another target) (staggered spectroscopy) –cd ks_imp_rhmc (application) make su3_rhmc (Asqtad RHMC algorithm) make su3_rhmc_hisq (target) (HISQ algorithm) –cd clover_invert2 (application) make su3_clov (clover spectroscopy, etc.)

HackLatt MILC Code Organization Shared procedures directories: examples –generic (common to all applications) –generic_ks (common to staggered fermion applications) –generic_wilson (common to clover and Wilson fermion apps)

HackLatt Building the MILC Code Download source Unpack Configure Build Check

HackLatt Building the MILC Code Unpack –gzip –d milc_qcd tar.gz –less README_UNPACK –make –f Make_unpack ks_imp_rhmc

HackLatt Building the MILC Code Configure (crude old fashioned!) –Copy default Makefile to application directory cd ks_imp_rhmc cp../Makefile. –Edit (example in next slide) Makefile../libraries/Make_vanilla../include/config.h

HackLatt # # 1. Architecture # Compiling for a parallel machine? Uncomment this line. #MPP = true # Cross-compiling for the QCDOC? blank if we are not. # For the QCDOC, be sure to source the QOS setup script before running make, # and be sure to set MPP = true #QCDOC = true # # 2. Precision # 1 = single precision; 2 = double PRECISION = 1 # # 3. Compiler # Choices include mpicc cc gcc pgcc g++ ifeq ($(strip ${MPP}),true) CC = /usr/local/mvapich/bin/mpicc else CC = gcc endif

HackLatt Building and Checking the Code Build –make su3_rmd Check single precision su3_rmd –make check “PROJS=su3_rmd” “PRECLIST=1” Check all targets in this directory –make check

HackLatt Running the code su3_rhmc outputfile su3_rhmc inputfile > outputfile su3_rhmc inputfile outputfile

HackLatt Sample parameter input (su3_rmd) prompt 0 nflavors1 2 nflavors2 1 nx 16 ny 16 nz 16 nt 64 iseed warms 0 trajecs 2 traj_between_meas 1 beta 6.76 mass mass2 0.5 u microcanonical_time_step 0.02 steps_per_trajectory 4 max_cg_iterations 300 max_cg_restarts 5 error_per_site error_for_propagator reload_serial lat.sample.milc save_serial_scidac lat.test.scidac molecular dynamics measurements

HackLatt Summary The MILC code is versatile and portable I have given a brief overview of the code structure I have touched on the process of building and running the code

HackLatt Tutorial 1 Goals Run precompiled code Modify the input parameters Build a different target Modify the Makefile and build Download and unpack the code (if time)