[Ifeffit] iXAFS 3.0.3 for Mac OS X (Brandon Reese)

Brugger, Joel (SAM) Joel.Brugger at samuseum.sa.gov.au
Thu Sep 23 01:51:02 CDT 2010


Hi Brandon,

Did you actually test the python module (i.e. Use python scripting to control arthemis?)

On 10.6.4, I've obtain the following error:

bash-3.2$ python
  Python 2.6.1 (r261:67515, Dec 17 2009, 00:59:15)
  [GCC 4.2.1 (Apple Inc. build 5646)] on darwin
  Type "help", "copyright", "credits" or "license" for more information.
>>> import math
>>> import Ifeffit
>>> iff = Ifeffit.Ifeffit()
 failed to load ifeffit library  libifeffit.dylib
/usr/local/share/ifeffit/:/opt/intel/Compiler/11.1/089/bin/intel64:/opt/local/bin:/opt/local/sbin:/Volumes/iXAFS3.0/iXAFS.app/Contents/Resources/local/bin:/opt/intel/Compiler/11.1/089/bin/intel64:/opt/local/bin:/opt/local/sbin:/opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/usr/local/lib:/Users/joelb/Desktop/FitYK/:/usr/local/lib/:/sw/lib/:/sw/include/readline/:/unix/Molecular Dynamics/moldy-2.16e:/Users/joelb/Public/XDS/XDS-OSX_Intel:/Users/joelb/Desktop/fdmnes:/Applications/iXAFS.app/Contents/Resources/local/bin:/Users/joelb/Desktop/Molecular Dynamics/nwchem-5.1-MACX-Darwin-gfortran-i386/bin/:/usr/local/lib:/Users/joelb/Desktop/FitYK/:/usr/local/lib/:/sw/lib/:/sw/include/readline/:/unix/Molecular Dynamics/moldy-2.16e:/Users/joelb/Public/XDS/XDS-OSX_Intel:/Users/joelb/Desktop/fdmnes:/Users/joelb/Desktop/Molecular Dynamics/nwchem-5.1-MACX-Darwin-gfortran-i386/bin/:/Applications/iXAFS.app/Contents/Resources/local/lib:/Applications/iXAFS.app/Contents/Resources/local/bin
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Library/Python/2.6/site-packages/Ifeffit/Ifeffit.py", line 80, in __init__
    raise ImportError('Cannot load ifeffit library')
ImportError: Cannot load ifeffit library



. /Applications/iXAFS.app/Contents/Resources/local/bin/iff_init.sh is in my .profile and is loaded. Indeed, invoking libifeffit.dylib from the command line 'works':

bash-3.2$ libifeffit.dylib
bash: /Applications/iXAFS.app/Contents/Resources/local/lib/libifeffit.dylib: cannot execute binary file

bash-3.2$ ls -l libifeffit.dylib
-rwxr-xr-x  1 joelb  admin  1500676 12 Sep 00:07 libifeffit.dylib

So close!

Godd news last: we did not try python scripting on another machine, but IFEFFIT appears to run perfectly on 10.5 now - thanks Matt (champagne cork noise).

Joel & Barbara
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://millenia.cars.aps.anl.gov/pipermail/ifeffit/attachments/20100923/601efdb8/attachment.html>


More information about the Ifeffit mailing list