MILC Code Basics Carleton DeTar KITPC 2009 1. 2 3 MILC Code Capabilities Molecular dynamics evolution –Staggered fermion actions (Asqtad, Fat7, HISQ,

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.
Overview of programming in C C is a fast, efficient, flexible programming language Paradigm: C is procedural (like Fortran, Pascal), not object oriented.
SciDAC Software Infrastructure for Lattice Gauge Theory
Lecture 1: basics of lattice QCD Peter Petreczky Lattice regularization and gauge symmetry : Wilson gauge action, fermion doubling Different fermion formulations.
Tutorial1: NEMO5 Technical Overview
Xushan Zhao, Yang Chen Application of ab initio In Zr-alloys for Nuclear Power Stations General Research Institute for Non- Ferrous metals of Beijing September.
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.
HackLatt MILC Code Basics Carleton DeTar HackLatt 2008.
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.
I/O and the SciDAC Software API Robert Edwards U.S. SciDAC Software Coordinating Committee May 2, 2003.
Linux+ Guide to Linux Certification, Third Edition Chapter 11 Compression, System Backup, and Software Installation.
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
CprE 288 – Quick intro for compiling C in Linux
Linux+ Guide to Linux Certification
LQCD Project Overview Don Holmgren LQCD Project Progress Review May 25-26, 2006 Fermilab.
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.
Lattice 2004Chris Maynard1 QCDml Tutorial How to mark up your configurations.
Dr Chris Maynard Application Consultant, EPCC Muttering about metadata Report from the Metadata work group.
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.
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.
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.
SciDAC Software Infrastructure for Lattice Gauge Theory Richard C. Brower & Robert Edwards June 24, 2003.
N ATIONAL E NERGY R ESEARCH S CIENTIFIC C OMPUTING C ENTER 1 Porting from the Cray T3E to the IBM SP Jonathan Carter NERSC User Services.
Introduction to Flavor Physics in and beyond the Standard Model
1 What is a Kernel The kernel of any operating system is the core of all the system’s software. The only thing more fundamental than the kernel is the.
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.
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.
1 Running Programs on CSP CSP01.csci.unt.edu … CSP09. … Secure shell (ssh) to CSP computer Transfer file(s) using scp, … Edit on CSP machine with vi, pico,
Marking up lattice QCD configurations and ensembles for ILDG Metadata Working Group P.Coddington, B.Joo, C.Maynard, D.Pleiter, T.Yoshie Working group members.
1 Metadata Working G roup Report Members (fixed in mid-January) G.AndronicoINFN,Italy P.CoddingtonAdelaide,Australia R.EdwardsJlab,USA C.MaynardEdinburgh,UK.
Site Report on Physics Plans and ILDG Usage for US Balint Joo Jefferson Lab.
Chapter 1 Computers, Compilers, & Unix. Overview u Computer hardware u Unix u Computer Languages u Compilers.
Tools – Ant-MakeEtc 1 CSCE 747 Fall 2013 CSCE 747 Software Testing and Quality Assurance Tools 12 – Hamcrest 10/02/
USQCD regional grid Report to ILDG /28/09ILDG14, June 5, US Grid Usage  Growing usage of gauge configurations in ILDG file format.  Fermilab.
JPS07 AutumnTakashi Umeda (Tsukuba Univ.)1 Finite temperature lattice QCD with Nf=2+1 Wilson quark action WHOT-QCD Collaboration T.Umeda, S.Aoki, K.Kanaya.
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.
CCA Common Component Architecture Distributed Array Component based on Global Arrays Manoj Krishnan, Jarek Nieplocha High Performance Computing Group Pacific.
QDP++ and Chroma Robert Edwards Jefferson Lab Collaborators: Balint Joo.
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.
1 Updates to the QCDml and sharing quark propagators ILDG12 (May.23,2008) T. Yoshie for MDWG CCS,Tsukuba two revisions to QCDml  new actions overlap quark.
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.
Fermi National Accelerator Laboratory & Thomas Jefferson National Accelerator Facility SciDAC LQCD Software The Department of Energy (DOE) Office of Science.
Project Management – Part I
Computational Requirements
WORKSHOP 3 GSE IMPORT.
ILDG Implementation Status
Future Prospects from Lattice QCD
Chroma: An Application of the SciDAC QCD API(s)
Presentation transcript:

MILC Code Basics Carleton DeTar KITPC

2

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

KITPC 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

KITPC 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) (See James Osborn’s talks)

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

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

KITPC 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.)

KITPC 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)

KITPC Building the MILC Code Download source Unpack Configure Build Check

KITPC Building the MILC Code Unpack –tar -xzf milc_qcd tar.gz –less README_UNPACK –make –f Make_unpack all

KITPC 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

KITPC # # 1. Architecture # Compiling for a parallel machine? Uncomment this line. #MPP = 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 Example: editing the Makefile

KITPC 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

KITPC Running the code All of the following will work: su3_rhmc outputfile su3_rhmc inputfile > outputfile su3_rhmc inputfile outputfile

KITPC 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

KITPC 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

KITPC Tutorial 1 Goals Run precompiled code for asqtad molecular dynamics Modify the input parameters Build a different target Modify the Makefile and build the code Learn how to start a Markov chain Download and unpack the code (if time)