More Related Content Similar to Solving BIG problems with Open Source: Condor (20) More from Antonio Sanz Alcober (15) Solving BIG problems with Open Source: Condor1. > Solving Big problems with OS: Condor
> Antonio Sanz (ansanz@unizar.es)
> 09 / Nov / 11
3. 3
> Antonio Sanz
> I3A System Manager
> HERMES HPC cluster sysadmin
> ansanz@unizar.es
> @antoniosanzalc
6. Problema inicial 6
> Dr. Good
> Neurologist
> Alzheimer research
> Process 20000
brain image scans
(1h/image)
> A thousand times.
Maybe two.
3. Sistemas de gestión de colas : Condor
7. Problema inicial 7
> Mrs. Nice
> Santa’s Logistic Officer
> Gift transportation
> Analize 6x10e7 possible
load/reindeers/routes
(10min/analysis)
> Before Christmas!
10. Condor Basics 10
Single queue
3. Sistemas de gestión de colas : Condor
12. Condor Basics 12
Multiple queues
3. Sistemas de gestión de colas : Condor
17. Condor Basics 17
For loops are
your best friends
3. Sistemas de gestión de colas : Condor
18. Condor Basics 18
While loops …
can sometimes be
convinced
3. Sistemas de gestión de colas : Condor
19. Condor Basics 19
Do it yourself !
3. Sistemas de gestión de colas : Condor
25. Condor Basics 25
Fair use of resources
3. Sistemas de gestión de colas : Condor
36. Condor Basics 36
Job list ClassAd
3. Sistemas de gestión de colas : Condor
41. Condor Basics 41
Job running
3. Sistemas de gestión de colas : Condor
45. 45
#!/bin/sh
# I’m hola.sh
echo Hola mundo desde `hostname`
#
# A Hello World .. In Condor!
#
# I’m hello.sub
Universe = vanilla
Executable = hola.sh
Log = hola.log
Output = hola.out
Error = hola.err
Queue
Hello, World !!
48. 48
Something tastier…
#!/bin/sh
# I’m hello2.sh
OUTPUT=hello${1}.result
cat hello.input >> $OUTPUT
cat echo Hello world, I’m job $1 here from
`hostname` > $OUTPUT
# Execute n times with different outputs
Universe = vanilla
Executable = hello2.sh
Transfer_input_files = hello.input
WhenToTransferOutput = ON_EXIT_OR_EVICT
Arguments = $(Process)
Log = hello.log
Output = hello.out
Queue 10
49. 49
Perfect
Simulation
4. Condor Basics – Un cálculo fácil
55. Condor Basics 55
Hadoop Integration
3. Sistemas de gestión de colas : Condor
64. Condor Basics 64
> Conclusiones
3. Sistemas de gestión de colas : Condor
66. 66
Antonio Sanz
ansanz@unizar.es
@antoniosanzalc
Slides here:
http://web.hermes.cps.unizar.es/doc/condor.pdf