How to Install a Personal
Condor on Your Windows
         Laptop
           Guy Tel-Zur
Ben-Gurion University of the Negev
Download Condor



• Condor home page:
  – http://www.cs.wisc.edu/condor
• Download link:
  – http://www.cs.wisc.edu/condo...
Start the Installer




In these slides: Version 7.4.2. Released on April 6, 2010 is demonstrated
Accept the license
We want a local, personal,
      installation
I want my jobs to start immediately
Leave the domain blank
You can leave these blank as well
Condor automatically detects
   your Java installation
Don’t worry too much about this, we will
  see how to correct/edit things later
Here, we install only the good
old “Classic” features, no VM
…and no Hadoop support
Cont’




Click on Install
Click on Install
(needs administrator’s privileges)
Wait until this step will finish
You will have to restart
     your system




             restart
The Condor service should be started
                If needed restart the service here
Check the Tasks Manager
for the Condor daemons
Edit/Correct the condor_config file:
     the host is set to localhost
Set the right Network Interface in
      the condor_config.local




You will find both configuration files under the inst...
condor_status




Good! So now we have a Personal Condor running on my laptop ☺
Let’s write a short C program and check
  Condor: my own cpu_burn version:
  #include <math.h>
  #include <stdio.h>

  int...
Just copy & paste the code to
your favorite IDE and compile
In a text editor create your
                   submit file:
universe = vanilla
                                  You shou...
Submit 5 jobs
Watch the Task Manager
        The heat is on
Check with condor_q the
 progress of your jobs
All jobs were processed
Condor daemons while
 executing cpu_burn
Check the logfile that was
                created
000 (088.001.000) 04/26 10:23:10 Job submitted from host:
<127.0.0.1:50...
That’s it


Send your comments/suggestions to

Guy Tel-Zur
gtelzur at bgu dot ac dot il
How to install a personal condor
Upcoming SlideShare
Loading in …5
×

How to install a personal condor

2,985 views
2,746 views

Published on

Published in: Self Improvement
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
2,985
On SlideShare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
52
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

How to install a personal condor

  1. 1. How to Install a Personal Condor on Your Windows Laptop Guy Tel-Zur Ben-Gurion University of the Negev
  2. 2. Download Condor • Condor home page: – http://www.cs.wisc.edu/condor • Download link: – http://www.cs.wisc.edu/condor/downloads- v2/download.pl • For Windows I recommend the msi installer
  3. 3. Start the Installer In these slides: Version 7.4.2. Released on April 6, 2010 is demonstrated
  4. 4. Accept the license
  5. 5. We want a local, personal, installation
  6. 6. I want my jobs to start immediately
  7. 7. Leave the domain blank
  8. 8. You can leave these blank as well
  9. 9. Condor automatically detects your Java installation
  10. 10. Don’t worry too much about this, we will see how to correct/edit things later
  11. 11. Here, we install only the good old “Classic” features, no VM
  12. 12. …and no Hadoop support
  13. 13. Cont’ Click on Install
  14. 14. Click on Install (needs administrator’s privileges)
  15. 15. Wait until this step will finish
  16. 16. You will have to restart your system restart
  17. 17. The Condor service should be started If needed restart the service here
  18. 18. Check the Tasks Manager for the Condor daemons
  19. 19. Edit/Correct the condor_config file: the host is set to localhost
  20. 20. Set the right Network Interface in the condor_config.local You will find both configuration files under the install dir c:condor
  21. 21. condor_status Good! So now we have a Personal Condor running on my laptop ☺
  22. 22. Let’s write a short C program and check Condor: my own cpu_burn version: #include <math.h> #include <stdio.h> int main() { int iMAX = 60000; int i,j; float fNORM, fMAX; float x,y; fMAX = iMAX; // convert to float fNORM = fMAX * fMAX; for (j=0;j<iMAX;j++) for (i=0;i<iMAX;i++) { y = i; // convert to float x = y*y/fNORM; } return 0; }
  23. 23. Just copy & paste the code to your favorite IDE and compile
  24. 24. In a text editor create your submit file: universe = vanilla You should have in the executable = cpu_burn.exe same folder the Error = executable and the err.$(Cluster).$(Process) submit file Output = out.$(Cluster).$(Process) Log = log.$(Cluster).$(Process) Queue 5
  25. 25. Submit 5 jobs
  26. 26. Watch the Task Manager The heat is on
  27. 27. Check with condor_q the progress of your jobs
  28. 28. All jobs were processed
  29. 29. Condor daemons while executing cpu_burn
  30. 30. Check the logfile that was created 000 (088.001.000) 04/26 10:23:10 Job submitted from host: <127.0.0.1:50486> ... 001 (088.001.000) 04/26 10:23:19 Job executing on host: <127.0.0.1:50487> ... 005 (088.001.000) 04/26 10:24:20 Job terminated. (1) Normal termination (return value 0) Usr 0 00:00:27, Sys 0 00:00:00 - Run Remote Usage Usr 0 00:00:00, Sys 0 00:00:00 - Run Local Usage Usr 0 00:00:27, Sys 0 00:00:00 - Total Remote Usage Usr 0 00:00:00, Sys 0 00:00:00 - Total Local Usage 0 - Run Bytes Sent By Job 15686 - Run Bytes Received By Job 0 - Total Bytes Sent By Job 15686 - Total Bytes Received By Job ...
  31. 31. That’s it Send your comments/suggestions to Guy Tel-Zur gtelzur at bgu dot ac dot il

×