Project

General

Profile

Workshop 2018 Setup » History » Revision 2

Revision 1 (Ole Hansen, 06/17/2018 09:12 PM) → Revision 2/6 (Ole Hansen, 06/18/2018 02:25 PM)

h1. Software Setup Instructions for 2018 Hall A & C Data Analysis Workshop 

 In order to run the interactive tutorials, certain software must be available to you: 

 * @bash@ (shell) 
 * @git@ (version control) 
 * ROOT with Python bindings 
 * Hall C analyzer (@hcana@) 
 * Python 2.7 and/or 3.4+, ideally both 
 * Various Python packages, all available via pip: 
 ** numpy 
 ** scipy 
 ** matplotlib 
 ** pandas 
 ** uproot 
 ** ipython 
 ** notebook 

 Scripts and data files can be downloaded/accessed over the network during the workshop. 

 There are essentially three approaches to get a usable software environment, in order of preference: 

 # *Recommended:* Use our pre-configured "Virtual Machine Image":http://hallaweb.jlab.org/data_reduc/AnaWork2018/VirtualBox for "VirtualBox":https://www.virtualbox.org. This will yield consistent results on all supported platforms (Windows, macOS, recent Linuxes), but will consume significantly more system resources than a native installation. The installation of VirtualBox may be challenging on some Linux systems. Image download":http://hallaweb.jlab.org/data_reduc/AnaWork2018/VirtualBox 
 # Install all required software locally on your machine. This will yield the fastest performance, but may be time-consuming and error-prone. Installation on Windows can be challenging since much of the software and scripts is designed for a Unix-like environment. Recommended for advanced users. 
 # Access a machine with a suitable environment remotely, _e.g._ the JLab @ifarm@ systems. This is a last resort since performance will be lower and there may still be compatibility problems. For graphics, your system requires an X server installed locally. 

 If your machine is reasonably powerful (_e.g._ i5 CPU, 4+ GB RAM, 30-40 GB free disk space) and runs a recent OS, your best bet is probably our "Virtual machine":http://hallaweb.jlab.org/data_reduc/AnaWork2018/VirtualBox since the environment is completely set up and configured for the workshop exercises. Please see the linked page for detailed instructions. 

 If you feel comfortable installing software on your system and/or you already have much of the required software available, option 2. may be for you. You can find some guidance here: 
 * "JLab 2018 Software Carpentry Workshop Setup Instructions":https://kevin-vilbig.github.io/2018-05-21-JLAB/ (covers @bash@, @git@ and @Python@, even for Windows) 
 * [[ROOT Installation Guide|Hall A ROOT Installation Guide]] 
 * "Hall C Analyzer Installation Guide":https://hallcweb.jlab.org/wiki/index.php/ROOT_Analyzer/Git 

 Please start well in advance of the workshop. 

 Connecting to @ifarm@ or some other remote system (_e.g._ your office desktop) requires an @ssh@ client with X forwarding and an X server. For using ROOT on @ifarm@, see the "CUE ROOT documentation":https://data.jlab.org/drupal/?q=node/43.    @ifarm@ is missing @ipython@ and @notebook@, however, and @pip@ is not available to perform user-level package installation, so some exercises will not work. As mentioned, do this as a last resort. 

 Please contact Ole Hansen (ole@jlab.org) with questions.