{"id":1012,"date":"2019-09-05T15:03:05","date_gmt":"2019-09-05T14:03:05","guid":{"rendered":"https:\/\/portal.supercomputing.wales\/?page_id=1012"},"modified":"2019-09-05T15:03:05","modified_gmt":"2019-09-05T14:03:05","slug":"running-idl-jobs","status":"publish","type":"page","link":"https:\/\/portal.supercomputing.wales\/index.php\/running-idl-jobs\/","title":{"rendered":"Running IDL jobs"},"content":{"rendered":"\n<p>These instructions show how to run parallel IDL jobs on Super Computing Wales. Please contact Huw Morgan (hum2@aber.ac.uk) for more information.<\/p> <p><br> 1. Save the 4<a href=\"https:\/\/portal.supercomputing.wales\/wp-content\/uploads\/2019\/09\/idl_examples.zip\"> example files<\/a> into your home directory and extract the zip file.<\/p> <p><code>$ wget https:\/\/portal.supercomputing.wales\/wp-content\/uploads\/2019\/09\/idl_examples.zip<\/code><\/p> <p><code>$ unzip idl_examples.zip<\/code><\/p> <p><br> 2. Change the home directory line in the IDL code set_sunbird.pro to your appropriate directory. You can first directly test if this is working by running IDL manually on head node (note use of capitals):<\/p> <p><code>$ module load IDL <\/code><\/p> <p><code>$ idl <\/code><\/p> <p><code>set_sunbird,[\u2019sdo\u2019,\u2019stereo\u2019];loads SSW environments for e.g. sdo and stereo <\/code><\/p> <p><br> 3. You are now ready to test the parallel job example:<\/p> <p><code> $ sbatch huwexample_master.sh <\/code><\/p> <p><br> 4. It should work and output a slurm text file, showing progress. It may fail due to lack of IDL licenses (there are only 10). <\/p> <p><br> 5. Check progress with:<\/p> <p><code> $ squeue -u username<\/code><\/p> <p>(replace username with your own user id)<\/p> <p>6. Cancel job with:<\/p> <p><code> $ scancel job_id<\/code><\/p> <p><br> These example files can hopefully serve as a template to running your own parallel jobs.<\/p> <p><\/p> <p><a href=\"https:\/\/portal.supercomputing.wales\/wp-content\/uploads\/2019\/09\/idl_examples.zip\">Example files download<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>These instructions show how to run parallel IDL jobs on Super Computing Wales. Please contact Huw Morgan (hum2@aber.ac.uk) for more information. 1. Save the 4 example files into your home directory and extract the zip file. $ wget https:\/\/portal.supercomputing.wales\/wp-content\/uploads\/2019\/09\/idl_examples.zip $ unzip idl_examples.zip 2. Change the home directory line in the IDL code set_sunbird.pro to your [&hellip;]<\/p>\n","protected":false},"author":8,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_lmt_disableupdate":"","_lmt_disable":"","footnotes":""},"class_list":["post-1012","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/portal.supercomputing.wales\/index.php\/wp-json\/wp\/v2\/pages\/1012","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/portal.supercomputing.wales\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/portal.supercomputing.wales\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/portal.supercomputing.wales\/index.php\/wp-json\/wp\/v2\/users\/8"}],"replies":[{"embeddable":true,"href":"https:\/\/portal.supercomputing.wales\/index.php\/wp-json\/wp\/v2\/comments?post=1012"}],"version-history":[{"count":8,"href":"https:\/\/portal.supercomputing.wales\/index.php\/wp-json\/wp\/v2\/pages\/1012\/revisions"}],"predecessor-version":[{"id":1021,"href":"https:\/\/portal.supercomputing.wales\/index.php\/wp-json\/wp\/v2\/pages\/1012\/revisions\/1021"}],"wp:attachment":[{"href":"https:\/\/portal.supercomputing.wales\/index.php\/wp-json\/wp\/v2\/media?parent=1012"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}