ITK/10th Anniversary Activities/Dashboard Fest 1.0: Difference between revisions
(→In Mac) |
|||
Line 122: | Line 122: | ||
== In Mac == | == In Mac == | ||
Please follow the same instructions of the "In Linux" section. | |||
The should work fine from the shell command of a Mac. | |||
== In Windows == | == In Windows == |
Revision as of 16:13, 19 October 2009
The Goal:
To break the Record of Number of Experimental Builds Submitted to the ITK Dashboard
When ?
- November 6th 2009
What to do ?
- Submit as many Experimental builds as you dare to the ITK CDash Dashboard
Why ?
- Just because we can !
- Because it is easy !
- Because it is fun !
- Because anyone can participate of the celebration regardless of geographical location and time zone !
How ?
In Linux
Download ITK
Get any recent release tarballs from
http://www.itk.org/ITK/resources/software.html
and extract it in a "SOURCE" directory
mkdir ~/ITK10thAnniversary mkdir ~/ITK10thAnniversary/src cd ~/ITK10thAnniversary/src tar -xzf InsightToolkit-3.16.0.tar.gz
or
Use CVS
mkdir ~/ITK10thAnniversary mkdir ~/ITK10thAnniversary/src cd ~/ITK10thAnniversary/src cvs -d :pserver:anonymous@www.itk.org:/cvsroot/Insight login
password: insight
cvs -d :pserver:anonymous@www.itk.org:/cvsroot/Insight co Insight
Configure ITK
Create a "BINARY" directory
mkdir ~/ITK10thAnniversary/bin
go inside that directory
cd ~/ITK10thAnniversary/bin
call ccmake
ccmake ~/ITK10thAnniversary/src
- Type "c" for Configuring
- Type "t" for Toggling to Advanced variables
- Type "/SITE" to search for the SITE variable
- Hit the Enter key to edit that variable
- Write the name of your machine and institution
- for example: zion.kitware
- but if you want to be creative, just go for it!
- simply try to keep the SITE name to less than 25 characters.
- Type "c" for Configuring
- Type "g" for Generating makefiles
At this point, ccmake will quite, and you are ready for building ITK.
Building ITK (First Submission)
From the same BINARY directory, simply type:
make Experimental
Depending on the speed of your computer, one to three hours later, your build submission should appear in the ITK Dashboard:
http://www.cdash.org/CDash/index.php?project=Insight
More specifically, in the "Experimental" Section:
http://www.cdash.org/CDash/index.php?project=Insight#Experimental
To find your build, look for the "SITE" name that you assigned in the first column (labeled SITE) of the Experimental section.
Keep Submitting Builds
Once you have submitted the first Experimental build, the process of submitting subsequent builds is trivial.
Just go the "BINARY" directory:
cd ~/ITK10thAnniversary/bin
and do:
make clean make Experimental
Then, to keep submitting more builds you could:
- Comming back every two hours to type the same commands, or
- Put these two statements in a for-loop in a shell script, or
- in a python script, or
- perl script, or
- setup a cron job
Of course, there is no reason why you should limit yourself to a single computer :-)
The same process could be run in any number of machines. However, you may want to assign a unique name to the SITE variable in every machine.
In Mac
Please follow the same instructions of the "In Linux" section.
The should work fine from the shell command of a Mac.