python

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentes Révision précédente
Prochaine révision
Révision précédente
Prochaine révisionLes deux révisions suivantes
python [2008/10/31 18:07] gerardpython [2008/11/06 18:49] gerard
Ligne 45: Ligne 45:
  
 ====== numpy-1.0.4 ====== ====== numpy-1.0.4 ======
 +
  
 ===== Installation avec Python 2.4 ===== ===== Installation avec Python 2.4 =====
Ligne 65: Ligne 66:
  
 </code> </code>
-remove numpy/distutils/fcompiler/sun.py f77compact from the optionlist, et enfin:+remove numpy/distutils/fcompiler/sun.py f77compact from the optionlist 
 +<code> 
 +> diff -u numpy/distutils/fcompiler/sun.py-dist numpy/distutils/fcompiler/sun.py  
 +--- numpy/distutils/fcompiler/sun.py-dist       Tue Oct 28 12:21:48 2008 
 ++++ numpy/distutils/fcompiler/sun.py    Thu Nov  6 18:22:50 2008 
 +@@ -38,7 +38,7 @@ 
 +         return ['-xtarget=generic'
 +     def get_libraries(self): 
 +         opt = [] 
 +-        opt.extend(['fsu','sunmath','mvec','f77compat']) 
 ++        opt.extend(['fsu','sunmath','mvec']) 
 +         return opt 
 +  
 + if __name__ == '__main__': 
 +</code> 
 +, et enfin:
 <code> <code>
 > python setup.py install --prefix=$HOME/lib | & tee INSTALL.LOG > python setup.py install --prefix=$HOME/lib | & tee INSTALL.LOG
Ligne 128: Ligne 144:
 /opt/csw/bin/python -c 'import numpy; numpy.test()' /opt/csw/bin/python -c 'import numpy; numpy.test()'
 </code> </code>
 +
  
 ===== Installation avec python 2.5.2 ===== ===== Installation avec python 2.5.2 =====
Ligne 135: Ligne 152:
 > setenv PATH /local/apps/lib/bin:/opt/SUNWhpc/bin:/opt/studio12/SUNWspro/bin:/usr/local/wrapper/bin:/usr/bin:/usr/bin:/usr/ccs/bin:/usr/sfw/bin > setenv PATH /local/apps/lib/bin:/opt/SUNWhpc/bin:/opt/studio12/SUNWspro/bin:/usr/local/wrapper/bin:/usr/bin:/usr/bin:/usr/ccs/bin:/usr/sfw/bin
 > python setup.py install --prefix=$HOME/lib | & tee INSTALL.LOG > python setup.py install --prefix=$HOME/lib | & tee INSTALL.LOG
 +</code>
  
  
 ====== scipy ====== ====== scipy ======
 +
 +===== version 0.6.0 =====
 +<code>
 +> setenv PYTHONPATH /local/apps/lib/python2.4/site-packages/
 +> mkdir -p scipy/distutils/fcompiler/
 +> cp ../numpy-1.2.1/numpy/distutils/fcompiler/sun.py scipy/distutils/fcompiler/
 +> setenv LD_FLAGS "-lCrun -lCstd"
 +> setenv LAPACK /opt/SUNWspro/lib/libsunmath.so
 +> setenv BLAS /opt/SUNWspro/lib/libsunperf.so
 +</code>
  
 ===== Installation avec python 2.4 ===== ===== Installation avec python 2.4 =====
Ligne 184: Ligne 212:
            
 </code> </code>
 +
 ===== Installation avec python 2.5.1 ===== ===== Installation avec python 2.5.1 =====
  
  • python.txt
  • Dernière modification : 2017/08/25 09:56
  • de 127.0.0.1