[yt-users] Rollback to yt version 2.x problem

trobolo dinni trobolo.trobolo.dinni5 at gmail.com
Wed Sep 17 17:24:26 PDT 2014


Dear yt users,

recently I updated yt with the update command from version 2 to version 3,
but (my error) I did not notice all the changes that had been made from one
to the other version.

I tried to rollback to version 2.x following the method suggested in this
page of the website http://yt-project.org/docs/dev/installing.html for the
installation made via the user_script, but when I launche the command

python setup.py develop

I get the following error:

*(yt-x86_64)cthulhu at 42828678:~/yt-x86_64/src/yt-hg$ python setup.py develop*
*PNG_LOCATION: png.cfg: /home/cthulhu/yt-x86_64/include,
/home/cthulhu/yt-x86_64/lib*
*FTYPE_LOCATION: FTYPE found via ctypes in:
/home/cthulhu/yt-x86_64/include, /home/cthulhu/yt-x86_64/lib*
*HDF5_LOCATION: HDF5 found via ctypes in: /home/cthulhu/yt-x86_64/include,
/home/cthulhu/yt-x86_64/lib*
*running develop*
*running build_scripts*
*running egg_info*
*running build_src*
*running build_forthon*
*Building package fKD*
*Traceback (most recent call last):*
*  File "/home/cthulhu/yt-x86_64/bin/Forthon", line 2, in <module>*
*    import Forthon.Forthon_builder*
*  File
"/home/cthulhu/yt-x86_64/lib/python2.7/site-packages/Forthon/Forthon_builder.py",
line 88, in <module>*
*    raise Exception('Main fortran file can not be found, please specify
using the fortranfile option')*
*Exception: Main fortran file can not be found, please specify using the
fortranfile option*
*Traceback (most recent call last):*
*  File "setup.py", line 281, in <module>*
*    setup_package()*
*  File "setup.py", line 276, in setup_package*
*    'build_src': my_build_src, 'install_data': my_install_data},*
*  File
"/home/cthulhu/yt-x86_64/lib/python2.7/site-packages/numpy/distutils/core.py",
line 169, in setup*
*    return old_setup(**new_attr)*
*  File "/home/cthulhu/yt-x86_64/lib/python2.7/distutils/core.py", line
151, in setup*
*    dist.run_commands()*
*  File "/home/cthulhu/yt-x86_64/lib/python2.7/distutils/dist.py", line
953, in run_commands*
*    self.run_command(cmd)*
*  File "/home/cthulhu/yt-x86_64/lib/python2.7/distutils/dist.py", line
972, in run_command*
*    cmd_obj.run()*
*  File
"/home/cthulhu/yt-x86_64/lib/python2.7/site-packages/distribute-0.6.32-py2.7.egg/setuptools/command/develop.py",
line 27, in run*
*    self.install_for_development()*
*  File
"/home/cthulhu/yt-x86_64/lib/python2.7/site-packages/numpy/distutils/command/develop.py",
line 17, in install_for_development*
*    old_develop.install_for_development(self)*
*  File
"/home/cthulhu/yt-x86_64/lib/python2.7/site-packages/distribute-0.6.32-py2.7.egg/setuptools/command/develop.py",
line 110, in install_for_development*
*    self.run_command('egg_info')*
*  File "/home/cthulhu/yt-x86_64/lib/python2.7/distutils/cmd.py", line 326,
in run_command*
*    self.distribution.run_command(command)*
*  File "/home/cthulhu/yt-x86_64/lib/python2.7/distutils/dist.py", line
972, in run_command*
*    cmd_obj.run()*
*  File
"/home/cthulhu/yt-x86_64/lib/python2.7/site-packages/numpy/distutils/command/egg_info.py",
line 10, in run*
*    self.run_command("build_src")*
*  File "/home/cthulhu/yt-x86_64/lib/python2.7/distutils/cmd.py", line 326,
in run_command*
*    self.distribution.run_command(command)*
*  File "/home/cthulhu/yt-x86_64/lib/python2.7/distutils/dist.py", line
972, in run_command*
*    cmd_obj.run()*
*  File "setup.py", line 192, in run*
*    self.run_command("build_forthon")*
*  File "/home/cthulhu/yt-x86_64/lib/python2.7/distutils/cmd.py", line 326,
in run_command*
*    self.distribution.run_command(command)*
*  File "/home/cthulhu/yt-x86_64/lib/python2.7/distutils/dist.py", line
972, in run_command*
*    cmd_obj.run()*
*  File "setup.py", line 62, in run*
*    subprocess.check_call(cmd, shell=False)*
*  File "/home/cthulhu/yt-x86_64/lib/python2.7/subprocess.py", line 540, in
check_call*
*    raise CalledProcessError(retcode, cmd)*
*subprocess.CalledProcessError: Command
'['/home/cthulhu/yt-x86_64/bin/Forthon', '-F', 'gfortran',
'--compile_first', 'fKD_source', '--no2underscores', '--fopt', "'-O3'",
'fKD', 'fKD_source.f90']' returned non-zero exit status 1*

I would like to ask some suggestions on how to solve the problem.

Thanks,
                Roberto
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20140918/86642f47/attachment.htm>


More information about the yt-users mailing list