1 / 30

How to Use the SCF in Today’s Environment

Learn how to use currently accessible SCF computers effectively, choose the right machines, edit SAN files on your iMac, and submit jobs to the cluster. Get tricks and info on editors, logging in, and more. Enhance your computing experience today!

mspurgeon
Download Presentation

How to Use the SCF in Today’s Environment

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. How to Use the SCF in Today’s Environment June 13, 2007 DMT Meeting Lisa Coleman, Scott Zentz Denise Cooper, Walt Miller

  2. Topics • Currently Accessible SCF Computers • Which Machines to Use for What • Contact information • So Far and What’s Next • Editing SAN Files from Your iMac (Miller) • Tricks & Info (Cooper) • Submitting a Job to the Cluster (Cooper)

  3. Currently Accessible SCF Computers

  4. Which Machine to Use for What

  5. Contact Information • SCF system malfunctions help@asdsun • ASDC system malfunctions help@sorcerer • Cluster job submittal help@asdsun • NOMAD questions donald.p.garber@nasa.gov • General “How to” type questions help@asdsun

  6. So Far and What’s Next • Recently accomplished goals (CERES DMT) Deployment of the iMacs Migration to the san • Near term goals Maximize use of cluster as intended Move off of thunder and lightning • Long term Move off of lanina Make use of Intel machines on cluster

  7. Editing SAN Files from your iMac Walter Miller SSAI June 13, 2007

  8. Overview • Attaching CERES SAN • Finder • Darwin Terminal • Editors

  9. Attaching SAN Step 1 From Finder, Highlight Go and select Connect to Server Apple K should also bring the next window up

  10. Selecting SAN The CERES SAN is cebu.larc.nasa.gov NFS mount for old system is below SA needs to set this portion up

  11. Logging into SAN Change the name from alias to Manila user name, i.e. miller not Walt Miller

  12. Select Correct Volume

  13. Next Window Select your folder (directory)

  14. Reaching it from Finder

  15. Opening File with Default

  16. Selecting Editor A couple of other editors are shown

  17. Darwin Terminal Mounted file systems under /Volumes Command for various editors

  18. Available Editors • Carbon Emacs • Nedit • TextEditor • TextWrangler • Xcode • Can use file open menu to get to SAN

  19. TextWrangler

  20. Quirks • Some editors will open new file on desktop that the editor is already open, not where terminal is. • TextWrangler will save line numbers to file if using option. • Nedit does not appear as an option from finder. • In Nedit, need to hit enter after selecting folder to list next level. • Different hot keys between editors.

  21. Tricks & Info Denise Cooper SSAI June 13, 2007

  22. Tricks & Info • To log into a different system, eg. Warlock In X11 menu – Select Customize Select Duplicate for Terminal Edit the new Terminal line by double clicking each field Change Terminal to warlock Change the command xterm to the following: xterm –geometry 155x50+130+150 –title WARLOCK –bg “midnight blue” –fg white –fa Monaco –fs 12 –sb –sl 1000 –e sh –c “ssh –Y warlock –p 250 –l cooper” Or xterm –geometery 155x50+130+150 –title WARLOCK –bg “#154031” –fg white –fa Monaco –fs 12 –sb –sl 1000 –e sh –c “ssh –Y warlock –p250 –l cooper”

  23. Tricks & Info • To see color numbers such as “#154031” go to the following: URL://http:houseof3d.com/pete/applets/tools/colors • The above URL was discovered by Taiping Zhang and allows you to move a set of sliders to select color numbers for background and foreground. The colors must be surrounded by quotes and have a # before the six digits as shown above.

  24. Tricks & Info • To mount the SAN disk to your machine: Select Finder In the Finder menu select Go - Connect to Server Make sure to change the name listed to your login name for manila/corregidor and fill in your password and click Connect. A Finder window will appear and you should then select CERES An icon with a globe and CERES underneath will appear on your desktop and you now have access to your directories on the SAN.

  25. Tricks & Info • To edit a file using CarbonEmacs In your .cshrc file add the following line: alias emacs ‘open –a /Applications/Emacs.app’ This will allow you to open emacs directly from a terminal window on your machine. Open a new X11 terminal window on your machine

  26. Tricks & Info cd /Volumes/CERES/instrument-san/development/denise_area/rel4/rcf emacs CER1.1P3_input_find.csh This will bring up an emacs window, remember that the normal menu you are used to seeing on emacs on thunder will be up at the top of your screen on your iMac. You will also notice if you try to emacs the same file on thunder it will tell you that the file is locked. You may also use nedit or any other editor that you prefer, even vi.

  27. Tricks & Info • Editing a FrameMaker document Make sure the FrameMaker document resides on your iMac Open up dingo using the Citrix server on your iMac Select Start – Programs – Adobe – FrameMaker 7.0 – Adobe FrameMaker 7.0 In FrameMaker select File – Open – C$ on ‘Client’ (V:) – select file you want to edit If the Start button does not show up on your dingo server, select MyComputer from the desktop and then select the FrameMaker file from there starting from C$ on ‘Client’ (V: )

  28. Submitting a Job to the Cluster • You may want to look at an example of a script that submits a set of jobs to the cluster where each creates the PCFin, PCF and runs the job on a Node: /CERES/instrument-san/development/denise_area/mac/rcf/jobSubmitter_p This script requires that you have a couple of directories and other scripts in your rcf area: joblogs/ & Ed3_Repro/ You can copy this script and those in Ed3_Repro and edit them to work in your area. Remember that you must source your environment when you submit a job to a cluster node – it does not have the environment that you have on manila carried over to the cluster node, it is a NEW machine, so nothing is set up until you do it in your script. This is the same as how it works in production at ASDC.

  29. Submitting a Job to the Cluster • Things you will need: • Account on manila/corregidor, at this time you can only submit jobs from these two machines • wrapper script • joblogs directory – for your wrapper.sh.oxxxxx & wrapper.sh.exxxxx files • Command to submit a job: • qsub –S /bin/csh –V –o <output_file_directory> –e <error_file_directory> –q <queue_name> <wrapper_script_name> <script variables> OR • qsub –S /bin/csh –V –o <output file directory> -j y –q <queue name> <wrapper script name> <script variables>

  30. Submitting a Job to the Cluster • Examples: • qsub –S /bin/csh –V –o /CERES/instrument-san/rcf/joblogs –e /CERES/instrument-san/rcf/joblogs –q processing /CERES/instrument-san/rcf/Ed3_Repro/wrapper.sh 20070613 FM1 • qsub –S /bin/csh –V –o /CERES/instrument-san/rcf/joblogs –j y –q processing /CERES/instrument-san/rcf/Ed3_Repro/wrapper.sh 20070613 FM1

More Related