Hi folks,

I am trying to get PY-SIMTK up and running with GPU support (Quad Tesla C-2050 
system) on a CENTOS 5.5 installation.

This package requires implementaiton of PYCUDA and BOOST.

I am trying to do the PYCUDA (Version: pycuda-2011.1.2)  installation and am 
getting errors that seem to trace to lines in the installation script related 
to 
'git' ---specifically:

I have done the distribute and numpy installs---but when I go in to try and 
configure and install I get a syntax error flagged in running the configure.py

/home/dannil/SOFTWARE/PY-CUDA/pycuda-2011.1.2
localhost 183% python configure.py --cuda-root=/usr/local/cuda
Traceback (most recent call last):
  File "configure.py", line 3, in ?
    from aksetup_helper import configure_frontend
  File "/home/dannil/SOFTWARE/PY-CUDA/pycuda-2011.1.2/aksetup_helper.py", line 7
22
    except OSError as e:
                    ^
SyntaxError: invalid syntax


What am I missing here ----this looks to be an issue with the aksetup_helper.py 
portion of the configure.py? ---and in a portion of aksetup_helper.py related 
to 
'git'.

__________________PORTION OF AKSETUP-WHERE GETTING ISSUES_________________

    if not isdir(".git"):
        # not a git repository
        return
    git_error = None
    from subprocess import Popen, PIPE
    try:
        popen = Popen(["git", "--version"], stdout=PIPE)
        stdout_data, _ = popen.communicate()
        if popen.returncode != 0:
            git_error = "git returned error code %d" % popen.returncode
    except OSError as e:                           << THIS IS BEING FLAGGED AS 
A SYNTAX ERROR??
        git_error = e
    if git_error is not None:
        print("-----------------------------------------------------------------
--------")
        print("Trouble invoking git")
        print("-----------------------------------------------------------------
--------")
        print("The package directory appears to be a git repository, but I could
")
        print("not invoke git to check whether my submodules are up to date.")
        print("")



OTHER (probably extraneous) DETAILS BELOW.

Can someone 'push' me in the right direction in resolving this? I do gave git 
installed (version 1.7.7) ---but I don't believe this is the issue.

Danni



+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



___________________________________________________________________

I have the 3.2.12 CUDA implementation in place


___________________INSTALL OF DISTRIBUTE AND 
BOOST________________________________
removing '/usr/lib/python2.4/site-packages/distribute-0.6.19-py2.4.egg' (and ev
rything under it)
creating /usr/lib/python2.4/site-packages/distribute-0.6.19-py2.4.egg
Extracting distribute-0.6.19-py2.4.egg to /usr/lib/python2.4/site-packages
distribute 0.6.19 is already the active version in easy-install.pth
Installing easy_install script to /usr/bin
Installing easy_install-2.4 script to /usr/bin
Installed /usr/lib/python2.4/site-packages/distribute-0.6.19-py2.4.egg
Processing dependencies for distribute==0.6.19
Finished processing dependencies for distribute==0.6.19
After install bootstrap.
/usr/lib/python2.4/site-packages/setuptools-0.6c11-py2.4.egg-info already exist
localhost 181% su -c "easy_install numpy"
Password:
Searching for numpy
Best match: numpy 1.6.1
Processing numpy-1.6.1-py2.4-linux-x86_64.egg
numpy 1.6.1 is already the active version in easy-install.pth
Installing f2py script to /usr/bin
Using /usr/lib/python2.4/site-packages/numpy-1.6.1-py2.4-linux-x86_64.egg
Processing dependencies for numpy
Finished processing dependencies for numpy
localhost 182%



_________________________________________________________________

I have the 3.2.12 CUDA implementation in place---and currently this is fine for 
running GPU accelerated molecular dynamics.

cudatoolkit_3.2.12_linux_64_rhel5.5.run  NVIDIA-Linux-x86_64-260.19.21.run
gpucomputingsdk_3.2.12_linux.run         untitled folder
MAKETESLADEV.sh


[root@localhost Desktop]# rpm -qa |grep boost
boost-1.33.1-10.el5_7.3
boost-devel-1.33.1-10.el5_7.3
boost-devel-1.33.1-10.el5_7.3
boost-1.33.1-10.el5_7.3

[root@localhost release]# rpm -qa |grep python
gnome-python2-gnomevfs-2.16.0-1.fc6
dbus-python-0.70-9.el5_4
gnome-python2-bonobo-2.16.0-1.fc6
gnome-python2-applet-2.16.0-3.el5
gnome-python2-gtkhtml2-2.14.2-7.el5
rpm-python-4.4.2.3-20.el5_5.1
gnome-python2-canvas-2.16.0-1.fc6
python-devel-2.4.3-44.el5_7.1
python-elementtree-1.2.6-5
gnome-python2-gnomeprint-2.16.0-3.el5
audit-libs-python-1.7.17-3.el5
gnome-python2-gtksourceview-2.16.0-3.el5
libxml2-python-2.6.26-2.1.2.8.el5_5.1
python-numeric-23.7-2.2.2
gamin-python-0.1.7-8.el5
python-sqlite-1.1.7-1.2.1
python-ldap-2.2.0-2.1
gnome-python2-extras-2.14.2-7.el5
gnome-python2-libegg-2.14.2-7.el5
python-urlgrabber-3.1.0-5.el5
notify-python-0.1.0-3.fc6
gnome-python2-gconf-2.16.0-1.fc6
gnome-python2-desktop-2.16.0-3.el5
python-libs-2.4.3-44.el5_7.1
python-iniparse-0.2.3-4.el5
python-2.4.3-44.el5_7.1
libselinux-python-1.33.4-5.5.el5
gnome-python2-2.16.0-1.fc6
python-devel-2.4.3-44.el5_7.1
[root@localhost release]# rpm -qa |grep boost
boost-1.33.1-10.el5_7.3
boost-devel-1.33.1-10.el5_7.3
boost-devel-1.33.1-10.el5_7.3
boost-1.33.1-10.el5_7.3
[root@localhost release]#
_______________________________________________
PyCUDA mailing list
PyCUDA@tiker.net
http://lists.tiker.net/listinfo/pycuda

Reply via email to