[yt-users] yt update to 3.0

Nathan Goldbaum nathan12343 at gmail.com
Wed Dec 23 13:25:38 PST 2015


Can you try reinstalling yt from scratch?

On Tue, Dec 22, 2015 at 12:32 PM, Sushilkumar <sushil.sush19us at gmail.com>
wrote:

> Hi yt:
>
> I am currently running yt version 2.6.1 and want to update to version 3
> (to read text files). Could you provide me link to so?
>
> I tried it from yt update --all as per the link
>
>
> http://yt-project.org/doc/yt3differences.html#updating-to-yt-3-0-from-old-versions-and-going-back
> .
>
> But it wont update to 3.0 and still shows as 2.6.1
>
> Kindly help
>
> Thanks in advance
>
> sushilkumar
>
> On Mon, Dec 21, 2015 at 12:33 PM, <yt-users-request at lists.spacepope.org>
> wrote:
>
>> Send yt-users mailing list submissions to
>>         yt-users at lists.spacepope.org
>>
>> To subscribe or unsubscribe via the World Wide Web, visit
>>         http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
>> or, via email, send a message with subject or body 'help' to
>>         yt-users-request at lists.spacepope.org
>>
>> You can reach the person managing the list at
>>         yt-users-owner at lists.spacepope.org
>>
>> When replying, please edit your Subject line so it is more specific
>> than "Re: Contents of yt-users digest..."
>>
>>
>> Today's Topics:
>>
>>    1. help: yt Halo finder for Nyx data (Dr. Surajit Paul)
>>
>>
>> ----------------------------------------------------------------------
>>
>> Message: 1
>> Date: Mon, 21 Dec 2015 20:55:19 +0530
>> From: "Dr. Surajit Paul" <surajit at physics.unipune.ac.in>
>> To: yt-users at lists.spacepope.org
>> Subject: [yt-users] help: yt Halo finder for Nyx data
>> Message-ID:
>>         <
>> ef2adab2876566c33b22a1695592c3d6.squirrel at physics.unipune.ernet.in>
>> Content-Type: text/plain;charset=iso-8859-1
>>
>> Hi,
>>    I was just trying to compute the halos from a Nyx data. While running
>> the halo finder it stops saying
>> ........
>> yt.data_objects.field_info_container.NeedsDataField: (['particle_mass'])
>>
>>    Below is the code, results and the list of fields available. In the
>> list I have "particle_mass_density" instead of
>> "particle_mass". Please suggest me how I can make it running.
>>
>> Thanks,
>> surajit
>>
>> from yt.mods import *
>> import fields
>>
>> # Load the dataset.
>> pf =
>> load("/gfs1/work/nipiagws/MUSIC/102-26468_512zoom2a_amr2_sgs2_si_600_05_flat/plt02593_z01")
>> halos = HaloFinder(pf)
>>
>> halos.write_out("%s_halos.txt")
>>
>>
>>
>> Traceback (most recent call last):
>>   File "halos.py", line 14, in <module>
>>     halos = HaloFinder(pf)
>>   File
>> "/home/h/nipiagws/yt-x86_64/src/yt-hg/yt/analysis_modules/halo_finding/halo_objects.py",
>> line 2484, in __init__
>>
>> self.comm.mpi_allreduce((self._data_source["ParticleMassMsun"][select]).sum(dtype='float64'),
>> op='sum')
>>   File
>> "/home/h/nipiagws/yt-x86_64/src/yt-hg/yt/data_objects/data_containers.py",
>> line 318, in __getitem__
>>     self.get_data(key)
>>   File
>> "/home/h/nipiagws/yt-x86_64/src/yt-hg/yt/data_objects/data_containers.py",
>> line 2619, in get_data
>>     if self._generate_field(field):
>>   File
>> "/home/h/nipiagws/yt-x86_64/src/yt-hg/yt/data_objects/data_containers.py",
>> line 345, in _generate_field
>>     self._generate_field_in_grids(field, ngt_exception.ghost_zones)
>>   File
>> "/home/h/nipiagws/yt-x86_64/src/yt-hg/yt/data_objects/data_containers.py",
>> line 355, in _generate_field_in_grids
>>     grid[field] = self.__touch_grid_field(grid, field)
>>   File
>> "/home/h/nipiagws/yt-x86_64/src/yt-hg/yt/data_objects/data_containers.py",
>> line 81, in save_state
>>     tr = func(self, grid, field, *args, **kwargs)
>>   File
>> "/home/h/nipiagws/yt-x86_64/src/yt-hg/yt/data_objects/data_containers.py",
>> line 359, in __touch_grid_field
>>     return grid[field]
>>   File
>> "/home/h/nipiagws/yt-x86_64/src/yt-hg/yt/data_objects/grid_patch.py", line
>> 147, in __getitem__
>>     self.get_data(key)
>>   File
>> "/home/h/nipiagws/yt-x86_64/src/yt-hg/yt/data_objects/grid_patch.py", line
>> 190, in get_data
>>     self._generate_field(field)
>>   File
>> "/home/h/nipiagws/yt-x86_64/src/yt-hg/yt/data_objects/grid_patch.py", line
>> 122, in _generate_field
>>     self.pf.field_info[field].check_available(self)
>>   File
>> "/home/h/nipiagws/yt-x86_64/src/yt-hg/yt/data_objects/field_info_container.py",
>> line 356, in check_available
>>     validator(data)
>>   File
>> "/home/h/nipiagws/yt-x86_64/src/yt-hg/yt/data_objects/field_info_container.py",
>> line 450, in __call__
>>     raise NeedsDataField(doesnt_have)
>> yt.data_objects.field_info_container.NeedsDataField: (['particle_mass'])
>>
>>
>> filed_list
>>
>> AveMomX
>> AveMomY
>> AveMomZ
>> ErrCovarX
>> ErrCovarY
>> ErrCovarZ
>> Ne
>> Temp
>> density
>> diss_sgs
>> divu
>> grav_x
>> grav_y
>> grav_z
>> magvort
>> particle_mass_density
>> phi_grav
>> prod_sgs
>> rho_E
>> rho_H
>> rho_He
>> rho_K
>> rho_e
>> support_sgs
>> support_therm
>> support_turb
>> turb_src
>> xmom
>> ymom
>> zmom
>>
>>
>>
>>
>>
>>
>>
>>
>> ------------------------------
>>
>> Subject: Digest Footer
>>
>> _______________________________________________
>> yt-users mailing list
>> yt-users at lists.spacepope.org
>> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
>>
>>
>> ------------------------------
>>
>> End of yt-users Digest, Vol 94, Issue 17
>> ****************************************
>>
>
>
>
> --
> *SK2*
>
> *"**Claiming that something can move faster than light is a good
> conversation-stopper in physics. People edge away from you in cocktail
> parties; friends never return phone calls. You just don’t mess with Albert
> Einstein.**"*
>
>
> _______________________________________________
> 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/20151223/da8a76eb/attachment.htm>
-------------- next part --------------
_______________________________________________
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