[yt-users] Installing Enzo from Yt, error!

Matthew Turk matthewturk at gmail.com
Tue Jan 18 12:45:54 PST 2011


Hi Hector,

Not building enzo is actually a feature, not a bug.  :)  The
difference between Enzo and yt in this situation is that Enzo has
many, many moving parts -- some of which can only be determined at
build-time.  This includes things like choice of compiler, options for
how the code operates on a fundamental level, and so on.  yt has many
options as well, but it's more flexible in that (because it's written
in Python) it's more accessible to being modified at run time.

To build Enzo, I recommend you browse through the Enzo boot camp article here:

http://code.google.com/p/enzo/wiki/EnzoBootCamp

It has some links to documentation that covers the options.  Once
you've skimmed through that, if you'd like more help with building
Enzo, the enzo-users-l mailing list would be a good resource for
asking questions.

Good luck!

-Matt

On Tue, Jan 18, 2011 at 3:43 PM, Hector Aceves <aceves at astrosen.unam.mx> wrote:
> Hi Matt
>
> Thanks for your kind response. Changing https --> http helped a lot regarding
> the modules, since it passed the first comment in my first report [abort: No
> module named _ssl!]. Now it goes smoothly, giving:
>
> Installing yt
> Cloning a copy of Enzo.
> requesting all changes
> adding changesets
> adding manifests
> adding file changes
> added 1711 changesets with 10218 changes to 2848 files (+1 heads)
> updating to branch enzo-2.0
>
>
> Nonetheless, regarding the second error, it still gives me:
>
> Enzo has also been checked out, but not built.
>
> /usr/local/yt-unknown/src/enzo-hg-stable
>
> with now the  enzo-hg-stable directory being present in the
> /usr/local/yt-unknown/src directory. At the end of running the script it gives
> me the "Oh, look at me, still talking when there's science to do!"
>
> Any ideas on how to solve this Enzo built problem, o should one try to build
> it separately?
>
> Thanks...  Hector
>
>
>
> *************************************
> Dr. Héctor Aceves Campos
> Instituto de Astronomía-UNAM
> Ensenada B.C. 22800 México
> *************************************
>
>
> ---------- Original Message -----------
> From: Matthew Turk <matthewturk at gmail.com>
> To: Discussion of the yt analysis package <yt-users at lists.spacepope.org>
> Sent: Mon, 17 Jan 2011 23:16:29 -0500
> Subject: Re: [yt-users] Installing Enzo from Yt, error!
>
>> Hi Hector,
>>
>> I'm not sure why, but recently some installations of Python with the
>> yt install script have not been able to build the _ssl module.  This
>> prevents them from being able to clone the Enzo repository, which
>> uses "https" as a protocol.  You should be able to modify the line
>> on or around line number 475 in install_script.sh to change it from:
>>
>> ${HG_EXEC} clone https://enzo.googlecode.com/hg/ ./enzo-hg-stable
>>
>> to:
>>
>> ${HG_EXEC} clone http://enzo.googlecode.com/hg/ ./enzo-hg-stable
>>
>> and then re-run the script exactly as before.  It should then be able
>> to download Enzo to the appropriate directory.
>>
>> Can you try that, and let us know?  I will also see about adding the
>> non-https as a fallback in the script for future installations.
>>
>> Best,
>>
>> Matt
>>
>> On Mon, Jan 17, 2011 at 7:11 PM, Hector Aceves
>> <aceves at astrosen.unam.mx> wrote:
>> > Hi to all..
>> >
>> > I am new in this Enzo-Yt world, and taking advantage of this mailing list,  I
>> > will appreciate any help you might give me in installing Enzo and Yt. My
>> > problem is as follows.
>> >
>> >  Firstly, I am using the install_script.sh provided by Yt, in a AMD multicore
>> > 64 bit computer, with shared memory, gfortran as fortran compiler and also
>> > gcc; all this under ubuntu linux.
>> >
>> >  I activated the following options in the script:
>> >
>> >  NUMPY_ARGS="--fcompiler=gnu95"
>> >  HDF5_DIR=
>> >
>> >  INST_ZLIB       = 1 ...
>> >   ...idem
>> >   ...idem
>> >  INST_ENZO       = 1
>> >
>> > the last option was set in order to precisely install Enzo, along with Yt.
>> > This script was run with root (sudo) privileges in the /usr/local directory:
>> >
>> >  /usr/local>  sudo bash install_script.sh
>> >
>> > and gave me.. along other things the following (notice the <*** points):
>> >
>> >  ...
>> >  HDF5_DIR is not set, so I will be installing HDF5
>> >  ...
>> >  Installation will be to
>> >  /usr/local/yt-unknown
>> >  ..
>> >  Installing yt
>> >  Cloning a copy of Enzo.
>> >  abort: No module named _ssl!      <**********
>> >  ..
>> >  ..
>> >  yt is now installed in /usr/local/yt-unknown .
>> >
>> >  Enzo has also been checked out, but not built.   <<********
>> >
>> >  /usr/local/yt-unknown/src/enzo-hg-stable
>> >
>> >
>> >  Actually, the enzo-hg-stable does not appear in the /usr/local/yt-unknown
>> > directory, while all the other bzip2-1.0.5, ...,Python-2.6.3, yt-hg
>> > directories are present.
>> >
>> >  Checking the yt_install.log I noticed the following message:
>> >
>> > Failed to find the necessary bits to build these modules:
>> > _bsddb             _curses            _curses_panel
>> > _hashlib           _sqlite3           _ssl
>> > _tkinter           bsddb185           dbm
>> > dl                 gdbm               imageop
>> > readline           sunaudiodev
>> > To find the necessary bits, look in setup.py in detect_modules() for the
>> > module's name.
>> >
>> > appearing in about two places, and also:
>> >
>> > INFO: Can't locate Tcl/Tk libs and/or headers
>> >
>> > I am attaching in gzip file the whole yt_install.log file; just in case. Any
>> > comments will be appreciated.
>> >
>> > Cheers
>> >
>> > Hector
>> >
>> >
>> > *************************************
>> > Dr. Héctor Aceves Campos
>> > Instituto de Astronomía-UNAM
>> > Ensenada B.C. 22800 México
>> > *************************************
>> >
>> >
>> > _______________________________________________
>> > 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
> ------- End of Original Message -------
>
> _______________________________________________
> 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