Running Genesis Free-Electron Laser Code on iDataPlex Dave Dunning 15 th January 2013.

Slides:



Advertisements
Similar presentations
Lab III – Linux at UMBC.
Advertisements

3/17 Dividend Street, Mansfield, 4122, Queensland, Australia phone: web: The SuperCycler A Software.
COMPUTER PROGRAMMING Task 1 LEVEL 6 PROGRAMMING: Be able to use a text based language like Python and JavaScript & correctly use procedures and functions.
An End-User Perspective On Using NatQuery Extraction From two Files T
Install. Will your hardware work? Most things are compatible - a few are known not to be.
Learning Unix/Linux Bioinformatics Orientation 2008 Eric Bishop.
 Statistics package  Graphics package  Programming language  Can be used to share/reproduce analyses  Many new packages being created - can be downloaded.
Dayu Zhang 9/8/2014 Lab02. Example of Commands pwd --- show your current directory This is home of venus, not your home directory Tilde: means you are.
Getting Started with Linux Douglas Thain University of Wisconsin, Computer Sciences Condor Project October 2000.
THEMIS Science Software Training1July 2007 The THEMIS Graphical User Interface J. McTiernan 23-Jul-2007
Sun Grid Engine Grid Computing Assignment – Fall 2005 James Ruff Senior Department of Mathematics and Computer Science Western Carolina University.
CS1020: Intro Workshop. Topics CS1020Intro Workshop Login to UNIX operating system 2. …………………………………… 3. …………………………………… 4. …………………………………… 5. ……………………………………
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.
DEMONSTRATION FOR SIGMA DATA ACQUISITION MODULES Tempatron Ltd Data Measurements Division Darwin Close Reading RG2 0TB UK T : +44 (0) F :
Installing VMware & the Data ONTAP Simulator SE Technical Academy.
Automating Student Course Profile & Student Record Report Uploads to GaDOE Chris A. McManigal Camden County Schools Kingsland, GA.
L INUX C OMMAND L INE I NTERFACE G UNAANBAN.G
VMWare Workstation Installation. Starting Vmware Workstation Go to the start menu and start the VMware Workstation program. *Note: The following instructions.
Agenda What is Computer Programming? The Programming Process
One to One instructions Installing and configuring samba on Ubuntu Linux to enable Linux to share files and documents with Windows XP.
BSC tools hands-on session. 2 Objectives Copy ~nct00001/tools-material into your ${HOME} –cp –r ~nct00001/tools-material ${HOME} Contents of.
Thank you for your decision to try vTreePro Practice Tree Software! Your satisfaction is very important to us. Please feel free to send us an if.
Geo CE-XM ch 4 Edited 10/14/05 1 The XM is the newest of the rovers, and unlike other units, it comes with software installed on the unit as well as using.
Unix Tutorial for FreeSurfer Users. Helpful To Know FreeSurfer Tutorial Wiki:
Booting Ubuntu Linux Live CSCI 130 – Fall 2008 Action Lab Dr. W. Jones.
Unix Tutorial for FreeSurfer Users. Helpful To Know FreeSurfer Tutorial Wiki:
UNIX Commands. Why UNIX Commands Are Noninteractive Command may take input from the output of another command (filters). May be scheduled to run at specific.
ENEE150 – 0202 ANDREW GOFFIN Introduction to ENEE150.
Compiling a C Program. Before we can begin we must open a telnet session to phobos. There are a number of ways to do this, but the easiest is to click.
Fall 08, Oct 31ELEC Lecture 8 (Updated) 1 Lecture 8: Design, Simulation Synthesis and Test Tools ELEC 2200: Digital Logic Circuits Nitin Yogi
E.g.: MS-DOS interface. DIR C: /W /A:D will list all the directories in the root directory of drive C in wide list format. Disadvantage is that commands.
Configuring IQmol for Windows machines, use version!
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.
Intro to Programming Environment 1. Today You Will Learn how to connect to a machine remotely with “nomachine NX client” Learn how to create a new “source.
Oracle Data Integrator Agents. 8-2 Understanding Agents.
An Introduction to Designing, Executing and Sharing Workflows with Taverna Katy Wolstencroft myGrid University of Manchester IMPACT/Taverna Hackathon 2011.
Lab 3 + Using the Terminal 1. "Under Linux there are GUIs (graphical user interfaces). where you can point and click and drag, and hopefully get work.
1 Lecture 6 Introduction to Process Management COP 3353 Introduction to UNIX.
Agenda Basic Unix Commands (Chapters 2 & 3) Miscellaneous Commands: which, passwd, date, ps / kill Working with Files: file, touch, cat, more, less, grep,
MySQL Getting Started BCIS 3680 Enterprise Programming.
Introduction to KE EMu Unit objectives: Introduction to Windows Use the keyboard and mouse Use the desktop Open, move and resize a.
Quick guide to ASIMON configuration For version 3.0 or greater SAFETY AT WORK Date: 3/18/2009.
Introduction to KE EMu Unit objectives: Introduction to Windows Use the keyboard and mouse Use the desktop Open, move and resize a.
PTA Linux Series Copyright Professional Training Academy, CSIS, University of Limerick, 2006 © Workshop III - Part A Shell Commands Professional Training.
Module 5 GemStall Overview
Coding Time This is a starter activity and should take about 10 minutes [ slide 1 ] 1.Log in to your computer 2.Open IDLE 3.Start a script session (Select.
1 Getting Started with C++ Part 2 Linux. 2 Getting Started on Linux Now we will look at Linux. See how to copy files between Windows and Linux Compile.
Remote & Collaborative Visualization. TACC Remote Visualization Systems Longhorn – Dell XD Visualization Cluster –256 nodes, each with 48 GB (or 144 GB)
1. Starting 1 Let’s Learn Saenthong School, January – February 2016 Teacher: Aj. Andrew Davison, CoE, PSU Hat Yai Campus
Introduction to Hartree Centre Resources: IBM iDataPlex Cluster and Training Workstations Rob Allan Scientific Computing Department STFC Daresbury Laboratory.
Debugging Lab Antonio Gómez-Iglesias Texas Advanced Computing Center.
Wouter Verkerke, NIKHEF 1 Using ‘stoomboot’ for NIKHEF-ATLAS batch computing What is ‘stoomboot’ – Hardware –16 machines, each 2x quad-core Pentium = 128.
Active-HDL Server Farm Course 11. All materials updated on: September 30, 2004 Outline 1.Introduction 2.Advantages 3.Requirements 4.Installation 5.Architecture.
MySQL Getting Started BCIS 3680 Enterprise Programming.
Learning Unix/Linux Based on slides from: Eric Bishop.
QOF Assessor Validation Report Generator How to use the QOF Wizard Mouse-click your way through step-by-step instructions.
Review Why do we use protection levels? Why do we use constructors?
Advanced Computing Facility Introduction
The new dialup procedure requires the use of the EVPN client software to establish an active connection to the Lockheed Martin network. After January 31st,
VLSI Synthesis and Simulation Tools Nitin Yogi 01/09/2009
GRID COMPUTING.
CS1010: Intro Workshop.
How to download, configure and run a mapReduce program In a cloudera VM Presented By: Mehakdeep Singh Amrit Singh Chaggar Ranjodh Singh.
Creating a Windows Server 2012 R2 Datacenter Virtual machine
Creating a Windows Server 2016 Datacenter Virtual machine
(Chapter 2) John Carelli, Instructor Kutztown University
BSc in Digital Media, PSUIC
Getting Started: Amazon AWS Account Creation
SUSE Linux Enterprise Desktop Administration
Using the Omega3P Eigensolver
Presentation transcript:

Running Genesis Free-Electron Laser Code on iDataPlex Dave Dunning 15 th January 2013

Genesis Free-Electron Laser Code Free-electron lasers (FELs) are particle accelerator-based lasers which are powerful instruments for scientific investigation. They can operate across a range of different wavelengths, some examples are: – ALICE FEL at Daresbury operates in the infra-red, and has been used for imaging oesophageal cancer tissue. – CLARA FEL planned at Daresbury would operate in the ultra-violet, and would use the current Electron Beam Test Facility as a first stage. – Many FEL facilities around the world, including x-ray FELs in USA (LCLS) and Japan (SACLA) – opening new areas of scientific investigation. Large-scale, expensive facilities require modelling to validate designs. One of the main codes used for free-electron lasers is Genesis, written by Sven Reiche, though there are also others – e.g. talk by Lawrence Campbell tomorrow on a new FEL code called PUFFIN. The primary aim of the session is to learn how to run simulations on the iDataPlex cluster, using Genesis as an example: – So some prior experience of running Genesis is assumed, but it should be possible to follow the steps given in the following slides without this. The Genesis manual is available and I’m available to assist.

Preliminary Steps Following Rob’s worksheet: Log in to workstation (needs full user name including training code) + password. Check that you can see training material on training machines: – Open terminal: right click on desktop, press “Open in Terminal” – Type “mount” in window: should be able to see something like: “ /twhome on /gpfs type nfs (rw,vers=3,bg,addr= )” – Change directory to: “cd /gpfs/home/training/jpf03/rja87-jpf03/” and use “ls */” to view all the resources: – /Documents/genesis_manual.pdf – Genesis manual + presentation – /Applications/exelis/idl/bin – should contain file “idl” for running IDL Virtual Machine, which is used for plotting output from Genesis. Try logging in to iDataPlex: – iDataplex icon on desktop – opens connection to iDataplex.

Load Genesis module on iDataPlex On iDataplex: Make a folder to work in and go into it: e.g. “cd ~; mkdir Genesis; cd Genesis” Use “module avail” to show the available modules. Use “module load genesis/2.0” to load the genesis module. It should say something like “Executable name is genesis_mpi”.

Running Genesis in Serial As a test try running genesis in serial mode: type “genesis_mpi” The program should prompt for an input file, type enter with no input to generate an example input file “template.in”. Then run again: “genesis_mpi”, and enter “template.in” This should run the program, generating “template.out”, try “ls” to see if it has, and e.g. “emacs template.out” to view it. The default is a steady-state run. Try opening template.in and changing to time-dependent mode: e.g. “emacs template.in”, change itdp=0 to itdp=1, (ctrl-x, ctrl-s to save, ctrl-x,ctrl-c to exit). Try running again. This is a time-dependent job, it should take a few minutes. Can stop with ctrl-c if you like. One further step which will be used later can be introduced now. Open a file e.g. “emacs input.txt” and type template.in and return, (ctrl-x, ctrl-s to save, ctrl-x, ctrl-c to exit). Then try running genesis like this: “genesis_mpi < input.txt” – this should bypass the prompt for an input file name.

Running Genesis in Parallel Now for a Parallel job: Make the submit script: “emacs testjob.bsub” and type script following Rob’s notes, (ctrl-x, ctrl-s to save, ctrl-x, ctrl-c to exit). – Note that you have to specify the folder where you are working on line starting “cd …” : it will be ~/Genesis if following instructions here. – There is an example submission script – try seeing how your script compares to the example using: “diff testjob.bsub /gpfs/home/training/jpf03/dxd46-jpf03/Genesis/testjob.bsub” Submit the job by running the script using “bsub < testjob.bsub” You can use “bjobs –u all –w” – to see what jobs are running. And “bkill ” – kills a job if it gets stuck for any reason. While the job is running it will make multiple output files – one per slice e.g. “template.out.slice000001”, which will all be combined into a single output file “template.out” at the end. Try “ls - l” to see what files are being made.

Plotting the output Copy the output from iDataplex to the training machines: e.g. from training machine terminal type “cd ~”; “scp –r idpxlogin3:~/Genesis/template.out.” Plotting the output: – On the training machines go to the following directory for running IDL Virtual Machine: – “cd /gpfs/home/training/jpf03/rja87-jpf03/ Applications/exelis/idl/bin” – Type “./idl -vm” to run and click to continue when prompted. – Load the.sav file “xgenesis.sav” from the current directory – this is a configuration file for plotting genesis output. This should open a gui interface with plot options. – Locate the genesis output file that you copied across and load it: File- >Open->……/template.out – this should open another gui window with a list of plottable parameters. – Try using the interface to plot the output.

Example output An example of the output for the given plotting options: Try other plots, animating profile etc. Feel free to take it further: you could try editing the template.in file or try running your own input files. You could try testing the speed increase between serial/parallel, or versus your laptop, or with different number of processors…