March 2, 2005Wah-kai Ngai1 Installation of Geant4 1st HK Simulation Meeting.

Slides:



Advertisements
Similar presentations
Learning Unix/Linux Bioinformatics Orientation 2008 Eric Bishop.
Advertisements

Exploring the UNIX File System and File Security
Linux+ Guide to Linux Certification, Second Edition
Guide To UNIX Using Linux Third Edition
File Management System The way a user or application may access files Programmer does not need to develop file management software You take files for granted.
1 Basics of Linux On linux machine: Login at your home directory Open a “shell” or “terminal” or “xterm” workspace (4) On windows machine Intall linux.
Introduction to Linux/UNIX. History UNIX beginnings in 1969 (Linus Torvalds is born!) AT & T Bell Laboratories (Ken Thompson & Dennis Richie) Working.
Embedded Programming and Robotics Lesson 13 Basic Linux 1.
Software Installation The full set of lecture notes of this Geant4 Course is available at
1 SEEM3460 Tutorial Unix Introduction. 2 Introduction What is Unix? An operation system (OS), similar to Windows, MacOS X Why learn Unix? Greatest Software.
Linux Shell. 2 Linux Command-Line Interface ■ Linux shells: A shell is a command interpreter that allows you to type commands from the keyboard to interact.
Linux Commands LINUX COMMANDS.
CS 141 Labs are mandatory. Attendance will be taken in each lab. Make account on moodle. Projects will be submitted via moodle.
Using Macs and Unix Nancy Griffeth January 6, 2014 Funding for this workshop was provided by the program “Computational Modeling and Analysis of Complex.
Learning basic Unix command IT 325 operating system.
V Avon High School Tech Crew Agenda Old Business –Delete Files New Business –Week 10 Topics: Coming up: –Yearbook Picture: Feb 7 12:20PM.
Welcome to CSE  Name: Di Cao   Classroom: DL357  Class Time: T 8:30am - 9:18am  Office.
Overview of Linux CS3530 Spring 2014 Dr. José M. Garrido Department of Computer Science.
Unix Primer. Unix Shell The shell is a command programming language that provides an interface to the UNIX operating system. The shell is a “regular”
UNIX command line. In this module you will learn: What is the computer shell What is the command line interface (or Terminal) What is the filesystem tree.
Lesson 7-Creating and Changing Directories. Overview Using directories to create order. Managing files in directories. Using pathnames to manage files.
V Avon High School Tech Crew Agenda Old Business –Delete Files New Business –Week 9 Topics: Coming up: –Yearbook Picture: Feb 7 12:20PM.
Agenda User Profile File (.profile) –Keyword Shell Variables Linux (Unix) filters –Purpose –Commands: grep, sort, awk cut, tr, wc, spell.
Unix Basics Chapter 4.
– Introduction to the Shell 10/1/2015 Introduction to the Shell – Session Introduction to the Shell – Session 2 · Permissions · Users.
CENT 305 Information Systems Security Linux Introduction.
LIN Unix Lecture 3 Hana Filip. LIN UNIX Resources UNIX Tutorials UNIX help for.
File Permissions. What are the three categories of users that apply to file permissions? Owner (or user) Group All others (public, world, others)
Linux+ Guide to Linux Certification, Second Edition
QT - a C++ based GUI QT’s Designer and Assistant.
Chapter Two Exploring the UNIX File System and File Security.
Session 2 Wharton Summer Tech Camp Basic Unix. Agenda Cover basic UNIX commands and useful functions.
INTRODUCTION TO LINUX Jacob Chan. GNU/Linux Consists of Linux kernel, GNU utilities, and open source and commercial applications Works like Unix –Multi-user.
UNIX/LINUX Shells Shell is an UNIX/LINUX command interpreter. Shell command can be internal or external. The code to execute an internal command is part.
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.
Lesson 2-Touring Essential Programs. Overview Development of UNIX and Linux. Commands to execute utilities. Communicating instructions to the shell. Navigating.
ITR3 lecture 6: intoduction to UNIX Thomas Krichel
November 5, 2015CIS 118 Intro to UNIX What’s a Unix? Unix is an Operating System Designed for high-traffic usage Many variants –Linux, BSD: free versions.
Chapter 1 : The Linux System Part 2 Lecture 2 11/14/
Unix Shell Basics Edited from Greg Wilson's "Software Carpentry"
Linux and Java Basics. What is Linux? Operating system by Linus Torvalds that was a clone of Unix (thus Linux) Free and open source – this is the reason.
Linux+ Guide to Linux Certification, Third Edition
Linux+ Guide to Linux Certification, Third Edition
Introduction to Programming Using C An Introduction to Operating Systems.
CSC414 “Introduction to UNIX/ Linux” Lecture 5. Schedule 1. Introduction to Unix/ Linux 2. Kernel Structure and Device Drivers. 3. System and Storage.
Λειτουργικά Συστήματα – Lab2 Γιάννης Πετράκης. Directory Navigation and Control  The Unix file system is set up like a tree branching out from the root.
Linux A practical introduction. 1)Background and Getting Started Linux is an operating system with multiple providers Red Hat/CentOS (our version) Ubuntu.
The Kernel At a high level, the kernel in an operating system serves as the bridge between applications and the actual data processing of the hardware.
 Last lesson, the Windows Operating System was discussed along with the Windows command shell  Unix is a computer operating system, that similarly manages.
