This is a linux installation.  I'm looking for hidden options that
should be defaults, but trying 2.4.2 might be easier.  Should I have
the --enable-framework option?

It looks like --enable-framework is MacOS-specific, so I don't think you want that. You do need to set --enable-shared to create the shared library. I don't know of any other flags that need to be set.


I've seen many incompatibilities between Python versions (particularly
when working with M5), and there will be more in the future.  M5
installation needs to support having Python installed in a fixed
location so that incompatibilities with the host environment will not
arise.

I believe we are supporting having Python in a fixed location; it's just that the scons script should be able to figure out that fixed location on its own, and it's having trouble with that right now.


It seems like the new Python system will require dynamic linking,
which may prevent M5 from working properly in some supercomputing
environments.

Because of the lack of the appropriate .so on the target system? This is a good point. It would be nice if the Python interpreter was available as a non-shared library, but they don't seem to support that (at least they don't make it easy).

If it's not possible to link statically, it should be possible to bundle the libpython.so with the m5 binary and set LD_LIBRARY_PATH to point to it... awkward, but possible. We'd be interested in hearing from anyone that's facing this problem so we can find a solution that can be put in the documentation.

Steve


Michael
_______________________________________________
m5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/m5-users

_______________________________________________
m5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/m5-users

Reply via email to