[yt-users] install/compile error

Nathan Goldbaum nathan12343 at gmail.com
Mon Sep 14 08:52:41 PDT 2015


So the most important lines in the file you attached are here:

In file included from /home/alex/Python/include/python3.5m/pyatomic.h:12:0,
                     from /home/alex/Python/include/python3.5m/Python.h:53,
                     from
build/src.linux-x86_64-3.5/yt/utilities/lib/geometry_utils.c:4:
    /usr/lib/gcc/x86_64-redhat-linux/5.1.1/include/stdatomic.h:40:1:
sorry, unimplemented: ‘_Atomic’ with OpenMP
     typedef _Atomic _Bool atomic_bool;


So python.h is bringing in pyatomic.h, which is looking for stdatomic.h,
which in turn prints "sorrry, unimplemented" and breaks the build. See the
following gcc bug:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65467

I believe downgrading to an older gcc release (before gcc 5.0) will likely
fix this. An alternative would be to manually disable openmp support in
yt's setup.py script as Matt suggested.


On Mon, Sep 14, 2015 at 10:25 AM, Matthew Turk <matthewturk at gmail.com>
wrote:

> Hi Alex,
>
> Looks like you have some weird stuff going on with OpenMP.  Probably best
> to manually disable it in yt/utilities/lib/setup.py by having it return
> false for the detection.
>
> On Sun, Sep 13, 2015 at 10:10 PM, Alexander Heger <
> alexander.heger at monash.edu> wrote:
>
>> I know you don't yet quite support prime-time use of python 3.x.
>> But since this is in progress, I provide some feedback.
>>
>> When doing a pip3 install yt I get the attached error message.
>>
>> Best wishes,
>> Alexander
>>
>>
>>
>>
>>
>> _______________________________________________
>> yt-users mailing list
>> yt-users at lists.spacepope.org
>> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
>>
>>
>
> _______________________________________________
> yt-users mailing list
> yt-users at lists.spacepope.org
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20150914/807c785c/attachment.html>


More information about the yt-users mailing list