Unix, Remote Computing, and NMR Calculations on a Linux Cluster ‘n1’ at UNCW.

Slides:



Advertisements
Similar presentations
Linux, Remote Computing, and NMR Calculations on a Linux Cluster ‘n1’ at UNCW.
Advertisements

Learning Unix/Linux Bioinformatics Orientation 2008 Eric Bishop.
NETW-240 Shells Last Update Copyright Kenneth M. Chipps Ph.D. 1.
CCPR Workshop Lexis Cluster Introduction October 19, 2007 David Ash.
Cosc 4750 Getting Started in UNIX Don’t be afraid of the prompt, in linux it can be your best friend. In some cases, the only way to do certain things.
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.
Introducing the Command Line CMSC 121 Introduction to UNIX Much of the material in these slides was taken from Dan Hood’s CMSC 121 Lecture Notes.
Working Environment - - Linux - -.
T UTORIAL OF U NIX C OMMAND & SHELL SCRIPT S 5027 Professor: Dr. Shu-Ching Chen TA: Samira Pouyanfar Spring 2015.
CS1020: Intro Workshop. Topics CS1020Intro Workshop Login to UNIX operating system 2. …………………………………… 3. …………………………………… 4. …………………………………… 5. ……………………………………
Dayu Zhang 9/3/2014 Lab01. Lab Instructor: Dayu Zhang Office Hour Mon/Wed 10:40am – 11:10am Room A201 Lab Website
Understanding the Basics of Computational Informatics Summer School, Hungary, Szeged Methos L. Müller.
L INUX C OMMAND L INE I NTERFACE G UNAANBAN.G
CS 141 Labs are mandatory. Attendance will be taken in each lab. Make account on moodle. Projects will be submitted via moodle.
Notes Assignment #1 is due next Friday by 11:59 pm via Test #1 will be held Thursday February 18 at the start of class (one period long) Format:
Help session: Unix basics Keith 9/9/2011. Login in Unix lab  User name: ug0xx Password: ece321 (initial)  The password will not be displayed on the.
Chapter 9 Part II Linux Command Line Access to Linux Authenticated login using a Linux account is required to access a Linux system. The Linux prompt will.
Linux Directory Navigation. File & Directory Commands This is a minimal list of Unix commands that you must know for file management: ls (list) mkdir.
Linux environment ● Graphical interface – X-window + window manager ● Text interface – terminal + shell.
Computational Chemistry, WebMO, and Energy Calculations
Essential Unix at ACEnet Joey Bernard, Computational Research Consultant.
Cmsc 312 Operating Systems. UNIX? DOS – PC? VAX/VMS - mainframe Unix – PC, workstation, mainframe 1970 bell Lab For computer scientist? Why popular? Free.
HPC at HCC Jun Wang Outline of Workshop1 Overview of HPC Computing Resources at HCC How to obtain an account at HCC How to login a Linux cluster at HCC.
AN INTRO TO UNIX/LINUX COMMANDS BY: JIAYANG WANG.
The UNIX development environment CS 400/600 – Data Structures.
LINUX Tuesday, 5 July :00 pm. Remote Login l Use Secure Shell (ssh) l Machine name/IP address E.g. ssh hydra.sma.nus.edu.sg Or ssh
1 Editing a C Program 01/16/15. 2 Objective Use Linux to edit, compile and execute a C program.
PROGRAMMING PROJECT POLICIES AND UNIX INTRO Sal LaMarca CSCI 1302, Fall 2009.
Getting started: Basics Outline: I.Connecting to cluster: ssh II.Connecting outside UCF firewall: VPN client III.Introduction to Linux IV.Intoduction to.
L&T Infotech1 UNIX – Getting Started - Aneesh Ramani.
Introduction to UNIX Geraint Vaughan. What is UNIX? Command-line operating system (not point- and click) Designed for ‘experts’ Lots of different variants.
Basic Unix Commands CGS 3460, Lecture 6 Jan 23, 2006 Zhen Yang.
Unix and Samba By: IC Labs (Raj Kidambi). What is Unix?  Unix stands for UNiplexed Information and Computing System. (It was originally spelled "Unics.")
1May 16, 2005 Week 2 Lab Agenda Command Line FTP Commands Review More UNIX commands to learn File name expansion - * Introduction of vi.
Week Two Agenda Announcements Link of the week Use of Virtual Machine Review week one lab assignment This week’s expected outcomes Next lab assignments.
More on Using onyx 8/28/13. Program 1 Due a week from today. See website for details.
AN INTRO TO UNIX/LINUX COMMANDS BY: JIAYANG WANG.
1 Introduction to Unix. 2 What is UNIX?  UNIX is an Operating System (OS).  An operating system is a control program that helps the user communicate.
 Last lesson, the Windows Operating System was discussed along with the Windows command shell  Unix is a computer operating system, that similarly manages.
