(Hd-Hni) Cluster Cornell Center for Advanced Computing

(Hd-Hni) Cluster Cornell Center for Advanced Computing

Introduction to Using the HD Human Neuroscience Institute (hd-hni) Cluster Cornell Center for Advanced Computing hd-hni.cac.cornell.edu http://www.cac.cornell.edu/wiki/index.php?title=HD_Human_Neuroscience_Institute_(HD-HNI)_Computing 17 March 2015 www.cac.cornell.edu 1 Cluster Head Node/Login Node: hd-hni.cac.cornell.edu Scheduler compute-1-1 d interactive-1-1 1 - 1 - interactive FileFile Server: hd-hni-fs /home Cluster Head Node/Login Node: hd-hni.cac.cornell.edu Scheduler compute-1-1 host= interactive-1-1 hd-hni-interactive-1- 1 - 1 - 1.cac.cornell.edu/Login Node interactive FileFile Server: hd-hni-fs /home (22.5TB) It is for your benefit to always use the scheduler. X11 X11 X11 SSH ssh –Y [email protected] / tmp home opt fs01 $HOME ~netid netid ~ COMMON LINUX COMMANDS ls mkdir diff pushd cd fg touch popd cat bg chmod source grep ssh alias sort find if umask sleep less for head pushd echo export tail popd pwd cut top ps exit sed tar nohup rm awk mv time logout make ln date man xargs expr Create your job script Dear Scheduler, I’d like you TODO pwd /home/fs01/netid mkdir bin vi bin/testjob.sh sensible gedit programmer eclipse get-it-done nano do-it-all emacs did what? vi PBS DIRECTIVES Input - Program - Output #!/bin/bash #PBS -l walltime=00:05:00,nodes=1:ppn=4 #PBS -j oe #PBS -N testdefaultqueue #PBS -q default # Turn on echo of shell commands set -x # Because jobs start in the HOME directory, move to submit dir cd $PBS_O_WORKDIR echo 'pwd' echo "PBS_O_WORKDIR is `pwd`" echo "env is `env`" # copy your binary that you want to run and any data files to a local directory on node job is executing on # this example assumes you have a binary file named helloworld.sh in your local bin directory cp $HOME/bin/helloworld.sh $TMPDIR cd $TMPDIR # run the binary file from the local disk on the node the job was placed on ./helloworld.sh >&hello.stdout # Copy output files to your output folder cp -f $TMPDIR/hello.stdout $HOME/output Cluster Head Node/Login Node: hd-hni.cac.cornell.edu Scheduler compute-1-1 /home/fs01/netid/bin $TMPDIR 32 Core 256GB RAM interactive-1-1 $TMPDIR FileFile Server: hd-hni-fs interactive- /home 1dddhost=host=host=ho st=host= pwd /home/fs01/netid mkdir bin vi bin/testjob.sh qsub bin/testjob.sh Queues default blocked eligible removed running completed job file input files scheduler job job out output files • qsub • showq • checkjob • canceljob Interactive –I qsub –I jobscript.sh Matlab • R2012b • R2013a: default • module avail >module load matlab/R2012b >matlab Ganglia Monitor: http://hd-hni.cac.cornell.edu/ganglia/ [email protected] http://www.cac.cornell.edu .

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    22 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us