Hi William
Unfortunately my access to OS X is a bit limited at the moment, so I'm
speaking from memory here. Firstly I suggest you trying obtaining our
latest code from our subversion repository. We're rather overdue for an
updated release, but this will give you access to the current code
regardless. Details on the wiki at ascend4.org/VersionManagement
The other thing to look at is whether the test.py code should be
exporting DYLD_LIBRARY_PATH instead of LD_LIBRARY_PATH. You will need to
check what it's doing there by looking at the code.
Finally, in the latest code, the _ascpy.pyd file (check whether that
name is used on Mac OS, might have a different suffix) may be located in
the 'ascxx' subdirectory instead of the 'pygtk' subdirectory. So that
may need changing too.
Cheers
JP
On 05/01/12 08:07, Hartt, William wrote:
Looking for help from Mac users. When installing, I run scons and
everything seems ok. I did remove the scons version check from Sconfig.
When I run './test.py TestSolver.testlog10' I get the following:
bash-3.2$ ./test.py TestSolver.testlog10
Note: python 'dl' module not available on this system, guessing value
of RTLD_* flags
Restarting with...
export
LD_LIBRARY_PATH=/Users/williamhartt/ascend/ascend-0.9.6/pygtk:/Users/williamhartt/ascend/ascend-0.9.6
export PYTHONPATH=/Users/williamhartt/ascend/ascend-0.9.6/pygtk
export
ASCENDLIBRARY=/Users/williamhartt/ascend/ascend-0.9.6/models:/Users/williamhartt/freesteam/ascend
export
ASCENDSOLVERS=/Users/williamhartt/ascend/ascend-0.9.6/solvers/qrslv:/Users/williamhartt/ascend/ascend-0.9.6/solvers/cmslv:/Users/williamhartt/ascend/ascend-0.9.6/solvers/lrslv:/Users/williamhartt/ascend/ascend-0.9.6/solvers/conopt:/Users/williamhartt/ascend/ascend-0.9.6/solvers/ida:/Users/williamhartt/ascend/ascend-0.9.6/solvers/lsode:/Users/williamhartt/ascend/ascend-0.9.6/solvers/ipopt:/Users/williamhartt/ascend/ascend-0.9.6/solvers/dopri5
Note: python 'dl' module not available on this system, guessing value
of RTLD_* flags
Got...
LD_LIBRARY_PATH=/Users/williamhartt/ascend/ascend-0.9.6/pygtk:/Users/williamhartt/ascend/ascend-0.9.6
PYTHONPATH=/Users/williamhartt/ascend/ascend-0.9.6/pygtk
ASCENDLIBRARY=/Users/williamhartt/ascend/ascend-0.9.6/models:/Users/williamhartt/freesteam/ascend
ASCENDSOLVERS=/Users/williamhartt/ascend/ascend-0.9.6/solvers/qrslv:/Users/williamhartt/ascend/ascend-0.9.6/solvers/cmslv:/Users/williamhartt/ascend/ascend-0.9.6/solvers/lrslv:/Users/williamhartt/ascend/ascend-0.9.6/solvers/conopt:/Users/williamhartt/ascend/ascend-0.9.6/solvers/ida:/Users/williamhartt/ascend/ascend-0.9.6/solvers/lsode:/Users/williamhartt/ascend/ascend-0.9.6/solvers/ipopt:/Users/williamhartt/ascend/ascend-0.9.6/solvers/dopri5
Traceback (most recent call last):
File "./test.py", line 1523, in <module>
import ascpy
File "/Users/williamhartt/ascend/ascend-0.9.6/pygtk/ascpy.py", line
6, in <module>
import _ascpy
ImportError: No module named _ascpy
bash-3.2$
Any help is appreciated.
------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual
desktops for less than the cost of PCs and save 60% on VDI infrastructure
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
Ascend-sim-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ascend-sim-users