Changes

Jump to navigation Jump to search

Epd canopy

223 bytes added, 14:18, 15 October 2015
Forced creation of a TOC - this will improve the formatting on the main page 'Did you know...' section.
__TOC__
 
== Download from ==
Download from:<br>
== Install Minfx and Bmrblib and mpi4py ==
Remember to check, if there are newer versions of # [http://download.gna.org/minfx minfx[Minfx#Install | Minfx] and [http://download.gna.org/bmrblib bmrblib]. <br>The # [[https://gna.org/projects/minfx/ minfxBmrblib#Install | Bmrblib] and [https://gna.org/projects/bmrblib/ bmrblib] libraries can be installed on all Linux systems by typing:<source lang="bash"># Switch to software usersu software [[Mpi4py# Activate pythonap# Downloadcd $HOME/Downloads wget http://download.gna.org/minfx/minfx-1.0.6.tar.gztar -xzf minfx-1.0.6.tar.gzcd minfx-1.0.6#Then eitherpip install .cd .. wget http://download.gna.org/bmrblib/bmrblib-1.0.3.tar.gztar -xzf bmrblib-1.0.3.tar.gzcd bmrblib-1.0.3pip install .cd .. wget https://bitbucket.org/mpi4py/mpi4py/downloads/mpi4py-1.3.1.tar.gztar -xzf mpi4py-1.3.1.tar.gzcd mpi4py-1.3.1pip install .</source>Install | Mpi4py]]
== Scripts to run relax ==
# setenv PYTHON_LIBRARY XXXXX/libpython2.7.so
# libpython2.7.so
find . -name libpython2.7.so-type f
./appdata/canopy-1.4.0.1938.rh5-x86_64/lib/libpython2.7.so
./appdata/canopy-1.4.0.1938.rh5-x86_64/lib/python2.7/config/libpython2.7.so
# setenv PYTHON_EXECUTABLE XXXXX/python2.7
# find . -name python\*
# find . -name python2.7python -type f# find ./appdata/canopy-1.4.0.1938.rh5-x86_64/include/name python2.7-type f
./appdata/canopy-1.4.0.1938.rh5-x86_64/bin/python2.7
./appdataCanopy_64bit/canopy-1.4.0.1938.rh5-x86_64User/libbin/python2.7python
./Canopy_64bit/User/bin/python2.7
./Canopy_64bit/UserSystem/libbin/python2.7python
./Canopy_64bit/System/bin/python2.7
./Canopy_64bit/System/lib/python2.7
./lib/python2.7
# setenv PYTHON_INCLUDE_DIR XXXX/
# find . -name Python.h-type f
./appdata/canopy-1.4.0.1938.rh5-x86_64/include/python2.7/Python.h
</source>
Then try
<source lang="bash">
#setenv PYTHON_LIBRARY $IND/appdata/canopy-1.4.0.1938.rh5-x86_64/lib/libpython2.7.so
#setenv PYTHON_EXECUTABLE $IND/appdata/canopy-1.4.0.1938.rh5-x86_64/bin/python2.7
setenv PYTHON_INCLUDE_DIR $IND/appdata/canopy-1.4.0.1938.rh5-x86_64/include/python2.7
scons</source># Did not workSetting system environment variable '''PYTHON_INCLUDE_DIR''' to point to the dir with '''Python.h''' solved the problem. === For MAC ======= Python.h ====<source lang="bash">echo "PYTHON_INCLUDE_DIR=/Applications/Canopy.app/appdata/canopy-1.4.0.1938.macosx-x86_64/Canopy.app/Contents/include/python2.7" >> $HOME/.bash_profile echo "export PYTHON_INCLUDE_DIR" >> $HOME/.bash_profile</source>
setenv PYTHON_LIBRARY $IND/appdata/canopy-==== Wx program running on Canopy 1.4on OS X "Please run with a Framework build of python" ====See https://support.0.1938enthought.rh5-x86_64com/libentries/libpython2.722601196-wxPython-2-8-and-2-9 to fix it.soscons# Did not work
=== For Linux ======= Python.h ====<source lang="bash">setenv PYTHON_EXECUTABLE $INDPYTHON_INCLUDE_DIR /sbinlab2/software/python-enthought-dis/canopy-1.4.0-full-rh5-64/appdata/canopy-1.4.01.19381975.rh5-x86_64/include/python2.7
# Or
cd /sbinlab2/software/python-enthought-dis/canopy-1.4.0-full-rh5-64/appdata/canopy-1.4.1.1975.rh5-x86_64/include
ln -s /sbinlab2/software/python-enthought-dis/canopy-1.4.0-full-rh5-64/appdata/canopy-1.4.1.1975.rh5-x86_64/include/python2.7 python2.7
</source>
Trusted, Bureaucrats
4,228

edits

Navigation menu