Linux Tutorial Lesson Two *Getting Help in Linux *Data movement and manipulation *Relative and Absolute path *Processes Note: see chapter 1,2,3 from Linux.
Learning Unix/Linux Based on slides from: Eric Bishop.
Assignprelim.1 Assignment Preliminaries © 2012 B. Wilkinson/Clayton Ferner. Modification date: Jan 16a, 2014.
CMSC 104, Version 9/011 Operating Systems and Using Linux Topics What is an Operating System? Linux Overview Frequently Used Linux Commands Reading None.
CS:414 introduction to Unix and Linux
UNIX Basics Matt Hayward October 18, 2016 LS560 – Information Technology for information professionals.
GRID COMPUTING.
ENEE150 Discussion 01 Section 0101 Adam Wang.
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.
First Day in Lab Making a C++ program
Tutorial of Unix Command & shell scriptS 5027
CS1010: Intro Workshop.
Getting started with CentOS Linux
Web Programming Essentials:
Prepared by: Eng. Maryam Adel Abdel-Hady
UNIX The Basics Source:
Andy Wang Object Oriented Programming in C++ COP 3330
Assignment Preliminaries
Practice #0: Introduction
Tutorial of Unix Command & shell scriptS 5027
Tutorial of Unix Command & shell scriptS 5027
Operating Systems and Using Linux
Operating Systems and Using Linux
Web Programming Essentials:
Tutorial of Unix Command & shell scriptS 5027
Getting started with CentOS Linux
Andy Wang Object Oriented Programming in C++ COP 3330
Chapter 2 Basic vi Editor.
Tutorial Unix Command & Makefile CIS 5027
DIBBs Brown Dog Tutorial Setup
Presentation transcript:

Unix, Remote Computing, and NMR Calculations on a Linux Cluster ‘n1’ at UNCW

Objectives Certain carbocations may exist as structures in which the positive charge is localized mainly on one carbon (classical) or spread over several carbons (non- classical) due to bridging or other delocalization. In this lab we will do calculations to predict the lowest energy structure for a given carbocation. We will also calculate the NMR shielding values of the carbon atoms in the cations.

The difference in the sum of the carbon atom isotropic shielding values between the parent hydrocarbon and the cation (which is equal to the difference in the sum of their chemical shifts) have been correlated to the nature of the carbocation (classical or non-classical). If the absolute difference (hydrocarbon parent- cation) is >350 ppm, the cation is considered to be classical; if the difference is <250 ppm, it is considered to be non-clasical.

NMR Isotropic Shielding Values (Gaussian mistakenly reports these as Isotropic Shielding Tensors) Differences in shielding values = differences in chemical shifts

Ethane/ethyl/bridged ethenium ion Isotropic Shielding Values (in ppm ) Difference from 388: (classical) (~non-classical) = (-118) = = 122

Objectives… Because NMR calculations require large basis sets for accuracy, you will use a computer faster than a pc; these calculations will be performed remotely on an 8 processor Linux cluster at UNCW. This machine is a Linux-based platform, so you will need to learn how to do remote computing and a few Unix commands. You will also learn how to use Gaussian 03, a widely used quantum chemistry computational software package.

Logging on to a remote computer We’ll use puTTy (icon in Applications folder) for secure connections to logon to: n1.dobo.uncw.edu (this is Linux cluster, called ‘n1’) Login (on n1): martin password: (I’ll enter this)

Unix Commands Useful Unix commands: pwd (tells you what directory you are in) mkdir NMR (makes a new directory named NMR) ls –la (gives a complete listing of files in directory) cd.. (changes directories to the next higher directory) cd ~ (changes directories to your home, or login dir.) cp filename1.dat filename2.dat (makes a copy of a file, giving it a different filename)

