" /> Functional MRI at UCLA: August 2004 Archives

Main | September 2004 »

August 26, 2004

Visual angles for goggles in Allegra room

This comes via email from Steve Engel:

Hi,

For all interested, Erin Harley and Genevieve Heckman from my lab made measurements of the visual angle of the goggles in the Allegra room. The display size is:
Horizontal: 31 deg
Vertical: 23 deg

Best,

Steve Engel

August 24, 2004

Using Sun Grid Engine

Step 1: Setting up the Environment
To use Sun Grid Engine you should add the following to your .tcshrc file in your home directory:
set path = ( /Volumes/local/bin $path )

Step 2: Submitting a job
To submit a script to the cluster type
qsub <scriptname>

Step 2a: Submitting an array job

qsub -t <start value>-<end value>:<increment> <scriptname>
e.g. qsub -t 2-10:2 array_script.sh This goes from 2-10 counting by twos (i.e. 2, 4, 6, 8, 10)

The script should use the $SGE_TASK_ID variable to find out which job number it is, in order to access the correct data file or name the output correctly or whatever.

August 23, 2004

Changing user passwords on cluster

There are two ways of changing your password on the cluster: using the Finder, or the unix 'passwd' command. This document describes both methods in detail:
Changing your password using Finder
Changing your password using 'passwd' command
Changing your password using Finder
Assuming that you are working from a Mac, running OS X, the following steps will allow you to change your password on the cluster (or any other Mac OS X machine you have access to). If you are working from any other type of machine/operating system, you will need to change your password using the passwd command.

Finder Step 1. In the Finder toolbar, select
GO -> Connect to Server.

NOTE: Click on any image to enlarge.
Select Server Step 2. Enter the server address and click on 'Connect'. The cluster address is:
fmri00-miles.hosted.ats.ucla.edu
HINT: if you click on the (+) button after you enter the server address, it will be added to the list of your favorite servers. Next time you connect, you will simply select the cluster from the list, instead of typing the name again.
Select Server Step 3. Enter your username and click on the 'Options...' button. Do not enter the password in this window, since you are going to change it.
Select Server Step 4. In the Options Window, you can check "Add Password to Keychain" which will remember you password for this particular server (after you log in for the first time); then click on 'Change Password...'
Select Server Step 5. Enter you old password, and then choose a new one. Click OK.
Select Server Step 6. If there were no errors setting your new password, you will be returned to the Login Window. You can enter your new password now and log in, or you can select 'Cancel' if you do not wish to connect. Your new password will be saved.
If you have any problems changing your password contact me (see contact info below).
For details about connecting to the server, see... (coming soon)
Changing your password using 'passwd' command
You can use this method to change your password on the cluster from any type of machine/operating system, providing you have an application which allows you to run ssh (Secure Shell) to connect to the remote server. On a Windows machine, you will need to get an ssh application (I believe there are some free downloads available from www.versiontracker.com, but I am not sure. You will need to look elsewhere for help with ssh on Windows.). On any type of unix or linux machine, you should be able to use ssh via an xterm. On a Mac OS X, ssh can be used from the Terminal Application:

NOTE: Click on any image to enlarge.

Step 1. In the Finder window, navigate to the Terminal application. It can be found in Applications -> Utilities -> Terminal.

Finder


Step 2. When you open the Terminal application. you will see a welcome window, similar to this. Other unix/linux users should see a similar xterm window.

Select Server All of the commands in the following steps below should be typed at the prompt. Hit the Return key after every command.

Step 3. Now that the Terminal is open, you will have to connect to the cluster machine. The only way to connect via Terminal, is to use the ssh command. All Mac OS X machines have ssh installed. If you are unsure you have ssh, you can check by typing:

which ssh

and the response should be a full path to where ssh is installed. On an OS X machine, it will be: /usr/bin/ssh. If you get ssh: Command not found. then you either do not have ssh installed, or it is not on your path.
To connect to the cluster type:

ssh username@fmri00-miles.hosted.ats.ucla.edu

where 'username' is the username that was setup for you on the cluster. The remote machine will then ask you for your password:
username@fmri00-miles.hosted.ats.ucla.edu's password:
Type your current password and you will be logged on and welcomed to cluster:

Welcome to Darwin!
[fmri00-miles:~] username%

Step 4. Finally, to change the password type:

passwd

and enter your old (current, the one you used to log in) password:

Changing password for username.
Old password:

You will then be prompted to enter and retype the new password:

Changing password for username.
Old password:
New password:
Retype new password:

And, that's it! You have a new password...

Hello,

and welcome to our new blog for the Apple Cluster Project.