[yt-users] Compilations problem.
Marcelo Vargas dos Santos
marcelovsrj at gmail.com
Thu Apr 10 13:01:24 PDT 2014
Thank you. But i recieved this now
---------------------------------------------------------------------------
YTOutputNotIdentified Traceback (most recent call last)
/home/marcelo/anaconda/lib/python2.7/site-packages/IPython/utils/py3compat.pyc
in execfile(fname, *where)
202 else:
203 filename = fname
--> 204 __builtin__.execfile(filename, *where)
/home/marcelo/Simulations/NBody/Ramses/branches/ramses_omp/run1/plot.py in
<module>()
6 from yt.mods import *
7
----> 8 ds = load("output_00003/info_00003.txt")
9
10 print ds.parameters["nstep_coarse"], ds.parameters["levelmax"]
/home/marcelo/anaconda/lib/python2.7/site-packages/yt/convenience.pyc in
load(*args, **kwargs)
88 return output_type_registry[n](fn)
89 mylog.error("Couldn't figure out output type for %s",
args[0])
---> 90 raise YTOutputNotIdentified(args, kwargs)
91 mylog.error("Multiple output type candidates for %s:", args[0])
92 for c in candidates:
YTOutputNotIdentified: Supplied ('output_00003/info_00003.txt',) {}, but
could not load!
Best,
On 10 April 2014 16:53, Matthew Turk <matthewturk at gmail.com> wrote:
> Hi Marcelo,
>
> Looks like you're running from the command line -- change "yt.imods"
> to "yt.mods" and I think it should work. Let us know!
>
> Best,
>
> Matt
>
> On Thu, Apr 10, 2014 at 3:44 PM, Marcelo Vargas dos Santos
> <marcelovsrj at gmail.com> wrote:
> >> I tried to compille this simple code:
> >>
> >> from pylab import *
> >> from matplotlib import *
> >> import sys
> >> sys.path.insert(0, "/home/mturk/yt/yt-3.0")
> >> from yt.config import ytcfg; ytcfg["yt","loglevel"] = "20"
> >> from yt.imods import *
> >>
> >> ds = load("output_00003/info_00003.txt")
> >>
> >> print ds.parameters["nstep_coarse"], ds.parameters["levelmax"]
> >> print ds.parameters
> >>
> >> But i recieved this error message:
> >>
> >> UsageError: Invalid GUI request 'inline', valid ones are:['osx', 'qt4',
> >> 'glut', 'gtk3', 'pyglet', 'wx', 'none', 'qt', 'gtk', 'tk', None]
> >>
> >> Someone can help me?
> >>
> >> Best.
> >
> >
> > --
> > Marcelo Vargas dos Santos
> > Professor e Doutorando
> >
> >
> > Sala A 318-05
> > Tel.: (21) 2562-7276
> > E-mails: vargas at if.ufrj.br, marcelovsrj at gmail.com
> > Departamento de Física Teórica - Instituto de Física
> > Universidade Federal do Rio de Janeiro
> >
> > _______________________________________________
> > 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
>
--
Marcelo Vargas dos Santos
Professor e Doutorando
Sala A 318-05
Tel.: (21) 2562-7276
E-mails: vargas at if.ufrj.br, marcelovsrj at gmail.com
Departamento de Física Teórica - Instituto de Física
Universidade Federal do Rio de Janeiro
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20140410/124092f3/attachment.html>
More information about the yt-users
mailing list