Presentation is loading. Please wait.

Presentation is loading. Please wait.

workshop February 5, 2010 Geert Jan Bex

Similar presentations


Presentation on theme: "workshop February 5, 2010 Geert Jan Bex"— Presentation transcript:

1 VSC@Uhasselt workshop February 5, 2010 Geert Jan Bex geertjan.bex@uhasselt

2 What’s it all good for? Work to do on the cluster: –many things that can be done in parallel –one thing that takes a long time, but can be done in parallel However, the cluster is not a replacement for you desktop/laptop! –HPC: high performance computing –CPU intensive work

3 How to get started? 1.Send email to: hpcinfo@cc.kuleuven.behpcinfo@cc.kuleuven.be 2.Receive a temporary account 3.Follow the procedure at: https://vscentrum.be/vsc-help- center/k.u.leuven-vic-vic3-how- tos/howto-access-the-cluster-vic3 https://vscentrum.be/vsc-help- center/k.u.leuven-vic-vic3-how- tos/howto-access-the-cluster-vic3 4.When approved, get going

4 What can you run? All open source linux software All linux software you have a license for that covers the cluster No Windows software... for now… –pilot project on the way –however, technical & licensing issues

5 VIC3 at work

6 Running MrBayes Run MrBayes on your own computer: On VIC3, create PBS script ‘mrBayes.pbs’: Run the job: #!/bin/bash -l #PBS -N mrBayes-mpi-interleave #PBS -l walltime=71:59:00,nodes=1:ppn=8 module load openmpi/1.2.8_gcc cd $PBS_O_WORKDIR PATH="$HOME/apps/mrbayes-3.1.2-mpi/:$PATH" mpirun mb-mpi interleave_final_Bayes PATH="$HOME/apps/mrbayes-3.1.2/:$PATH" mb interleave_final_Bayes qsub mrBayes.pbs now uses 8 processors!

7 Running R R is not parallelized However, some usage scenario’s can be done in parallel, e.g., –parameter exploration args <- commandArgs(TRUE) a <- as.double(args[1]) b <- as.double(args[2]) result <- c(a, b, soph_func(a + b)) print(result) my-pe.r for (a, b) in {(1.3, 5.7), (2.7, 1.4), (3.4, 2.1), (4.1, 3.8), … }

8 Running R, reloaded Run R on your own computer: For VIC3, create PBS script ‘my-pe.pbs’ and ‘my-data.csv’: Run the job: #!/bin/bash -l #PBS -N my-pe #PBS -l walltime=1:00:00,nodes=1:ppn=8 module load R cd $PBS_O_WORKDIR Rscript my-pe $a $b Rscript my-pe 1.3 5.7 module load worker/1.0 wsub –batch my-pe.pbs –data my-data.csv a, b 1.3, 5.7 2.7, 1.4 3.4, 2.1 4.1, 3.8 …

9 VIC3 is shared by many compute nodes queue system: torque scheduler: moab priority queue, goals: 1.fairness 2.QoS guarantees ?

10 Priorities

11 Numbers, numbers, numbers… UHasselt total for 2009: 280490.16 days = 768.47 year

12 Where to find help? https://vscentrum.be/vsc-help-center –FAQs –How-To –Reference manuals hpcinfo@cc.kuleuven.be –2 nd line support geertjan.bex@uhasselt.be –3 rd line support for UHasselt

13 Conclusions It’s not that hard, now, is it? (oh well…) –don’t get intimidated If you need help, ask for it UHasselt has room for growth –currently 2.7 % of resources –maximum 5-6 %


Download ppt "workshop February 5, 2010 Geert Jan Bex"

Similar presentations


Ads by Google