[yt-users] yt install help

Andrew Myers atmyers2 at gmail.com
Thu Sep 24 13:57:53 PDT 2015


Hi Daniel,

Thanks for telling us about this. We have a pull request
<https://bitbucket.org/yt_analysis/yt/pull-requests/1768/improve-check_for_openmp/diff>
open that should allow the install script to work normally when CC="ccache
<compiler>" in the future.

Best,
Andrew

On Thu, Sep 24, 2015 at 12:47 PM, Schwen (Non-US), Daniel <
daniel.schwen at inl.gov> wrote:

> Yeah, it built and installed. I can call
> '/opt/moose/miniconda/bin/yt'. It craps out because it does not find
> hdf5. I must have missed that dependency. Thanks for your help so far!
> Daniel
>
> On Thu, Sep 24, 2015 at 1:44 PM, Schwen (Non-US), Daniel
> <daniel.schwen at inl.gov> wrote:
> > I think i'm having success with
> >
> > sudo -E CC=clang CFLAGS="-I/opt/local/include"
> > LDFLAGS="-L/opt/local/lib" python setup.py develop
> >
> >
> >
> > On Thu, Sep 24, 2015 at 1:43 PM, Schwen (Non-US), Daniel
> > <daniel.schwen at inl.gov> wrote:
> >> and:
> >>
> >> [10][schwd][~/Downloads/yt-hg]> CC=clang python test.py
> >> compiler is:  clang
> >> filename is:  test.c
> >> True
> >>
> >> On Thu, Sep 24, 2015 at 1:42 PM, Schwen (Non-US), Daniel
> >> <daniel.schwen at inl.gov> wrote:
> >>> and:
> >>>
> >>> [10][schwd][~/Downloads/yt-hg]> CC=gcc python test.py
> >>> compiler is:  gcc
> >>> filename is:  test.c
> >>> False
> >>> [10][schwd][~/Downloads/yt-hg]> which gcc
> >>> /opt/moose/gcc_4.9.1/bin/gcc
> >>>
> >>>
> >>> On Thu, Sep 24, 2015 at 1:41 PM, Schwen (Non-US), Daniel
> >>> <daniel.schwen at inl.gov> wrote:
> >>>> compiler is:  ccache clang
> >>>> filename is:  test.c
> >>>> Traceback (most recent call last):
> >>>>   File "test.py", line 47, in <module>
> >>>>     print check_for_openmp()
> >>>>   File "test.py", line 37, in check_for_openmp
> >>>>     stdout=fnull, stderr=fnull)
> >>>>   File "/opt/moose/miniconda/lib/python2.7/subprocess.py", line 522,
> in call
> >>>>     return Popen(*popenargs, **kwargs).wait()
> >>>>   File "/opt/moose/miniconda/lib/python2.7/subprocess.py", line 710,
> in __init__
> >>>>     errread, errwrite)
> >>>>   File "/opt/moose/miniconda/lib/python2.7/subprocess.py", line 1335,
> >>>> in _execute_child
> >>>>     raise child_exception
> >>>> OSError: [Errno 2] No such file or directory
> >>>>
> >>>> On Thu, Sep 24, 2015 at 1:32 PM, Andrew Myers <atmyers2 at gmail.com>
> wrote:
> >>>>> Hi Daniel,
> >>>>>
> >>>>> Could you try running this python script using the same python
> you're trying
> >>>>> to install yt with? Does it give you some output, or does it fail
> with the
> >>>>> same error message?
> >>>>>
> >>>>> Thanks,
> >>>>> Andrew
> >>>>>
> >>>>> On Thu, Sep 24, 2015 at 12:05 PM, Andrew Myers <atmyers2 at gmail.com>
> wrote:
> >>>>>>
> >>>>>> Hello yt users,
> >>>>>>
> >>>>>> I'm working with Daniel Schwen of the MOOSE team to install yt from
> >>>>>> source. He is running OS X Yosemite, and trying to install yt over a
> >>>>>> miniconda python. After cloning my yt repository, the install
> script fails
> >>>>>> with the attached traceback. Does anyone have any ideas?
> >>>>>>
> >>>>>> Thanks,
> >>>>>> Andrew
> >>>>>>
> >>>>>> [10][schwd][~/Downloads/yt-hg]> CFLAGS="-I/opt/local/include"
> >>>>>> LDFLAGS="-L/opt/local/lib" python setup.py develop
> >>>>>>
> >>>>>>
> /opt/moose/miniconda/lib/python2.7/site-packages/setuptools-18.3.2-py2.7.egg/setuptools/dist.py:285:
> >>>>>> UserWarning: Normalizing '3.3-dev' to '3.3.dev0'
> >>>>>> non-existing path in 'yt/utilities/spatial':
> 'yt/utilities/spatial/tests'
> >>>>>> Traceback (most recent call last):
> >>>>>>   File "setup.py", line 227, in <module>
> >>>>>>     setup_package()
> >>>>>>   File "setup.py", line 222, in setup_package
> >>>>>>     cmdclass={'build_py': my_build_py, 'build_src': my_build_src},
> >>>>>>   File
> >>>>>>
> "/opt/moose/miniconda/lib/python2.7/site-packages/numpy/distutils/core.py",
> >>>>>> line 135, in setup
> >>>>>>     config = configuration()
> >>>>>>   File "setup.py", line 178, in configuration
> >>>>>>     config.add_subpackage('yt', 'yt')
> >>>>>>   File
> >>>>>>
> "/opt/moose/miniconda/lib/python2.7/site-packages/numpy/distutils/misc_util.py",
> >>>>>> line 966, in add_subpackage
> >>>>>>     caller_level = 2)
> >>>>>>   File
> >>>>>>
> "/opt/moose/miniconda/lib/python2.7/site-packages/numpy/distutils/misc_util.py",
> >>>>>> line 935, in get_subpackage
> >>>>>>     caller_level = caller_level + 1)
> >>>>>>   File
> >>>>>>
> "/opt/moose/miniconda/lib/python2.7/site-packages/numpy/distutils/misc_util.py",
> >>>>>> line 872, in _get_configuration_from_setup_py
> >>>>>>     config = setup_module.configuration(*args)
> >>>>>>   File "yt/setup.py", line 18, in configuration
> >>>>>>     config.add_subpackage('utilities')
> >>>>>>   File
> >>>>>>
> "/opt/moose/miniconda/lib/python2.7/site-packages/numpy/distutils/misc_util.py",
> >>>>>> line 966, in add_subpackage
> >>>>>>     caller_level = 2)
> >>>>>>   File
> >>>>>>
> "/opt/moose/miniconda/lib/python2.7/site-packages/numpy/distutils/misc_util.py",
> >>>>>> line 935, in get_subpackage
> >>>>>>     caller_level = caller_level + 1)
> >>>>>>   File
> >>>>>>
> "/opt/moose/miniconda/lib/python2.7/site-packages/numpy/distutils/misc_util.py",
> >>>>>> line 872, in _get_configuration_from_setup_py
> >>>>>>     config = setup_module.configuration(*args)
> >>>>>>   File "yt/utilities/setup.py", line 161, in configuration
> >>>>>>     config.add_subpackage("lib")
> >>>>>>   File
> >>>>>>
> "/opt/moose/miniconda/lib/python2.7/site-packages/numpy/distutils/misc_util.py",
> >>>>>> line 966, in add_subpackage
> >>>>>>     caller_level = 2)
> >>>>>>   File
> >>>>>>
> "/opt/moose/miniconda/lib/python2.7/site-packages/numpy/distutils/misc_util.py",
> >>>>>> line 935, in get_subpackage
> >>>>>>     caller_level = caller_level + 1)
> >>>>>>   File
> >>>>>>
> "/opt/moose/miniconda/lib/python2.7/site-packages/numpy/distutils/misc_util.py",
> >>>>>> line 872, in _get_configuration_from_setup_py
> >>>>>>     config = setup_module.configuration(*args)
> >>>>>>   File "yt/utilities/lib/setup.py", line 57, in configuration
> >>>>>>     if check_for_openmp() == True:
> >>>>>>   File "yt/utilities/lib/setup.py", line 37, in check_for_openmp
> >>>>>>     stdout=fnull, stderr=fnull)
> >>>>>>   File "/opt/moose/miniconda/lib/python2.7/subprocess.py", line
> 522, in
> >>>>>> call
> >>>>>>     return Popen(*popenargs, **kwargs).wait()
> >>>>>>   File "/opt/moose/miniconda/lib/python2.7/subprocess.py", line
> 710, in
> >>>>>> __init__
> >>>>>>     errread, errwrite)
> >>>>>>   File "/opt/moose/miniconda/lib/python2.7/subprocess.py", line
> 1335,
> >>>>>> in _execute_child
> >>>>>>     raise child_exception
> >>>>>> OSError: [Errno 2] No such file or directory
> >>>>>
> >>>>>
> >>>>
> >>>>
> >>>>
> >>>> --
> >>>> Daniel Schwen, PhD
> >>>> Staff Scientist, Fuels Modeling & Simulation
> >>>>
> >>>> Idaho National Laboratory
> >>>> P.O. Box 1625, MS 3840
> >>>> Idaho Falls, ID 83415
> >>>>
> >>>> Email: daniel.schwen at inl.gov
> >>>> Phone: (208) 526-4880
> >>>
> >>>
> >>>
> >>> --
> >>> Daniel Schwen, PhD
> >>> Staff Scientist, Fuels Modeling & Simulation
> >>>
> >>> Idaho National Laboratory
> >>> P.O. Box 1625, MS 3840
> >>> Idaho Falls, ID 83415
> >>>
> >>> Email: daniel.schwen at inl.gov
> >>> Phone: (208) 526-4880
> >>
> >>
> >>
> >> --
> >> Daniel Schwen, PhD
> >> Staff Scientist, Fuels Modeling & Simulation
> >>
> >> Idaho National Laboratory
> >> P.O. Box 1625, MS 3840
> >> Idaho Falls, ID 83415
> >>
> >> Email: daniel.schwen at inl.gov
> >> Phone: (208) 526-4880
> >
> >
> >
> > --
> > Daniel Schwen, PhD
> > Staff Scientist, Fuels Modeling & Simulation
> >
> > Idaho National Laboratory
> > P.O. Box 1625, MS 3840
> > Idaho Falls, ID 83415
> >
> > Email: daniel.schwen at inl.gov
> > Phone: (208) 526-4880
>
>
>
> --
> Daniel Schwen, PhD
> Staff Scientist, Fuels Modeling & Simulation
>
> Idaho National Laboratory
> P.O. Box 1625, MS 3840
> Idaho Falls, ID 83415
>
> Email: daniel.schwen at inl.gov
> Phone: (208) 526-4880
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20150924/f2672705/attachment.htm>


More information about the yt-users mailing list