01 October 2012 Here's an experiment which will show whether or not you have gotten an account on the FSU HPC cluster, and have access to the classroom queue. It will also give you a little practice in working with the HPC cluster. 1) Save the file "here.sh". 2) Establish an sftp connection with the cluster: sftp sc.hpc.fsu.edu (If your account is not set up, this will fail). 3) Copy the file up to the cluster, then quit. put here.sh quit 4) Log into the HPC cluster: ssh sc.hpc.fsu.edu 5) Using an "ls" command, you should notice that the file "here.sh" is there in your login directory. ls 6) The file contains commands, and can actually be "executed". Do that by typing the following command: bash here.sh You should see something like the following: " Hello from a C program which started life as a here document! The 'here document' was successfully compiled and run!" 7) This same file can be run on the cluster. Use this command: msub here.sh If you don't have access to the queue, you should be a message saying so. Otherwise, your commands get sent to the cluster for execution, and you must wait for the results to come back. After a short time, perhaps less than a minute, you should see a new file in your directory, with some mysterious name like "here.o1234567". You can find out when this file arrives back, and what its name is, by typing "ls". You can look at the contents of this file by typing more here.o1234567 You should see something like the following: " Hello from a C program which started life as a here document! The 'here document' was successfully compiled and run!" 8) Now it's time to log out from the remote ssh session: logout You have now demonstrated that your account is working, and that you can access the classroom queue! If you have any problems getting these commands to work, please let me know! John