software:java:mills

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
software:java:mills [2018-08-10 17:38] anitasoftware:java:mills [2021-04-27 16:21] (current) – external edit 127.0.0.1
Line 53: Line 53:
 </code> </code>
  
-Once we are back on the head node, you will need a job submission script to run your java job.  For this simple example, copy ''serial.qs'' from ''/opt/templates/gridengine'' on Mills, name it ''submit.qs'', and modify it to run the ''HelloWorld'' executable.+Once we are back on the head node, you will need a job submission script to run your java job.  For this simple example, copy ''serial.qs'' from ''/opt/shared/templates/gridengine'' on Mills, name it ''submit.qs'', and modify it to run the ''HelloWorld'' executable.
  
 <file bash submit.qs> <file bash submit.qs>
Line 84: Line 84:
 [(it_css:traine)@mills java]$ ls [(it_css:traine)@mills java]$ ls
 HelloWorld.class  HelloWorld.java  submit.qs  submit.qs.o1392329 HelloWorld.class  HelloWorld.java  submit.qs  submit.qs.o1392329
-[(it_css:traine)@farber java]$ qstat +[(it_css:traine)@mills java]$ qstat 
-[(it_css:traine)@farber java]$ cat submit.qs.o1392329 +[(it_css:traine)@mills java]$ cat submit.qs.o1392329 
- +Adding dependency `x11/RHEL6.1` to your environment
-[CGROUPS] UD Grid Engine cgroup setup commencing +
-[CGROUPS] Setting 1073741824 bytes (vmem none bytes) on n038 (master) +
-[CGROUPS]   with core = +
-[CGROUPS] done. +
 Adding package `openjdk/1.8.0` to your environment Adding package `openjdk/1.8.0` to your environment
 Hello, World! Hello, World!
-[(it_css:traine)@farber java]$+[(it_css:traine)@mills java]$
 </code>  </code> 
  
-<note tip>Please review the templates for job submission scripts in ''/opt/templates/gridengine'' on Mills.  If you do not specify any resources, by default you will get 1 core (a simple serial job) on Mills.</note>+<note tip>Please review the templates for job submission scripts in ''/opt/shared/templates/gridengine'' on Mills.  If you do not specify any resources, by default you will get 1 core (a simple serial job) on Mills.</note>
  
  • software/java/mills.1533937104.txt.gz
  • Last modified: 2018-08-10 17:38
  • by anita