Welcome, Guest. Please login or register.
CS 264 Forum « General Category « Final Projects « PyOpenGL on Resonance
Pages: [1]
  Print  
Author Topic: PyOpenGL on Resonance  (Read 304 times)
NicolasWard
Newbie
*
Posts: 45

UltraNurd UltraNurd
View Profile WWW
« on: December 04, 2009, 12:02:08 PM »

Admittedly stupid for not testing this until today, since I've been doing all of my development on my home machine... but since my PyCUDA code is running inside a live OpenGL window, how do I get that enabled on the Resonance cluster? I can include a local egg of PyOpenGL with my turn-in if necessary. Is it acceptable to include instructions for running via an X11 forward?
Logged
NicolasWard
Newbie
*
Posts: 45

UltraNurd UltraNurd
View Profile WWW
« Reply #1 on: December 07, 2009, 11:28:31 AM »

I installed this in my user directory (and its dependencies). If anyone needs the OpenGL or PIL (Python Imaging Library) modules, you should be able to do:

PYTHONPATH=/home/nward/lib/python2.4/site-packages:/home/nward/liib64/python2.4/site-packages:$PYTHONPATH python <py source file>
Logged
Pages: [1]
  Print  
 
Jump to: