Hi,
The conda packages are a bit outdated at the moment. We are working on
releasing new versions, but in the meantime, running the bend-flux.py
example from the master branch would require building from source. You
could checkout the version of the examples that corresponds with the conda
installation like this:
$ git checkout v1.4.3
Then every example would work.
Chris
On Sat, Jun 2, 2018 at 9:01 AM, Thibault JOUSSE
wrote:
> Hi everyone,
>
> I am getting the following error when I run the file bend-flux.py I
> have downloaded from github (meep/python/bend-flux.py) :
>
>Traceback (most recent call last):
> File "/home/thibault/TIPE/bend.py", line 52, in
>straight_refl_data = sim.get_flux_data(refl)
>AttributeError: 'Simulation' object has no attribute 'get_flux_data'
>
>Field time usage:
>connnecting chunks: 0.0659251 s
> time stepping: 4.92044 s
> communicating: 0.411649 s
>Fourier transforming: 1.9925 s
> everything else: 0.164349 s
>
>[Finished in 12.0s with exit code 1]
>
> I'm running it in a miniconda3 env (OS : Solus GNOME, up-to-date),
> which was set up following the Installation guide (https://meep.readthe
> docs.io/en/latest/Installation/#conda-packages).
>
> I have checked simulation.py in my meep directory and it appears that
> it doesn't have the get_flux_data function.
> Could you help me fixing my installation, which appears to be outdated
> even after setting it up using the documentation ?
>
> Thanks in advance,
> Thibault.
>
> ___
> meep-discuss mailing list
> meep-discuss@ab-initio.mit.edu
> http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss
___
meep-discuss mailing list
meep-discuss@ab-initio.mit.edu
http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss