Java programs - Computer Sciences Dept.

Download Report

Transcript Java programs - Computer Sciences Dept.

A Scientist’s Introduction to
Condor
Barcelona, 2006
Condor Project
Computer Sciences Department
University of Wisconsin-Madison
[email protected]
http://www.cs.wisc.edu/condor
Agenda
Extended user’s tutorial
Advanced Uses of Condor
Java programs
DAGMan
Stork
MW
Grid Computing
Case studies, and a discussion of your
application‘s needs
http://www.cs.wisc.edu/condor
2
Condor Job Universes
• Serial Jobs
•
•
•
•
•
•
Vanilla
Standard
Grid
Scheduler
Local
Java
• Parallel Jobs
• MPI
• PVM
• Parallel
http://www.cs.wisc.edu/condor
3
Java assumptions
 Java programs require a Java Virtual
Machine (JVM)
 Run time environment is specialized
with respect to
 libraries (class implementations)
 I/O
http://www.cs.wisc.edu/condor
4
Condor and Java
 The Java universe identifies jobs such that
Condor can set up the proper environment
 Condor knows which machines have an
installed JVM
 Condor knows the location, version, and
performance of the JVM on each machine
 Condor understands about jar files
 Provides more information about Java job
completion than the JVM exit code
 The program runs in a Java wrapper, allowing
Condor to report Java exceptions
http://www.cs.wisc.edu/condor
5
Java Universe Job
Example Java Universe submit description
file:
Universe
= java
Executable = Main.class
jar_files = MyLibrary.jar
Input
= infile
Output
= outfile
Arguments = Main 1 2 3
Queue
http://www.cs.wisc.edu/condor
6
Java support
% condor_status –java
Name
abulafia.cs
acme.cs.wis
adelie01.cs
adelie02.cs
JavaVendor
Sun Microsy
Sun Microsy
Sun Microsy
Sun Microsy
Ver
1.5.0_
1.5.0_
1.5.0_
1.5.0_
State
Claimed
Unclaimed
Claimed
Claimed
Actv
Busy
Idle
Busy
Busy
LoadAv Mem
0.180
503
0.000
503
0.000 1002
0.000 1002
. . .
http://www.cs.wisc.edu/condor
7