<div>Dear Matt,</div>thanks, <div>It works, after changing the file name </div><div>again thank you all for  this beautiful software "yt". </div><div>regards</div><div>Prakash <br><br><div class="gmail_quote">On Fri, Feb 24, 2012 at 5:09 PM, Matthew Turk <span dir="ltr"><<a href="mailto:matthewturk@gmail.com">matthewturk@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">HI Prakash,<br>
<br>
You could try renaming nr's complex to nr_complex.h and in NR-code<br>
include "nr_complex.h".  Someone else here might have another idea,<br>
but if you really want to get NumPy to compile with conflicting<br>
complex.h files you may have to email to the NumPy mailing list.<br>
<br>
-Matt<br>
<br>
On Fri, Feb 24, 2012 at 6:35 AM, Prakash Sarkar<br>
<div class="HOEnZb"><div class="h5"><<a href="mailto:cyclone.turner@gmail.com">cyclone.turner@gmail.com</a>> wrote:<br>
> /usr/local/include/complex.h : comes from numerical recipes I think it is<br>
> conflicting with the /usr/include/complex.h<br>
> which is for GCC. Is there any other way to rectify it without changing<br>
>  /usr/local/include/complex.h.<br>
><br>
><br>
> On Fri, Feb 24, 2012 at 4:57 PM, Prakash Sarkar <<a href="mailto:cyclone.turner@gmail.com">cyclone.turner@gmail.com</a>><br>
> wrote:<br>
>><br>
>> Hope it helps .<br>
>> [prakash@shashank Desktop]$ locate complex.h<br>
>> /home/prakash/Downloads/gsl-1.9/complex/gsl_complex.h<br>
>> /home/prakash/Downloads/gsl-1.9/fft/gsl_dft_complex.h<br>
>> /home/prakash/Downloads/gsl-1.9/fft/gsl_fft_complex.h<br>
>> /home/prakash/Downloads/gsl-1.9/fft/gsl_fft_halfcomplex.h<br>
>> /home/prakash/Downloads/gsl-1.9/vector/gsl_vector_complex.h<br>
>> /usr/include/complex.h<br>
>> /usr/include/boost/accumulators/numeric/functional/complex.hpp<br>
>> /usr/include/boost/config/no_tr1/complex.hpp<br>
>> /usr/include/boost/math/complex.hpp<br>
>> /usr/include/boost/serialization/complex.hpp<br>
>> /usr/include/boost/tr1/complex.hpp<br>
>> /usr/include/boost/type_traits/is_complex.hpp<br>
>> /usr/include/boost/typeof/std/complex.hpp<br>
>> /usr/include/c++/4.5.1/complex.h<br>
>> /usr/include/c++/4.5.1/tr1/complex.h<br>
>> /usr/lib64/R/library/base/html/complex.html<br>
>> /usr/local/include/complex.h<br>
>> /usr/local/matlab/toolbox/rtw/rtwdemos/html/rtwdemo_complex.html<br>
>><br>
>> /usr/local/yt/yt-x86_64/src/hdf5-1.8.7/tools/testfiles/tcompound_complex.h5<br>
>><br>
>> /usr/local/yt/yt-x86_64/src/hdf5-1.8.7/tools/testfiles/tcompound_complex.h5.xml<br>
>> /usr/share/doc/PyQt4-devel-4.8.3/html/qstyleoptioncomplex.html<br>
>> /usr/share/doc/libstdc++-docs-4.5.1/html/manual/complex.html<br>
>> /usr/share/doc/qtscriptbindings-0.1.0/doc/qstyleoptioncomplex.html<br>
>> /usr/share/man/man0p/complex.h.0p.gz<br>
>> [prakash@shashank Desktop]$<br>
>><br>
>><br>
>> On Fri, Feb 24, 2012 at 4:48 PM, Matthew Turk <<a href="mailto:matthewturk@gmail.com">matthewturk@gmail.com</a>><br>
>> wrote:<br>
>>><br>
>>> Hi Prakash,<br>
>>><br>
>>> Looking over the install log, it looks to me like there's a type that<br>
>>> uses 'complex' but GCC doesn't know complex is a type specifier.  By<br>
>>> default, numpy assumes you have complex.h ( see numpy/core/setup.py ).<br>
>>>  For me, complex.h is located in /usr/include , but I don't know where<br>
>>> it is located on your system -- in fact, there may be an additional<br>
>>> complex.h that does not correctly define things (as the SAGE project<br>
>>> found, in bug 8278) that is getting in the way.  Let me know what you<br>
>>> can find,<br>
>>><br>
>>> Matt<br>
>>><br>
>>> PS Welcome to yt-users!<br>
>>><br>
>>> On Fri, Feb 24, 2012 at 4:30 AM, Prakash Sarkar<br>
>>> <<a href="mailto:cyclone.turner@gmail.com">cyclone.turner@gmail.com</a>> wrote:<br>
>>> > While Installing yt through installation script it fails while<br>
>>> > installing<br>
>>> > numpy-1.6.1 in fedora 14.<br>
>>> > the output of the script is shown below<br>
>>> ><br>
>>> > [root@shashank yt]# bash install_script.sh<br>
>>> ><br>
>>> ><br>
>>> > ========================================================================<br>
>>> ><br>
>>> > Hi there!  This is the YT installation script.  We're going to download<br>
>>> > some stuff and install it to create a self-contained, isolated<br>
>>> > environment for YT to run within.<br>
>>> ><br>
>>> > Inside the installation script you can set a few variables.  Here's<br>
>>> > what<br>
>>> > they're currently set to -- you can hit Ctrl-C and edit the values in<br>
>>> > the script if you aren't such a fan.<br>
>>> ><br>
>>> > INST_ZLIB       = 1 so I will  be installing zlib<br>
>>> > INST_BZLIB      = 1 so I will  be installing bzlib<br>
>>> > INST_PNG        = 1 so I will  be installing libpng<br>
>>> > INST_FTYPE      = 1 so I will  be installing freetype2<br>
>>> > INST_SQLITE3    = 1 so I will  be installing SQLite3<br>
>>> > INST_FORTHON    = 1 so I will  be installing Forthon (for Halo Finding,<br>
>>> > etc)<br>
>>> > INST_HG         = 1 so I will  be installing Mercurial<br>
>>> > INST_ENZO       = 1 so I will  be checking out Enzo<br>
>>> ><br>
>>> > HDF5_DIR is not set, so I will be installing HDF5<br>
>>> ><br>
>>> > Installation will be to<br>
>>> >   /usr/local/yt/yt-x86_64<br>
>>> ><br>
>>> > and I'll be logging the installation in<br>
>>> >   /usr/local/yt/yt-x86_64/yt_install.log<br>
>>> ><br>
>>> > I think that about wraps it up.  If you want to continue, hit enter.<br>
>>> > If you'd rather stop, maybe think things over, even grab a sandwich,<br>
>>> > hit Ctrl-C.<br>
>>> ><br>
>>> ><br>
>>> > ========================================================================<br>
>>> ><br>
>>> > [hit enter]<br>
>>> ><br>
>>> > Awesome!  Here we go.<br>
>>> ><br>
>>> > Using wget<br>
>>> > Downloading HDF5<br>
>>> > Downloading hdf5-1.8.7.tar.gz from <a href="http://yt-project.org" target="_blank">yt-project.org</a><br>
>>> > Downloading zlib-1.2.3.tar.bz2 from <a href="http://yt-project.org" target="_blank">yt-project.org</a><br>
>>> > Downloading bzip2-1.0.5.tar.gz from <a href="http://yt-project.org" target="_blank">yt-project.org</a><br>
>>> > Downloading libpng-1.2.43.tar.gz from <a href="http://yt-project.org" target="_blank">yt-project.org</a><br>
>>> > Downloading freetype-2.4.4.tar.gz from <a href="http://yt-project.org" target="_blank">yt-project.org</a><br>
>>> > Downloading sqlite-autoconf-3070500.tar.gz from <a href="http://yt-project.org" target="_blank">yt-project.org</a><br>
>>> > Downloading Python-2.7.2.tgz from <a href="http://yt-project.org" target="_blank">yt-project.org</a><br>
>>> > Downloading numpy-1.6.1.tar.gz from <a href="http://yt-project.org" target="_blank">yt-project.org</a><br>
>>> > Downloading matplotlib-1.1.0.tar.gz from <a href="http://yt-project.org" target="_blank">yt-project.org</a><br>
>>> > Downloading mercurial-2.0.tar.gz from <a href="http://yt-project.org" target="_blank">yt-project.org</a><br>
>>> > Downloading ipython-0.10.tar.gz from <a href="http://yt-project.org" target="_blank">yt-project.org</a><br>
>>> > Downloading h5py-2.0.1.tar.gz from <a href="http://yt-project.org" target="_blank">yt-project.org</a><br>
>>> > Downloading Cython-0.15.1.tar.gz from <a href="http://yt-project.org" target="_blank">yt-project.org</a><br>
>>> > Downloading Forthon-0.8.5.tar.gz from <a href="http://yt-project.org" target="_blank">yt-project.org</a><br>
>>> > Downloading ext-3.3.2.zip from <a href="http://yt-project.org" target="_blank">yt-project.org</a><br>
>>> > Downloading ext-slate-110328.zip from <a href="http://yt-project.org" target="_blank">yt-project.org</a><br>
>>> > Downloading PhiloGL-1.4.2.zip from <a href="http://yt-project.org" target="_blank">yt-project.org</a><br>
>>> > Installing Mercurial.<br>
>>> > Setting YT_DIR=/usr/local/yt/yt-x86_64/src/yt-hg/<br>
>>> > Installing distribute<br>
>>> > Installing pip<br>
>>> > Installing numpy-1.6.1 (arguments: 'numpy-1.6.1')<br>
>>> > Failure.  Check /usr/local/yt/yt-x86_64/yt_install.log.<br>
>>> > [root@shashank yt]#<br>
>>> ><br>
>>> ><br>
>>> ><br>
>>> > I have attached the yt_install.log file<br>
>>> > Please help<br>
>>> ><br>
>>> > thanks in advance<br>
>>> ><br>
>>> > Prakash<br>
>>> ><br>
>>> > _______________________________________________<br>
>>> > yt-users mailing list<br>
>>> > <a href="mailto:yt-users@lists.spacepope.org">yt-users@lists.spacepope.org</a><br>
>>> > <a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br>
>>> ><br>
>>> _______________________________________________<br>
>>> yt-users mailing list<br>
>>> <a href="mailto:yt-users@lists.spacepope.org">yt-users@lists.spacepope.org</a><br>
>>> <a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br>
>><br>
>><br>
><br>
><br>
> _______________________________________________<br>
> yt-users mailing list<br>
> <a href="mailto:yt-users@lists.spacepope.org">yt-users@lists.spacepope.org</a><br>
> <a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br>
><br>
_______________________________________________<br>
yt-users mailing list<br>
<a href="mailto:yt-users@lists.spacepope.org">yt-users@lists.spacepope.org</a><br>
<a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br>
</div></div></blockquote></div><br></div>