Différences
Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentes Révision précédente Prochaine révision | Révision précédente | ||
| scipy [2008/03/07 16:01] – gerard | scipy [Date inconnue] (Version actuelle) – supprimée - modification externe (Date inconnue) 127.0.0.1 | ||
|---|---|---|---|
| Ligne 1: | Ligne 1: | ||
| - | ====== numpy ====== | ||
| - | |||
| - | ===== Installation avec Python 2.4 ===== | ||
| - | * [[http:// | ||
| - | se logger devel1 sur nemo: | ||
| - | < | ||
| - | module load ss12 hpc | ||
| - | </ | ||
| - | fichier site.cfg dans numpy/ | ||
| - | < | ||
| - | [DEFAULT] | ||
| - | library_dirs = / | ||
| - | include_dirs = / | ||
| - | |||
| - | [blas] | ||
| - | blas_libs = sunperf | ||
| - | |||
| - | [lapack] | ||
| - | lapack_libs = sunperf | ||
| - | |||
| - | </ | ||
| - | et enfin: | ||
| - | < | ||
| - | > python setup.py install --prefix=$HOME/ | ||
| - | |||
| - | </ | ||
| - | et s' | ||
| - | |||
| - | Le test: | ||
| - | < | ||
| - | setenv PYTHONPATH / | ||
| - | python -c ' | ||
| - | </ | ||
| - | échoue sur: | ||
| - | < | ||
| - | ====================================================================== | ||
| - | FAIL: check_large_types (numpy.core.tests.test_scalarmath.TestPower) | ||
| - | ---------------------------------------------------------------------- | ||
| - | Traceback (most recent call last): | ||
| - | File "/ | ||
| - | assert b == 6765201, "error with %r: got %r" % (t,b) | ||
| - | AssertionError: | ||
| - | |||
| - | </ | ||
| - | et pourtant: | ||
| - | < | ||
| - | nemo-henry% / | ||
| - | Python 2.4.4 (#1, Jan 9 2007, 23:31:33) [C] on sunos5 | ||
| - | Type " | ||
| - | >>> | ||
| - | True | ||
| - | >>> | ||
| - | </ | ||
| - | |||
| - | ===== Installation avec Python 2.5 ===== | ||
| - | se logger devel1 sur nemo: | ||
| - | < | ||
| - | module load ss12 hpc | ||
| - | </ | ||
| - | fichier site.cfg dans numpy/ | ||
| - | < | ||
| - | [DEFAULT] | ||
| - | library_dirs = / | ||
| - | include_dirs = / | ||
| - | |||
| - | [blas] | ||
| - | blas_libs = sunperf | ||
| - | |||
| - | [lapack] | ||
| - | lapack_libs = sunperf | ||
| - | |||
| - | </ | ||
| - | et enfin: | ||
| - | < | ||
| - | > setenv LDFLAGS " | ||
| - | > / | ||
| - | </ | ||
| - | et s' | ||
| - | |||
| - | Le test: | ||
| - | < | ||
| - | setenv PYTHONPATH / | ||
| - | / | ||
| - | </ | ||
| - | |||
| - | |||
| - | ====== scipy ====== | ||
| - | |||
| - | ===== Installation avec python 2.4 ===== | ||
| - | |||
| - | * scipy-0.6.0.tar.gz | ||
| - | |||
| - | < | ||
| - | > which python | ||
| - | / | ||
| - | > python -c ' | ||
| - | posix sunos5 | ||
| - | > python -c ' | ||
| - | 2.4.4 (#1, Jan 9 2007, 23:31:33) [C] | ||
| - | > | ||
| - | > python setup.py config_fc --help-fcompiler | ||
| - | |||
| - | SunFCompiler instance properties: | ||
| - | archiver | ||
| - | compile_switch | ||
| - | compiler_f77 | ||
| - | f77', ' | ||
| - | compiler_f90 | ||
| - | compiler_fix | ||
| - | xcode=pic32' | ||
| - | libraries | ||
| - | library_dirs | ||
| - | linker_exe | ||
| - | linker_so | ||
| - | Bdynamic', | ||
| - | object_switch | ||
| - | ranlib | ||
| - | version | ||
| - | version_cmd | ||
| - | Fortran compilers found: | ||
| - | --fcompiler=sun | ||
| - | |||
| - | </ | ||
| - | Puis, en s' | ||
| - | < | ||
| - | > setenv LD_PRELOAD / | ||
| - | > wget " | ||
| - | > tar xzf ../ | ||
| - | > cd scipy-0.5.2.1/ | ||
| - | > python setup.py install --prefix=$HOME/ | ||
| - | |||
| - | |||
| - | </ | ||
| - | ===== Installation avec python 2.5.1 ===== | ||
| - | |||
| - | < | ||
| - | > which python | ||
| - | / | ||
| - | > / | ||
| - | posix sunos5 | ||
| - | > / | ||
| - | 2.5.1 (r251: | ||
| - | </ | ||
| - | |||
| - | Puis, en s' | ||
| - | < | ||
| - | > setenv LD_PRELOAD / | ||
| - | > wget " | ||
| - | > tar xzf ../ | ||
| - | > cd scipy-0.5.2.1/ | ||
| - | > / | ||
| - | |||
| - | |||
| - | </ | ||
| - | |||
| - | |||
| - | ====== PyML ====== | ||
| - | ===== Installation avec python 2.4 ===== | ||
| - | |||
| - | < | ||
| - | > cd src/ | ||
| - | > python setup.py build | ||
| - | |||
| - | </ | ||
| - | |||
| - | lorsqu' | ||
| - | < | ||
| - | > python setup.py build | ||
| - | running build_py | ||
| - | running build_ext | ||
| - | building ' | ||
| - | C compiler: / | ||
| - | |||
| - | compile options: ' | ||
| - | pycc: PyML/ | ||
| - | cc: No input file specified, no output generated | ||
| - | cc: No input file specified, no output generated | ||
| - | error: Command "/ | ||
| - | |||
| - | </ | ||
| - | c'est parce qu'il utilise pycc au lieu de pyCC! | ||
| - | < | ||
| - | > / | ||
| - | |||
| - | </ | ||
| - | il faut aller voir dans les distutils de pynum pour comprendre ce qui se passe?! | ||
| - | |||
| - | ===== Installation avec python 2.5 ===== | ||
| - | |||
| - | < | ||
| - | > cd src/ | ||
| - | > / | ||
| - | |||
| - | </ | ||
| - | |||
| - | lorsqu' | ||
| - | < | ||
| - | > python setup.py build | ||
| - | running build_py | ||
| - | running build_ext | ||
| - | building ' | ||
| - | C compiler: / | ||
| - | |||
| - | compile options: ' | ||
| - | pycc: PyML/ | ||
| - | cc: No input file specified, no output generated | ||
| - | cc: No input file specified, no output generated | ||
| - | error: Command "/ | ||
| - | |||
| - | </ | ||
| - | c'est parce qu'il utilise pycc au lieu de pyCC! | ||
| - | < | ||
| - | > / | ||
| - | |||
| - | </ | ||
| - | il faut aller voir dans les distutils de pynum pour comprendre ce qui se passe?! | ||
| - | |||
| - | ====== PyStemmer ====== | ||
| - | s' | ||
| - | < | ||
| - | / | ||
| - | > python setup.py install --prefix=$HOME/ | ||
| - | running install | ||
| - | running build | ||
| - | running build_ext | ||
| - | running install_lib | ||
| - | copying build/ | ||
| - | |||
| - | </ | ||
| - | |||
| - | ====== PyML ====== | ||
| - | * problèmes de [[compilation]] | ||