Other useful Unix commands cp filename1.dat dirname1/filename2.dat (makes a copy of a file, saves it in a different directory and gives it a different filename) mv filename1.dat dirname2/filename1.dat (moves a file to a different directory, keeping the same name) mv filename1.dat dirname2/filename2.dat (moves a file to a different directory, and changes the filename) rm filename1.dat (removes (deletes) a file) rmdir dirname1 (removes (deletes) a directory; it must be empty first; could use rm dirname1 –r, but this is dangerous exit (or logout) (logs you off the computer)

vi text editor commands vi filename.dat (opens filename.dat in text editor; must be in same directory as file, or else must use pathname/filename) i (enters insert mode; Esc gets you out of any mode) a (enters append mode; Esc gets you out of any mode) x (enters delete mode; Esc gets you out of any mode) r (single character overstrike mode; upper case R is for multiple character overstrike mode) dd (deletes entire line) ZZ (exits vi editor, saving changes) :q! (exits vi editor without saving changes)

Editing an input file for Gaussian Gaussian 03 requires input files with a.dat (or.com) extension The file must be in a certain format, shown on the following slide Spacing is critical (blank spaces or no spaces and blank lines must be exactly as called for) The molecule description (Cartesian coordinates or Z-matrix) is free-form; any number of spaces between adjacent columns is OK

Format of Gaussian input file %chk=/tmp/yourdirname/filename.chk # HF/6-31++G** nosymm opt freq (blank line) (title or any comments you wish to add go here) (blank line) 1 1 (charge & multiplicity ) [molecular specification…XYZ coordinates or Z-matrix goes here] (blank line) --Link1-- %chk=/tmp/yourdirname/filename.chk # HF/6-31++G** geom=allcheckpoint nosymm pop=npa nmr (blank line) (the red section is a link to an nmr job)

Submitting a Gaussian job An executable script called xg03 has been written to automate the submission process for Gaussian 03 calculations. xg03 filename.dat

Checking on a Gaussian job After a job has been submitted, note the.job and.out files in your directory; an.error file indicates a finished job. A copy of the.out file may be viewed at any time without interrupting the calculation; type cat filename.out to scroll through the file very quickly to the end; use the elevator bar to go back into the file. Alternatively, use more filename.out and the spacebar to view the file one screen at a time

Objectives for Tuesday’s lab Logon to the account Create a directory for your scratch files: mkdir /tmp/425_nhm Make a copy of the H.dat file to a file having your initials in the filename: cp H.dat Hnhm.dat Use the vi editor to edit the file H.dat

Objectives for Tuesday’s lab vi Hnhm.dat (use vi editing commands to change the directory and filename in the first line) submit H.dat for Gaussian 03 calculation. xg03 Hnhm When the job is finished, examine the output file: more Hnhm.out

Objectives for Tuesday’s lab Build a model of each of your isomeric carbocations in Titan Optimize each of them using semi-empirical MO theory (AM1 or PM3). If this changes the structure from what you want, re-build the structure using constraints if needed and skip the semi-empirical MO optimization step. Save the structures as.pdb files Open them in GaussView; save them as Cartesian Coordinate files (with a.dat extension). Note the atom numbering. A sketch or a copy of the structure with atom numbers will be helpful.

Objectives for Tuesday’s lab… Edit the.dat files using Notepad on a pc or vi on ‘n1’ to conform to the Gaussian 03 format used by n1. (see handout) Use WINSCP3 to copy the files to an account on n1 (our Linux cluster). Alternatively, use puTTY to access n1, then open a new file in vi, then copy and paste your.dat file. Submit them by typing the command: xg03 filename.dat

Visualizing Gaussian results Transmit a copy of the.out file from n1 to the local pc; this is done using WINSCP3. We use a program GaussView that opens Gaussian.out files and renders models of structures in various types of representations. Observe each structure and make measurements on each structure as needed to determine if it is a classical or non-classical carbocation.

Objectives for the Next lab Repeat the entire process, this time modeling the parent hydrocarbon (alkane). Perform the data analysis, including calculating the difference in the sums of the chemical shielding values between the parent hydrocarbon and each carbocation structure. Visualize the carbocations, copy the structure to put in your report, and make measurements as needed to determine whether each is classical or non-classical.

Objectives for the Next lab… Also obtain the NMR Isotropic Shielding values and the npa charges on the carbon atoms in each structure. These can be done using the vi editor and some commands (e.g., grep) as indicated in the lab handout. Analyze the data (NMR shielding values, npa charges, energies, bond lengths and bond angles) to determine whether the carbocation you modeled exists as a classical or non-classical structure, according to the HF/6-31++G** calculations.