[yt-users] Compilation problem

Matthew Turk matthewturk at gmail.com
Wed Feb 24 06:02:26 PST 2016


Hi Mark,

I think this is because of a not-up-to-date setuptools package.  I'm
not 100% familiar with the specifics, but this ticket goes over how to
address it: https://bitbucket.org/yt_analysis/yt/issues/1169/document-issue-with-old-setuptools-or

On Tue, Feb 23, 2016 at 10:41 PM, Mark Krumholz <mkrumhol at ucsc.edu> wrote:
> Hi yt Users,
>
> I’m having a problem compiling the current development branch of yt on NASA
> pleiades, and I’m hoping that someone can suggest what could be going wrong.
> Here’s what I get when I try to compile:
>
> bridge4:yt mkrumhol$ /nasa/python/2.7.9/bin/python setup.py develop
> --prefix=/u/mkrumhol
> running develop
> running egg_info
> writing requirements to yt.egg-info/requires.txt
> writing yt.egg-info/PKG-INFO
> writing top-level names to yt.egg-info/top_level.txt
> writing dependency_links to yt.egg-info/dependency_links.txt
> writing entry points to yt.egg-info/entry_points.txt
> reading manifest file 'yt.egg-info/SOURCES.txt'
> reading manifest template 'MANIFEST.in'
> warning: no previously-included files found matching
> 'scripts/pr_backport.py'
> no previously-included directories found matching
> 'doc/source/reference/api/generated'
> no previously-included directories found matching 'doc/build'
> writing manifest file 'yt.egg-info/SOURCES.txt'
> running build_ext
> pyrexc yt/analysis_modules/photon_simulator/utils.pyx -->
> yt/analysis_modules/photon_simulator/utils.c
> /home3/mkrumhol/yt/yt/analysis_modules/photon_simulator/utils.pyx:6:17:
> Syntax error in C variable declaration
> building 'yt.analysis_modules.photon_simulator.utils' extension
> gcc -fno-strict-aliasing -O2 -Wno-error -pipe -DHAVE_DB_185_H -pthread
> -I/usr/include -I/nasa/pkgsrc/2014Q4/include/db4
> -I/nasa/pkgsrc/2014Q4/include -DNDEBUG -O2 -Wno-error -pipe -DHAVE_DB_185_H
> -pthread -I/usr/include -I/nasa/pkgsrc/2014Q4/include/db4
> -I/nasa/pkgsrc/2014Q4/include -fPIC -I/nasa/pkgsrc/2014Q4/include/python2.7
> -I/nasa/pkgsrc/2014Q4/lib/python2.7/site-packages/numpy/core/include -c
> yt/analysis_modules/photon_simulator/utils.c -o
> build/temp.linux-x86_64-2.7/yt/analysis_modules/photon_simulator/utils.o
> gcc: yt/analysis_modules/photon_simulator/utils.c: No such file or directory
> gcc: no input files
> error: command 'gcc' failed with exit status 1
>
> I’m using python 2.7.9 and cython 0.23.4. The problem only occurs with the
> development branch; the stable branch compiles fine.
>
> I’d appreciate any suggestions. Thanks.
>
> --
> Mark Krumholz
> http://www.mso.anu.edu.au/~krumholz/
>
>
> _______________________________________________
> yt-users mailing list
> yt-users at lists.spacepope.org
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
>



More information about the yt-users mailing list