Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 10/05/2011, à 14:07

petertosh

Installation logiciel scientifique PySces

Bonjour,
Dans le cadre de ma thèse il me faudrait utiliser un logiciel particulier, Pysces (http://pysces.sourceforge.net/index.html)
N'arrivant même pas à l'installer sous windows je tente sous ubuntu que je connais tout de même un peu mieux.
J'ai suivi le tutorial suivant: http://pysces.sourceforge.net/docs/user … onfiguring

J'installe les paquets, les dépendances puis il me faut installer SUNDIALS (là c'est ok) puis PySUNDIALS et là je coince.
Voilà où je bloque:

Linux/BSD

   1. Download and install Python 2.4 or greater, preferably 2.5+
   2. If you are using Python 2.4, download and install the ctypes module as well
   3. Download and untar the complete SUNDIALS suite.
   4. $ ./configure --enable-shared
   5. $ make && make install
   6. Download and untar PySUNDIALS
   7. Change to the directory where you unpacked PySUNDIALS
   8. $ python setup.py install

Quand j'arrive à l'étape 8 j'ai le message suivant:

tonio@tonio-VirtualBox:~/sundials-2.4.0$ cd /home/tonio/pysundials-2.3.0-rc2
tonio@tonio-VirtualBox:~/pysundials-2.3.0-rc2$ python setup.py install
src/sundials_core_aux.c:2: fatal error: sundials/sundials_types.h: Aucun fichier ou dossier de ce type
compilation terminated.
Traceback (most recent call last):
  File "setup.py", line 45, in <module>
    compiler.compile(['src/sundials_core_aux.c'], extra_postargs=['-fPIC'])
  File "/usr/lib/python2.6/distutils/ccompiler.py", line 621, in compile
    self._compile(obj, src, ext, cc_args, extra_postargs, pp_opts)
  File "/usr/lib/python2.6/distutils/unixccompiler.py", line 180, in _compile
    raise CompileError, msg
distutils.errors.CompileError: command 'cc' failed with exit status 1

Sur le site internet il disent la chose suivante mais je pense que cela concerne windows uniquement:

Note that using MSys presents unique problems being a hybrid environment. We recommend using MSys only to compile and install (Py)SUNDIALS, not for use as an environment in which to run PySUNDIALS. Having followed the above instructions, the SUNDIALS shared libs will be in %MSYSROOT%/usr/local/lib/, and end with '-<digit>.exe'. On older versions of MSys/MinGW, the '.exe' extension may be left off.

Pouvez-vous me dire ce que j'ai raté?
Merci beaucoup pour votre aide.

Hors ligne