User Tools

Site Tools


icypc_challenge_installation

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
icypc_challenge_installation [2010/11/06 08:34] – initial ladder installation instructions jtkorbicypc_challenge_installation [2011/10/22 12:01] (current) jtkorb
Line 1: Line 1:
 +====== System Installation ======
 +
 +On cs390cp@pc.cs.purdue.edu:icypc2011:
 +
 +  - Download icypc.jar from http://queue.acm.org/icpc ("Game binary (zip download)").
 +  - Download JOGL (Java for OpenGL) library:
 +    * http://jogamp.org/deployment/jogamp-current/archive/jogamp-linux-i586/jogl-linux-i586.7z \\ (Download to Mac, 7-unzip, zip, scp to pc, unzip.)
 +
 +An alternative (but overkill):
 +
 +  * http://jogamp.org/deployment/jogamp-current/archive/jogamp-linux-amd64/gluegen-linux-amd64.7z
 +  * http://jogamp.org/deployment/jogamp-current/archive/jogamp-linux-amd64/jogl-linux-amd64.7z
 +
 ====== For Ladder Web Server Installation ====== ====== For Ladder Web Server Installation ======
  
Line 8: Line 21:
   - Use ssh-keygen to create key for access to sources on github (for write access).   - Use ssh-keygen to create key for access to sources on github (for write access).
   - Clone source from github (git@github.com:jtkorb/icypc-ladder.git).   - Clone source from github (git@github.com:jtkorb/icypc-ladder.git).
-  - Follow instructions in README file.+  - Follow instructions in README file (copy settings-dist.py and update). 
 +  - Create database tables with ''% ./manage.py syncdb'' Create admin account (e.g., cs390cp) with password choice. 
 +  - Launch web server: ''% ./manage.py runserver 0.0.0.0:8000'.
  
 ====== For 3D Viewing of Trace Files ====== ====== For 3D Viewing of Trace Files ======
  
   - Download appropriate version of JOGL (Java for OpenGL) library.   - Download appropriate version of JOGL (Java for OpenGL) library.
-    * http://jogamp.org/deployment/autobuilds/jogl-b198-2010-11-04_05-53-09/build/+    * http://jogamp.org/deployment/jogamp-current/archive/jogamp-linux-i586/jogl-linux-i586.7z \\ (Download to Mac, 7-unzip, zip, scp to pc, unzip.) 
 +    * <del> http://jogamp.org/deployment/autobuilds/jogl-b198-2010-11-04_05-53-09/build/</del>    
     * unpack zip file (into, e.g., ~/jogl)     * unpack zip file (into, e.g., ~/jogl)
   - Add the icypc.jar file and these four JOGL .jar files to the CLASSPATH, e.g., by setting these variables in ~/.bashrc:   - Add the icypc.jar file and these four JOGL .jar files to the CLASSPATH, e.g., by setting these variables in ~/.bashrc:
Line 22: Line 38:
     * MacOS: typeset -x DYLD_LIBRARY_PATH=${DIR}     * MacOS: typeset -x DYLD_LIBRARY_PATH=${DIR}
     * Linux/Solaris: typeset -x LD_LIBRARY_PATH=${DIR}     * Linux/Solaris: typeset -x LD_LIBRARY_PATH=${DIR}
 +    * Windows: Include %DIR% in PATH.
   - Create a trace file and view it in 3D:   - Create a trace file and view it in 3D:
  
icypc_challenge_installation.1289057644.txt.gz · Last modified: 2010/11/06 08:34 by jtkorb