Introduction to Unix/Linux

Total Page:16

File Type:pdf, Size:1020Kb

Introduction to Unix/Linux Introduction to Unix/Linux Ken-ichi Nomura, Ph.D. [email protected] Center for High-Performance Computing and Communications Outline 1. HPCC Overview 2. Basic Commands and Utilities 3. Text Editor 4. Directory, Software and Account Issues 5. Introduction to Parallel Computing – Compilers (C, Fortran, MPI) – Portable Batch System HPCC Overview HPCC clusters: - HP SL230 (128GB memory), HP SL250 HPCC (64 GB memory, dual NVIDIA K20m GPUs), Dual Xeon 8-core 2.4 GHz, on Infiniband Myrinet 56.6-Gbit FDR Infiniband network - 2,225-node, 4-core, 6-core, and 12-core dual-processor cluster contains Dell, Oracle Sun, HP, and IBM compute nodes on a 10-Gbit Myrinet network hpc-login1 - 4 large-memory nodes with 1 TB of hpc-login2 RAM and 4x10-core Intel Xeon processors. - 2 head nodes, hpc-login1.usc.edu and hpc-login2.usc.edu Internet HPCC Overview HPCC website: http://hpcc.usc.edu/ - About - Research - User Support - New User Guide - Frequently Asked Questions - Contact Us HPCC Website: HPCC Policies http://hpcc.usc.edu/support/accounts/hpcc-policies/ 5 HPCC Website: Account Application http://hpcc.usc.edu/support/accounts/applying-for-a-hpcc-account/ 6 Machine Room Outline 1. HPCC Overview 2. Basic Commands and Utilities 3. Text Editor 4. Directory, Software and Account Issues 5. Introduction to Parallel Computing – Compilers (C, Fortran, MPI) – Portable Batch System What is Linux? Graphical User Interface Operating System (OS) Command Line Interface Basic Commands ls List file and/or directory names pwd Print working (current) directory mkdir/rmdir Create/remove directory cd Change directory chmod Change file or directory permission cp/mv Copy/move file or directory rm Remove file or directory cat/more/less Display file contents man Display online manual Basic Commands: Example [~]$ ls docs hpc-23 Makefile R util workshop [~]$ ls –a … [~]$ pwd /home/rcf-12/knomura [~]$ mkdir tmp [~]$ cd tmp/ [tmp]$ cp ~/.bash_profile dot_bash_profile [tmp]$ cat dot_bash_profile [tmp]$ ls -l dot_bash_profile [tmp]$ chmod u-r dot_bash_profile [tmp]$ cat dot_bash_profile cat: dot_bash_profile: Permission denied [tmp]$ chmod u+r dot_bash_profile Basic Commands: Example [tmp]$ cp dot_bash_profile DOT_bash_profile [tmp]$ ls dot_bash_profile DOT_bash_profile [tmp]$ ls -l *_bash_profile -rw-r--r-- 1 knomura m-cacs 208 Oct 3 11:43 dot_bash_profile -rw-r--r-- 1 knomura m-cacs 208 Oct 3 11:47 DOT_bash_profile [tmp]$ mv dot_bash_profile Dot_Bash_Profile [tmp]$ ls –la … [~]$ cd .. [~]$ ls [~]$ pwd [~]$ rm -rv tmp/ removed `tmp/DOT_bash_profile' removed `tmp/Dot_Bash_Profile' removed directory: `tmp' Shell (bash and tcsh) • Shell is a command processor by which users tell what to do to system. • Command-line Interface (CLI) or Character user interface (CUI) • To check which shell you are using, type echo $0 • Auto logout after 20 minuets of inactivity (for HIPPA compliant) Bash Config Files • Configuration files to setup user environment, for examples command prompt, path, alias so on. Sometimes called “dot file” • .bash_profile and .bashrc are stored in each user’s home directory • When bash is invoked as a login shell, it first reads /etc/profile, if that file exists, then looks for .bash_profile and .profile • When bash is invoked as a non-login shell, only read .profile Csh & Tcsh Config Files • .login & .cshrc are in each user’s home directory • When tcsh is invoked as a login shell, it reads first .tcshrc or, if .tcshrc is not found, .cshrc, then .history, then .login, and finally .cshdirs • When tcsh is invoked as a non-login shell, only read /etc/csh.cshrc and .cshrc Permission & Ownership - File and directory have ownership and permission - Three types of permission, readable, writeable and executable - Each permission is given to three groups, owner, group and others [~]$ ls -l .bash_profile -rw-r--r-- 1 knomura m-cacs 208 Sep 26 14:11 .bash_profile r readable, w writable, x executable u user (owner), g group, o others, a all Permission & Ownership chmod Change file/directory permission chown Change file/directory owner Example) chmod a+w file Add W permission to all users chmod o-x file Remove E permission from others chmod 750 file Add R/W/E permission to myself, R/E permission to group no permission to others chown usr:grp file Change ownership of a file/directory r(4) readable, w(2) writable, x(1) executable u(I) user (owner), g(II) group, o(III) others, a all Task 1: Change Permission and Run clock.sh #!/bin/bash 1. Add executable permission to clock.sh while true ; do 2. Run it echo -n " " date +"%r" 3. Terminate the script by Ctrl+c sleep 1 done [~]$ ./clock.sh 02:21:02 PM 02:21:03 PM 02:21:04 PM … Useful Commands env display environmental variables echo/export display/set an environmental variable grep print lines matching a pattern head/tail show first/last several lines sort sort text ps/top display currently running jobs kill/killall terminate a process (not for PBS job) tar archive/unarchive files bc calculator Useful Commands: Example [~]$ env Archive multiple files/directories into [~]$ echo $PATH one file, then compress it. [~]$ export PATH=$PATH:~/bin [~]$ tar cvfz out.tar.gz file1 file2 dir1 [~]$ env | grep PATH Unzip and extract from an archived file. [~]$ env > env.txt [~]$ tar xvfz output.tar.gz [~]$ cat env.txt Display archived file contents [~]$ head (or tail) env.txt [~]$ tar tvfz output.tar.gz [~]$ grep -n knomura env.txt [~]$ sort env.txt | grep -n knomura > env2.txt [~]$ ps -u knomura [~]$ ps -ef | grep knomura [~]$ top [~]$ kill 123456 Special Characters/Commands ~ home directory . current directory .. parent directory * wild card > redirect output >> redirect output (append) <<, <<< here document/string | pipe `command` back quotes, replace `…` with command output Special Characters/Commands tab Complete name of command, file or directory clear/ctrl+l Clear terminal ctrl+a Go to the beginning of line ctrl+e Go to the end of line history Display command history éê Display command history ! Rerun a command in history Outline 1. HPCC Overview 2. Basic Commands and Utilities 3. Text Editor 4. Directory, Software and Account Issues 5. Introduction to Parallel Computing – Compilers (C, Fortran, MPI) – Portable Batch System Text Editor: GNU nano http://www.nano-editor.org/ Text Editor: GNU nano Arrow-keys Move cursor Enter Change line CTRL+a Move to the beginning of line CTRL+e Move to the end of line CTRL+v Move forward one page CTRL+y Move backward one page Text Editor: GNU nano CTRL+o Save file CTRL+w Search text CTRL+d Delete a character CTRL+k Remove a line CTRL+u Paste buffer CTRL+x Save data and exit Task 2: bash scripting 1 #!/bin/bash 2 pi.sh 3 # function definition 4 function pi { 5 6 # max number of RNG. use this for normalization. 7 RANDMAX=32767 8 9 # reset the number dot within a circle 10 in=0 11 for ((n=0; n<${1}; n++)); do 12 x=${RANDOM} 13 y=${RANDOM} 14 z=`echo "(${x}^2 + ${y}^2)/(${RANDMAX}*${RANDMAX})" | bc` 15 16 [ $z -lt 1 ] && let in+=1; 17 done 18 } Task 2: pi.sh 20 # read total number of trial, number of procs 21 echo -n "type total number of trial: " 22 read total 23 24 # call the PI estimator 25 pi ${total} 26 27 echo "total trial=${total} PI = `echo ${in}/${total}*4 | bc -l`" 1. Fix pi.sh with text editor 2. Try 10, 50, 100, 1000 for the total number of trail to see how the result improves Outline 1. HPCC Overview 2. Basic Commands and Utilities 3. Text Editor 4. Directory, Software and Account Issues 5. Introduction to Parallel Computing – Compilers (C, Fortran, MPI) – Portable Batch System System Directories /bin, /sbin executable files (commands) /etc system config files /home users home directories /lib, /lib64, /usr/lib64 library files /proc process information /tmp temporary space /usr/usc software repository Directory and Quota • Home directory /home/rcf-xx/username Each user has 1 GB of disk quota and 100,000 files of file quota • Project directory /home/rcf-proj/projectid Quota on project directory varies depending on each project. If you need more space, send a request from HPCC website Monitoring Your Quota: myquota myquota shows the quota on your home & project directories. ----------------------------------------- • Program may crash due to Disk Quota for knomura ID 55302 the quota, being unable to Used Soft Hard write files in either home Files 8146 100000 101000 directory or project Bytes 839.56M 4.30G 4.30G ----------------------------------------- directory Disk Quota for /home/rcf-proj/hpcc ID 419 • Pay attention to the file Used Soft Hard quota (max number of Files 400792 1000000 1100000 files) also. Bytes 236.94G 400.00G 402.00G ----------------------------------------- Account, Balance & core-hour • To be able to submit your jobs to the HPCC cluster, your account needs some balance (core-hour) • Whenever your job finishes (successfully or unsuccessfully), your account is charged by the number of processors used times the wallclock time the job spent Example) If you request 2 nodes with 4 processors per nodes for 2 hours (-l nodes=2:ppn=4,walltime=2:00:00), the total charge is 2x4x2 = 16 core-hour. Monitoring Your Balance: mybalance mybalance shows the current balance of your account [~]$ mybalance -h Balance Name ----------- ------ 11106267.27 lc_an 20000.00 lc_kn1 - Job will not start if your balance is not enough. - Submit a request from HPCC website for additional core-hour. - Make sure the ppn value matches with the number of processors actually used. (Don’t use ppn=12 for single- core job!) Software Repository: /usr/usc Many applications are available. Compilers: gnu, intel, pgi Numerical Libraries: mpich, openmpi, cuda, fftw, petsc Molecular Simulation: NAMD, gromacs, amber Quantum Chemistry: gaussian, schrodinger Numerical Environment: matlab, R, python hpc-login1.usc.edu for 32-bit applications hpc-login2.usc.edu for 64-bit applications Software Repository: /usr/usc How to use the installed software on HPCC: - Find application and version you want to use - Source setup script.
Recommended publications
  • Editores, Compilación Y Ejecución)
    Guía práctica de estudio 06: Entorno de C (editores, compilación y ejecución) Elaborado por: Ing. Laura Sandoval Montaño Juan Francisco De reza Trujillo Guía práctica de estudio 06: Entorno de C (editores, compilación y ejecución) Objetivo: Conocer y usar los ambientes y herramientas para el desarrollo y ejecución de programas en Lenguaje C, como editores y compiladores en diversos sistemas operativos. Actividades: . Utilizando un editor de GNU/Linux, crear un archivo de texto . Modificar/actualizar un archivo ya existente con un editor GNU/Linux. Crear, compilar y ejecutar un programa simple escrito en C en GNU/Linux . En algún entorno de desarrollo de Windows, crear, compilar y ejecutar un programa simple escrito en C. Introducción Un lenguaje de programación permite expresar una serie de instrucciones que podrán ser realizadas por una computadora. Unos de los lenguajes de programación mayormente difundidos es el lenguaje C. Éste es muy utilizado ya que la forma de dar instrucciones es muy cercana a lo que un humano podría abstraer, es decir, las instrucciones no son tal cual las que una computadora podría entender, para ello se necesitaría conocer a fondo el microprocesador, el sistema operativo entre otros aspectos. Por esta razón, C es conocido como un lenguaje de alto nivel, esto significa a que las instrucciones podrían ser entendidas fácilmente por un humano. En contraparte, un lenguaje de bajo nivel, son instrucciones que son cercanas a lo que la máquina puede entender y difícilmente pueden ser comprendidas por una persona que no tenga conocimientos de la máquina en que operarán. Algunos autores consideran al lenguaje C como un lenguaje de mediano nivel, ya que no es totalmente transparente sino tiene elementos que tienen que ver con la arquitectura de la máquina a la hora de programar.
    [Show full text]
  • Linux Fundamentals (GL120) U8583S This Is a Challenging Course That Focuses on the Fundamental Tools and Concepts of Linux and Unix
    Course data sheet Linux Fundamentals (GL120) U8583S This is a challenging course that focuses on the fundamental tools and concepts of Linux and Unix. Students gain HPE course number U8583S proficiency using the command line. Beginners develop a Course length 5 days solid foundation in Unix, while advanced users discover Delivery mode ILT, vILT patterns and fill in gaps in their knowledge. The course View schedule, local material is designed to provide extensive hands-on View now pricing, and register experience. Topics include basic file manipulation; basic and View related courses View now advanced filesystem features; I/O redirection and pipes; text manipulation and regular expressions; managing jobs and processes; vi, the standard Unix editor; automating tasks with Why HPE Education Services? shell scripts; managing software; secure remote • IDC MarketScape leader 5 years running for IT education and training* administration; and more. • Recognized by IDC for leading with global coverage, unmatched technical Prerequisites Supported distributions expertise, and targeted education consulting services* Students should be comfortable with • Red Hat Enterprise Linux 7 • Key partnerships with industry leaders computers. No familiarity with Linux or other OpenStack®, VMware®, Linux®, Microsoft®, • SUSE Linux Enterprise 12 ITIL, PMI, CSA, and SUSE Unix operating systems is required. • Complete continuum of training delivery • Ubuntu 16.04 LTS options—self-paced eLearning, custom education consulting, traditional classroom, video on-demand
    [Show full text]
  • The Unix Shell Introduction to the Shell Files and the File System Creating and Deleting Files
    The Unix Shell Introduction to the shell Files and the file system Creating and deleting files Copyright © Software Carpentry 2010 This work is licensed under the Creative Commons Attribution License See http://software-carpentry.org/license.html for more information. The Unix Shell Introduction Copyright © Software Carpentry 2010 This work is licensed under the Creative Commons Attribution License See http://software-carpentry.org/license.html for more information. The Unix Shell Introduction The Unix Shell Introduction Run Programs The Unix Shell Introduction Run Store Programs Data The Unix Shell Introduction Run Store Programs Data Communicate with each other The Unix Shell Introduction Run Store Programs Data Communicate Interact with each other with us The Unix Shell Introduction Interact with us The Unix Shell Introduction Interact with us Telepathy The Unix Shell Introduction Interact with us Telepathy Speech The Unix Shell Introduction Interact with us Telepathy Speech WIMP (windows, icons, mice, pointers) The Unix Shell Introduction Interact with us Rewiring Telepathy Speech WIMP The Unix Shell Introduction Interact with us Rewiring Telepathy Typewriter Speech WIMP The Unix Shell Introduction Typewriter The Unix Shell Introduction Typewriter Line printer + keyboard The Unix Shell Introduction Typewriter Line printer + keyboard Text only The Unix Shell Introduction Typewriter Line printer + keyboard Text only The Unix Shell Introduction Typewriter Line printer + keyboard Text only CLUI: command-line user interface The Unix Shell
    [Show full text]
  • Introduction to Unix / Linux
    The Unix and GNU / Linux command line The Unix and GNU / Linux command line Michael Opdenacker Free Electrons http://free-electrons.com Created with OpenOffice.org 2.x The Unix and GNU / Linux command line © Copyright 2004-2007, Free Electrons Creative Commons Attribution-ShareAlike 2.5 license http://free-electrons.com Oct 5, 2007 1 Rights to copy Attribution ± ShareAlike 2.5 © Copyright 2004-2007 You are free Free Electrons to copy, distribute, display, and perform the work [email protected] to make derivative works to make commercial use of the work Document sources, updates and translations: Under the following conditions http://free-electrons.com/training/intro_unix_linux Attribution. You must give the original author credit. Corrections, suggestions, contributions and Share Alike. If you alter, transform, or build upon this work, you may distribute the resulting work only under a license translations are welcome! identical to this one. For any reuse or distribution, you must make clear to others the license terms of this work. Any of these conditions can be waived if you get permission from the copyright holder. Your fair use and other rights are in no way affected by the above. License text: http://creativecommons.org/licenses/by-sa/2.5/legalcode The Unix and GNU / Linux command line © Copyright 2004-2007, Free Electrons Creative Commons Attribution-ShareAlike 2.5 license http://free-electrons.com Oct 5, 2007 2 Best viewed with... This document is best viewed with a recent PDF reader or with OpenOffice.org itself! Take
    [Show full text]
  • The Linux Command Line
    The Linux Command Line Second Internet Edition William E. Shotts, Jr. A LinuxCommand.org Book Copyright ©2008-2013, William E. Shotts, Jr. This work is licensed under the Creative Commons Attribution-Noncommercial-No De- rivative Works 3.0 United States License. To view a copy of this license, visit the link above or send a letter to Creative Commons, 171 Second Street, Suite 300, San Fran- cisco, California, 94105, USA. Linux® is the registered trademark of Linus Torvalds. All other trademarks belong to their respective owners. This book is part of the LinuxCommand.org project, a site for Linux education and advo- cacy devoted to helping users of legacy operating systems migrate into the future. You may contact the LinuxCommand.org project at http://linuxcommand.org. This book is also available in printed form, published by No Starch Press and may be purchased wherever fine books are sold. No Starch Press also offers this book in elec- tronic formats for most popular e-readers: http://nostarch.com/tlcl.htm Release History Version Date Description 13.07 July 6, 2013 Second Internet Edition. 09.12 December 14, 2009 First Internet Edition. 09.11 November 19, 2009 Fourth draft with almost all reviewer feedback incorporated and edited through chapter 37. 09.10 October 3, 2009 Third draft with revised table formatting, partial application of reviewers feedback and edited through chapter 18. 09.08 August 12, 2009 Second draft incorporating the first editing pass. 09.07 July 18, 2009 Completed first draft. Table of Contents Introduction....................................................................................................xvi
    [Show full text]
  • GNU Nano a Small and Friendly Text Editor Version 2.8.7
    GNU nano a small and friendly text editor version 2.8.7 Chris Allegretta This manual documents the GNU nano editor. This manual is part of the GNU nano distribution. Copyright c 1999-2009, 2014-2017 Free Software Foundation, Inc. This document is dual-licensed. You may distribute and/or modify it under the terms of either of the following licenses: * The GNU General Public License, as published by the Free Software Foun- dation, version 3 or (at your option) any later version. You should have re- ceived a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/. * The GNU Free Documentation License, as published by the Free Software Foundation, version 1.2 or (at your option) any later version, with no Invari- ant Sections, no Front-Cover Texts, and no Back-Cover Texts. You should have received a copy of the GNU Free Documentation License along with this program. If not, see http://www.gnu.org/licenses/. You may contact the author by e-mail: [email protected] 1 1 Introduction GNU nano is a small and friendly text editor. Besides basic text editing, nano offers many extra features, such as an interactive search-and-replace, undo/redo, syntax coloring, smooth scrolling, auto-indentation, go-to-line- and-column-number, feature toggles, file locking, backup files, and interna- tionalization support. The original goal for nano was to be a complete bug-for-bug emulation of Pico. But currently the goal is to be as compatible as possible while offering a superset of Pico's functionality.
    [Show full text]
  • Introduction to Unix / Linux
    Introduction to Unix and GNU / Linux Introduction to Unix and GNU / Linux Michael Opdenacker Free Electrons http://free-electrons.com Introduction to Unix and GNU / Linux © Copyright 2004, Michael Opdenacker GNU Free Documentation License http://free-electrons.com 1 Thanks To the OpenOffice.org project, for their presentation and word processor tools which satisfied all my needs. To the Handhelds.org community, for giving me so much help and so many opportunities to help. To the members of the whole Free Software and Open Source community, for sharing the best of themselves: their work, their knowledge, their friendship. To people who sent comments and corrections: Jeff Ghislain Introduction to Unix and GNU / Linux © Copyright 2004, Michael Opdenacker GNU Free Documentation License http://free-electrons.com 2 Copying this document © 2004, Michael Opdenacker [email protected] This document is released under the GNU Free Documentation License, with no invariant sections. Permission is granted to copy and modify this document provided this license is kept. See http://www.gnu.org/licenses/fdl.html for details Document updates available on http://free-electrons.com/training/intro_unix_linux Corrections, suggestions and contributions are welcome! Introduction to Unix and GNU / Linux © Copyright 2004, Michael Opdenacker GNU Free Documentation License http://free-electrons.com 3 Document history Unless specified, contributions are from Michael Opdenacker Sep 28, 2004. First public release Sep 20-24, 2004. First session for Atmel, Rousset (France) Introduction to Unix and GNU / Linux © Copyright 2004, Michael Opdenacker GNU Free Documentation License http://free-electrons.com 4 About this document This document is first of all meant to be used as visuals aids by a speaker or a trainer.
    [Show full text]
  • Learning GNU C
    Learning GNU C Learning GNU C A C programming tutorial for users of the GNU operating system. Ciaran O'Riordan A C programming tutorial for users of the GNU operating system. Copyright c 2002, 2003, 2008 Ciaran O'Riordan Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the licence is included in the section entitled \GNU Free Documentation License". Published by... (not published yet) Cover art non existant i Short Contents Preface ::::::::::::::::::::::::::::::::::::::::::::::::: 1 1 Introduction to C ::::::::::::::::::::::::::::::::::::: 3 2 Getting Started::::::::::::::::::::::::::::::::::::::: 7 3 Variables ::::::::::::::::::::::::::::::::::::::::::: 15 4 Flow Control :::::::::::::::::::::::::::::::::::::::: 20 5 Pointers :::::::::::::::::::::::::::::::::::::::::::: 25 6 Structured Data Types :::::::::::::::::::::::::::::::: 28 7 Run-time Memory Allocation::::::::::::::::::::::::::: 32 8 Strings and File I/O :::::::::::::::::::::::::::::::::: 33 9 Storage Classes :::::::::::::::::::::::::::::::::::::: 34 10 The C Preprocessor :::::::::::::::::::::::::::::::::: 37 11 Variable Length Arguments :::::::::::::::::::::::::::: 40 12 Tricks with Functions ::::::::::::::::::::::::::::::::: 41 13 Taking Command Line Arguments :::::::::::::::::::::: 43 14 Using and Writing Libraries ::::::::::::::::::::::::::::
    [Show full text]
  • Survival Command Line
    ABSTRACT Survival This short workshop will provide hands-on overview of commands in a text Terminal. We'll review the handful of commands that are most useful. command line JEAN-YVES SGRO for Text Terminal workshops :14 The Biochemistry Computational Research Facility (BCRF) provides access to a computational computer cluster and hands-on tutorials Image credits: Wingding font icons Workbook – © 2019 – All Rights Reserved Corresponding author: Jean-Yves Sgro - [email protected] - All rights reserved. Instructor: Jean-Yves Sgro, Ph.D Distinguished & Data Scientist II. Biotechnology Center & Biochemistry Dept. Biochemistry Office: 433 Babcock Drive, room 201 Madison WI 53706 Email: [email protected] Survival command-line for Biologists Jean-Yves Sgro December 03,2019 INTRODUCTION ....................................................................................................................................................................... 3 Learning objectives: ............................................................................................................................................................................... 3 TERMINAL AND SHELL .......................................................................................................................................................... 5 Text terminal ............................................................................................................................................................................................ 5 The shell .....................................................................................................................................................................................................
    [Show full text]
  • Environmental Variable
    Introduc)on to Linux Ken-ichi Nomura, Ph.D. Center for High-Performance Compu4ng September 23, 2014 Outline • Center for High-Performance Compung (HPC) • Basic Commands • Permission & Ownership • Text Editor • Environmental Variable • Redirect and Pipe • Process Management • Tips Carol Lile Building Center for High-Performance Compung (HPC) • Foundaon for computaonal research at the University of Southern California. • World-class academic supercomputer center supported through local investments and without naonal funding. • Provides USC faculty and graduate students free access to the facility, HPC tours, trainings and workshops every semester. • Supports USC research groups in variety of disciplines across campuses. Compung Services • Over 2,700 compung nodes (32K CPU cores) on 10G/s Myrinet and 56Gbit/s FDR Infiniband interconnects, 260 GPU (Tesla K20m) nodes • 2.4 PetaBytes of total storage with GPFS, Panasas, Samfs, NFS • Over 320 TeraBytes staging storage with OrangeFS • Cent OS 6.5 Linux, Torque and Moab for resource management and scheduling • Scien(fic so\ware and libraries • Email user support ([email protected]) • Online documentaons (hp://hpcc.usc.edu) Soware Service • a variety of so\ware from commercial (e.g. MaTLaB, Intel & PGI compilers) to open source programs are available • HPC will assist researchers and install so\ware upon request. • Researchers are primarily responsible for so\ware & licenses. amber w cuda intel gnu sas python Pegasus matlab fdtd mathemaca iperf qespresso hdf5 globus gaussian pgi spss qiime libroadrunner hadoop gromacs llvm stata R mpich hdfview lammps boost taxila git openmpi hpctoolkit NaMD cellprofiler bbcp opencv papi petsc schrodinger gurobi openmpi HPC Website hp://hpcc.usc.edu/ - About - Research - User Support - New User Guide - Frequently Asked Ques)ons - Contact Us What is Linux? Graphical User Interface Operang System (OS) Command Line Interface Shell (bash and tcsh) • Shell is a command processor by which users tell the system what to do.
    [Show full text]
  • Getting Started with Linux (Pdf)
    Last Update January 31, 2018 Introduction This Linux tutorial is intended to give you a foundation in how to get the computer to do useful work for you. You won’t be a Linux guru at the end but you will be well on your way and armed with the right knowledge and skills to complete your assignments and programming works. The Command Line Linux has a graphical user interface and it works pretty much like the GUIs on other systems that you are familiar with such as Windows and OSX. This part won’t focus on these as I reckon you can probably figure that part out by yourself. This part will focus instead on the command line. A command line, or terminal, is a text based interface to the system. You are able to enter commands by typing them on the keyboard and feedback will be given to you similarly as text. Opening a Terminal In this part, we will introduce how to open a terminal? If you are on a Linux workstation with GUI, you will easily find the terminal application. But what if you are not in the lab? In that case, you can still work on a lab Linux machine by remote login. SSH is the best choice. To login remotely, you need a ssh client on your local machine. • For Linux and OSX, you don’t need a separate ssh client. Just type ssh commands in your local machine’s terminal. • For Windows, you can use PuTTY or Git Bash to connect a remote machine.
    [Show full text]
  • GNU Nano a Small and Friendly Text Editor Version 2.9.8
    GNU nano a small and friendly text editor version 2.9.8 Chris Allegretta This manual documents the GNU nano editor. This manual is part of the GNU nano distribution. Copyright c 1999-2009, 2014-2017 Free Software Foundation, Inc. This document is dual-licensed. You may distribute and/or modify it under the terms of either of the following licenses: * The GNU General Public License, as published by the Free Software Foun- dation, version 3 or (at your option) any later version. You should have re- ceived a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/. * The GNU Free Documentation License, as published by the Free Software Foundation, version 1.2 or (at your option) any later version, with no Invari- ant Sections, no Front-Cover Texts, and no Back-Cover Texts. You should have received a copy of the GNU Free Documentation License along with this program. If not, see http://www.gnu.org/licenses/. You may contact the author by e-mail: [email protected] 1 1 Introduction GNU nano is a small and friendly text editor. Besides basic text editing, nano offers many extra features, such as an interactive search-and-replace, undo/redo, syntax coloring, smooth scrolling, auto-indentation, go-to-line- and-column-number, feature toggles, file locking, backup files, and interna- tionalization support. The original goal for nano was to be a complete bug-for-bug emulation of Pico. But currently the goal is to be as compatible as possible while offering a superset of Pico's functionality.
    [Show full text]