Python SDDS

Moderators: cyao, soliday

Post Reply
JoelFrederico
Posts: 60
Joined: 05 Aug 2010, 11:32
Location: SLAC National Accelerator Laboratory

Python SDDS

Post by JoelFrederico » 11 May 2012, 13:08

Just trying to get SDDS python working: http://www.aps.anl.gov/Accelerator_Syst ... inux.shtml

I was wondering if there are clear instructions for compiling this somewhere? I'm trying to compile on 64-bit Red-Hat 4. I tried installing the RPM already, the .so file is compiled against 32-bit, so it won't work with my architecture. Ideas?

soliday
Posts: 391
Joined: 28 May 2008, 09:15

Re: Python SDDS

Post by soliday » 11 May 2012, 14:25

I just compiled a 64bit version of this for Redhat Enterprise 4. I didn't make an RPM for it but you can download the files from:
http://www.aps.anl.gov/asd/oag/download ... hon.tar.gz
Extract the files in /usr/lib64/python2.3/site-packages
You will end up with:

/usr/lib64/python2.3/site-packages/oag/sdds.py
/usr/lib64/python2.3/site-packages/oag/sdds.pyc
/usr/lib64/python2.3/site-packages/oag/sddsdatamodule.so

JoelFrederico
Posts: 60
Joined: 05 Aug 2010, 11:32
Location: SLAC National Accelerator Laboratory

Re: Python SDDS

Post by JoelFrederico » 11 May 2012, 14:30

Thanks for being so prompt! Things are working now, this is exactly what I needed.

You have my immense gratitude.

Post Reply