...
Add the previous Python instance (Python 2.7.4 32-bit) to your environment:
Code Block language bash theme Confluence export PYTHON_ROOT=${LCLS_ROOT}/package/python/python2.7.4
Add the previous Python binaries to your environment:
Code Block language bash theme Confluence export PATH=${PYTHON_ROOT}/bin:${PATH}
Add the 32-bit Python libraries and their dependencies to your environment:
Code Block language bash theme Confluence export LD_LIBRARY_PATH=${PYTHON_ROOT}/lib:${LD_LIBRARY_PATH} export LD_LIBRARY_PATH=${PYTHON_ROOT}/lib/python2.7/lib-dynload:${LD_LIBRARY_PATH}
[Optional] If your application(s) import the 32-bit "cx_Oracle" module, add the following to your environment:
Code Block language bash theme Confluence export ORACLE_HOME=${LCLS_ROOT}/package/oracle/product/11.1.0.6/client export PATH=${ORACLE_HOME}/bin:${PATH} export LD_LIBRARY_PATH=${ORACLE_HOME}/lib:${LD_LIBRARY_PATH}
[Optional] If your application(s) import "PyQt4", "PyQwt", or any other 32-bit Qt dependencies, add the following to your environment:
Code Block language bash theme Confluence export QT_HOME=${LCLS_ROOT}/package/Qt-4.8.5 export PATH=${QT_HOME}/bin:${PATH} export LD_LIBRARY_PATH=${QT_HOME}/lib:${LD_LIBRARY_PATH}
[Optional] If your application(s) import "matlab_wrapper" or any other 32-bit Matlab 2012a dependent modules, add the following to your environment:
Code Block language bash theme Confluence export LD_LIBRARY_PATH=${LCLS_ROOT}/matlab/2012a/extern/lib:${LD_LIBRARY_PATH}
[Optional] If your application has dependencies on 32-bit pvaPy, set the following in your Python path:
Code Block language bash theme Confluence export PYTHONPATH=${EPICS_BASE_TOP}/base-cpp-R4-6-0/pvaPy/lib/python/2.7/linux-x86:${TOOLS}/python/toolbox