Hi Miquel,

Thank you very much, it seems to work. I hope the next guile version will
be meep-compatible.
Just in case it happens to others individuals, I simply did

 sudo dnf downgrade guile*


Best regards


2016-10-27 0:50 GMT-07:00 Miquel Garriga <miq...@icmab.es>:

> Hi,
>
> I had the same problem. A workaround for it is to downgrade to
> guile-2.0.11 (I'm guessing you have guile-2.0.13)
> Guile version 2.0.12 [1] introduced new functions to interact with
> automatic SMOB finalization.
> I guess the swig wrapper code for meep (meep.i, meep_wrap.patch) has to be
> adapted to this new functions.
> Unfortunately, I am not fluent enough in scheme and swig to fix the bug.
>
> Best regards,
> Miquel
>
> [1] https://lists.gnu.org/archive/html/guile-user/2016-07/msg00036.html
>
> On Tue, 25 Oct 2016 09:27:54 -0700
> Nicolas Bachelard <nicolas.bachel...@gmail.com> wrote:
>
> > Dear Meep users,
> >
> > I am using meep for many of my codes and everything was working fine so
> far.
> > For a couple of days I do face a weird problem when I execute any of my
> > codes.
> > For instance when I execute the example ring.ctl
> >
> > >> meep ring.ctl
> >
> > -----------
> > Initializing structure...
> > Working in 2D dimensions.
> > Computational cell is 16 x 16 x 0 with resolution 10
> >      cylinder, center = (0,0,0)
> >           radius 2, height 1e+20, axis (0, 0, 1)
> >           dielectric constant epsilon diagonal = (11.56,11.56,11.56)
> >      cylinder, center = (0,0,0)
> >           radius 1, height 1e+20, axis (0, 0, 1)
> >           dielectric constant epsilon diagonal = (1,1,1)
> > Halving computational cell along direction y
> > time for set_epsilon = 0.0344498 s
> > -----------
> > creating output file "./ring-eps-000000.00.h5"...
> > Backtrace:
> > In ice-9/boot-9.scm:
> >  160: 12 [catch #t #<catch-closure 1115780> ...]
> > In unknown file:
> >    ?: 11 [apply-smob/1 #<catch-closure 1115780>]
> > In ice-9/eval.scm:
> >  432: 10 [eval # #]
> >  432: 9 [eval # #]
> > In unknown file:
> >    ?: 8 [primitive-load "ring.ctl"]
> > In ice-9/eval.scm:
> >  432: 7 [eval # #]
> > In ice-9/boot-9.scm:
> >  705: 6 [map #<procedure 1cd24e0 at ice-9/eval.scm:416:20 (a)> #]
> > In ice-9/eval.scm:
> >  399: 5 Exception thrown while printing backtrace:
> > ERROR: In procedure delete-meep-volume: Wrong type argument in position
> 1:
> > #<finalized smob 1cc73a0>
> >
> > ERROR: In procedure %run-finalizers:
> > ERROR: In procedure delete-meep-volume: Wrong type argument in position
> 1:
> > #<finalized smob 1cc7780>
> >
> > Some deprecated features have been used.  Set the environment
> > variable GUILE_WARN_DEPRECATED to "detailed" and rerun the
> > program to get more information.  Set it to "no" to suppress
> > this message.
> >
> >
> >
> > I am strongly suspecting that I did something wrong, but unfortunately I
> > don't have any idea of what it could be.
> > Does someone has any idea of what is going on?
> >
> >
> > Best regards
> >
> > Nicolas
> >
> >
> >
> > --
> >
> > ----------------------------------------------------------
> > Nicolas Bachelard, PhD
> > NSF Nanoscale Science and Engineering Center (NSEC),
> > University of California, Berkeley 3112 Etcheverry Hall,
> > UC Berkeley, California 94720, USA
>
> _______________________________________________
> meep-discuss mailing list
> meep-discuss@ab-initio.mit.edu
> http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss




-- 

----------------------------------------------------------
Nicolas Bachelard, PhD
NSF Nanoscale Science and Engineering Center (NSEC),
University of California, Berkeley 3112 Etcheverry Hall,
UC Berkeley, California 94720, USA
_______________________________________________
meep-discuss mailing list
meep-discuss@ab-initio.mit.edu
http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss

Reply via email to