1 CS3695 – Network Vulnerability Assessment & Risk Mitigation – Introduction to Unix & Linux.
Learning basic Unix command It 325 operating system.
Embedded Software Design Week II Linux Intro Linux Kernel.
Learning Unix/Linux Based on slides from: Eric Bishop.
INTRODUCTION TO SHELL SCRIPTING By Byamukama Frank
UNIX To do work for the class, you will be using the Unix operating system. Once connected to the system, you will be presented with a login screen. Once.
Commands Basic syntax of shell commands UNIX or shell commands have a basic structure command -options target command comes first (such as cd or ls) any.
Andy Wang Object Oriented Programming in C++ COP 3330
Some Linux Commands.
The Command Prompt Commands are the way to “do things” in Unix
The Linux Operating System
Introduction to GNU/Linux (Fedora) Command Line Interface
Lab 1 introduction, debrief
Exploring the UNIX File System and File Security
Software Installation
Andy Wang Object Oriented Programming in C++ COP 3330
UNIX/LINUX Commands Using BASH Copyright © 2017 – Curt Hill.
Linux Shell Script Programming
Software Installation, release 4.0
Lab 2: Terminal Basics.
Linux Commands LINUX COMMANDS.
Presentation transcript:

March 2, 2005Wah-kai Ngai1 Installation of Geant4 1st HK Simulation Meeting

March 2, 2005Wah-kai Ngai2 Objectives Introduction to UNIX To show you how to install the Geant4 package for Windows and Linux

March 2, 2005Wah-kai Ngai3 UNIX File System Each node is either a FILE or a DIRECTORY Specify a file or a directory by its PATH NAME Full path name starts with the root, /, and follows the branches of the file system, each separated by /, e.g., /home/wkngai/phy1000

March 2, 2005Wah-kai Ngai4 UNIX Programs A program in UNIX can be: a shell script, a built-in shell comman, or a source compiled object coded file A shell is a command line interpreter. E.g., sh, csh, tcsh

March 2, 2005Wah-kai Ngai5 Terminal Type Should be set to match the terminal in use “vt100” works for most computers “xterm” for X-Terminal, you should use this one in the future whenever you need visualization

March 2, 2005Wah-kai Ngai6 UNIX Command Line Structure A command is a program that tells the UNIX system to do something: command [options] [arguments] e.g. lpr -Plj326 -# 2 file will send 2 copies of file to the printer in this room Whenever you don’t know how to use a command, try this: man command

March 2, 2005Wah-kai Ngai7 Directory Navigation & Control CommandWhat it does cd [directory]Change directory ls [options] [directory or file]List directory contents or file permission mkdir [options] [directory]Make a directory pwdPrint current working directory rmdir [options] [directory]Remove a directory

March 2, 2005Wah-kai Ngai8 File Maintenance Control CommandWhat it does chmod [options] fileChange file or directory access permissions chown [options] owner fileChange the ownership of a file cp [options] file1 file2Copy file1 into file2 mv [options] file1 file2Move file1 into file2 rm [options] fileRemove a file or directory (-r recursively delete directory and its contents)

March 2, 2005Wah-kai Ngai9 Prerequisities -- Windows The default command prompt CANNOT be used to compile codes! Need Cygwin, a set of UNIX-like tools Freely available from HEREHERE Check out this page if you don’t know how to install CygwinCygwin

March 2, 2005Wah-kai Ngai10 Compilers in Windows Microsoft Visual C++.NET 2003 (version 7.1), commercial, you have to setup some environmental variables in the Cygwin startup script g++, free, I suppose it should be installed under Cygwin

March 2, 2005Wah-kai Ngai11 Prerequisities -- Windows Java is needed for visualization and event analysis Does not come with Windows by default Install JAVAJAVA

March 2, 2005Wah-kai Ngai12 Installation Introduction Supported operating systems: i.Linux on PC with g++ ii.Windows XP with Microsoft Visual C++ iii.flavors of Unix Required software: i.C++ compiler ii.CLHEP libraryCLHEP library iii.GNU Make iv.Geant4 toolkit source codeGeant4 toolkit source code

March 2, 2005Wah-kai Ngai13 Installation Procedures 1.Set the necessary environmental variables: G4SYSTEM, specify the operating system G4INSTALL, path where the Geant4 toolkit tree is installed CLHEP_BASE_DIR, path to the CLHEP installation 2. Use the Configure shell script to set other environmental variables for Geant4 3. Compile the source 4.Configure the environment under your account 5.Done………………if no error

March 2, 2005Wah-kai Ngai14 Remark You can use pre-compiled libraries if you know exactly what you are doing Try to install by yourself Read through the official installation guideofficial installation guide