[issue25150] yt package pip compile/install error

2015-09-17 Thread Alexander Heger

New submission from Alexander Heger:

trying to install the yt package, most recent version 3.2.1 on python 3.5.0 
using pip

pip3 install -U yt

error output attached.  The same package installs fine with python 3.4.3, same 
compiler and also build from scratch, so the suspicion is that it is related to 
the new 3.5.0 version.  The system installed is the current Fedora 22, gcc 
5.1.1-4.

--
components: Extension Modules
files: error.txt
hgrepos: 318
messages: 250884
nosy: axh
priority: normal
severity: normal
status: open
title: yt package pip compile/install error
type: compile error
versions: Python 3.5
Added file: http://bugs.python.org/file40491/error.txt

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue25150] yt package pip compile/install error

2015-09-17 Thread STINNER Victor

STINNER Victor added the comment:

It looks like the problem is that yt uses OpenMP whereas OpenMP doesn't support 
atomic operations:

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;
 ^

I'm not sure that Include/pyatomic.h should be included by the main 
Include/Python.h header. We already skipped Include/pyatomic.h on C++ because 
this header is incompatible with C++.

--
nosy: +haypo

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com