Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

CSCI260 Lab 1: Account and Environment Setup for Spring 2009 - Prof. Larry E. Johnson, Lab Reports of Computer Science

The steps to complete lab 1 for the csci260 course in spring 2009. It covers account setup on isengard, creating a .forward file, environment setup, and working with fortran programs. Students will learn how to set up their accounts, create directories, and compile and run fortran programs.

Typology: Lab Reports

Pre 2010

Uploaded on 08/19/2009

koofers-user-g75-1
koofers-user-g75-1 🇺🇸

5

(1)

10 documents

1 / 4

Toggle sidebar

Partial preview of the text

Download CSCI260 Lab 1: Account and Environment Setup for Spring 2009 - Prof. Larry E. Johnson and more Lab Reports Computer Science in PDF only on Docsity! CSCI260 Lab 1 Spring 2009 Due: 11:59 PM, Wednesday, January 14, 2009 Objective: The objective of this lab is to gain familiarity with the development environment and submission process used in this course. I. Account Setup (Note: This should be completed prior to the lab on Friday) Setting up an account on isengard. You must have an account in order to complete the lab assignments for this course. Note: If you have not taken EPICS, you will also need to set up an account to be able to use the PC networks within the computing center. Check with the help desk at the Computing Center. If you do not already have an account on isengard, you must do the following: 1. Find your PIN or User Authorization Code ( E Key, the number you used to set up your email account on slate. If you have lost your Pin or do not have one, go to the Green Center and ask a member of the Front Desk staff to help you). 2. To set up your account on campus, go to http://newuser.mines.edu/isengard and follow the directions. 3. You may also set up your account from home if you have Internet or modem connectivity. 4. It takes some time for your account to become active. You will not be able to continue with the lab until it is activated. Section 2 - Creating a .forward file. You will do this just once, at the beginning of the semester, so that email sent to you on isengard (e.g., class messages, graded labs) will be forwarded to your primary mail account. 1. Log onto the isengard computer (part of the Edlab Cluster).  Log onto the PC network.  From the All Applications folder/window, select Xwin32. An X-win32 icon that looks like an 'X' will appear on the bottom of your screen.  Run the SSH (Secure Shell) program. Double click on icon if on desktop or from MS run-command type sshclient . Create a profile for isengard within Secure Shell. Click on "Profiles" Cilck on "Add profile" In the Add Profile window, type "isengard" and press Enter Back on the main SSH window, click on "Profiles" Click on "Edit profiles" In the window on the left, click on "isengard" (the profile you just added) Select the "Tunneling" tab Check the "Tunnel X11 connections" option Click "OK"  Select the isengard profile, and enter your isengard password. 2. Create your .forward file. NOTE: In the future, you may use whatever text editor you prefer. For this lab, you will learn how to use xemacs, as it provides the ability to have multiple windows open at once and many students find it very useful. xemacs .forward & This command creates and opens a file called .forward. NOTICE the & following the file name (.forward). This character puts xemacs in the background, which allows CSCI260 Lab 1 Spring 2009 two windows to operate. You will find this especially useful later, when we work with programs in several files. It's a good habit to get into now. You only need to type one line into the file: <yourUserName>@<YourMailReadingArea> Ex: jdoe@mines.edu for user John Doe to receive messages via his webmail account. 3. Save the file and close the editor. 4. To verify that you successfully created the file, create a listing of the directory contents: ls -a Make sure you see .forward 5. Send a message to yourself (or ask your instructor to send you a message) to verify that your .forward file is working. If the message is not forwarded, make sure the file is not group writable. Type: chmod 600 .forward If you type: ls -la You should see a line that starts with: -rw------- II. Environment Setup. It’s important to do all your work for csci260 within the area that you are going to create. 1. Create a link to your directory in the csci260a class area. You will not need to repeat this step again. ln –s ~csci260a/users/<yourUserName> ~<yourUserName>/csci260a Ex: ln –s ~csci260a/user/lejohnso ~lejohnso/csci260a 2. Test the link to your user directory. Remember to replace the underline w/ your section letter. You should do this step every time you begin to do work for this class. cd cssci260a 3. View the contents of your directory. For today, there should be no files but in the future you will see a list of directories containing work done for this course. ls 4. Create a lab1 subdirectory so that you can keep your workspace organized. You will do a step similar to this for each lab assignment. Organizing your work will help you avoid losing or redoing work. mkdir lab1 cd lab1
Docsity logo



Copyright © 2024 Ladybird Srl - Via Leonardo da Vinci 16, 10126, Torino, Italy - VAT 10816460017 - All rights reserved