Questions and Answers

0 Dislike

Robin Whittle

Error post-processing Meep Rod Dipole example

I carefully ran the Rod Dipole example:

1 – Produce Meep input files only. 2 – Dry-run the current configuration 3 – Fully simulate the current configuration

without any changes or obvious problems. In the relevant session directory (371174L), I had a subdirectory of the name (xxx) I gave my project, and in that directory were three files:

* structure_profile_epsilon.h5
* volume_1_epsilon.h5
* volume_1_norm_epsilon.h5

When I closed that session and tried (session 371221):

4 – Load and post-process a completed simulation

I noticed the system had created a directory “data/sessions/371174L-expired” with all the files (I guess) copied from the “data/sessions/371174L” directory. It then started processing some things, presumably so I could view the fields, according to the new near-a and far-field settings I saw and left unchanged in the “7 Post-Processing” stage.

A bunch of stuff scrolled by and when it finished, the results list was:

* Structural Profile: Dielectric Constant * Material Model: Au_optical – 0.5 to 6.2 eV * Middleware Error Log * Middleware Output Log * Critical Error

In the stuff, were lines including:

Using directory “/home/nanohub/robinwhittle/data/sessions/371174L-expired” as the toolkit output.

The Middware Error Log included:

(I can’t cut and paste from the Java window, this is manually transcribed, and I couldn’t find a file with this in it.)

2 No such file or directory: ‘/home/nanohub/robinwhittle/data/sessions/371174L/SaveFiles/Rod Dipole no changes.sim’

Sure enough, there is no such file there – but there is on in the same location in the “expired” directory.

I copied the file from the “expired” location to the “…371174L/SaveFiles/” directory and tried again, closing the 371221 session and starting a new one 371231. This produced even more errors, (again I don’t know where this Middleware Error Log file is in the system, but it appears the software found the file ‘/home/nanohub/robinwhittle/data/sessions/371174L/SaveFiles/Rod Dipole no changes.sim’ inaccessible. I checked via WebDAV and the Storage Manager – and the file was still there, apparently intact.

I am looking forward to using Meep!

– Robin

Report abuse

2 Responses

  1. 0 Like 0 Dislike

    Alexander S McLeod

    Hi Robin,
    
    Thanks for the detailed description of your problem.  The messages that appear in the "Middleware Error Log" are typically benign errors, and are posted for debugging purposes only.  Whatever error occurred in your case, the "Critical Error" result should contain the relevant clues.  The toolkit is set to seek out your old session directory (in this case, your session 371174), and if it does not find it, it emits a debug message (like the one you saw) and then looks for the expired version, which in your case it appears to have found.  So, I don't think that's quite the problem.  What do you see under "Critical Error"?  Let me know and I'll see how I can help.
    
    Best,
    Alex
    

    Cancel Report abuse

    Please login to answer the question.

  2. 0 Like 0 Dislike

    Todor Antonijevic

    Hi,

    I have similar problem for Rod Dipole example. I am not able to perform the last step “Load and post-process a completed simulation” correctly.

    Was there any further suggestion/improvements ?

    Todor

    Reply Report abuse

    Please login to answer the question.