opal AT lists.psi.ch
Subject: The OPAL Discussion Forum
List archive
- From: "Finn O'Shea" <finn.oshea AT nusano.com>
- To: opal <opal AT lists.psi.ch>
- Subject: [Opal] MOGA optimizer gets stuck about half the time
- Date: Mon, 15 Jun 2020 17:07:40 -0700
Hi All,
--
I'm trying to get the MOGA optimizer working and I've sort of been successful. The first problem I encountered was that there are three references to the same FODO problem that are all slightly, but significantly, different.
The example in section 21.4.7 of the "main" wiki, the wiki gives two files for the user to recreate the FODO example, but this won't work. I think the user also needs the .data file that specifies the initial values of the QDX1_K1 (and the like) variables. Inside the opt-pilot wiki, there is a link to fodo.tgz that contains all three files, but there is also an example in the text of that wiki that is different in that does not use the .data file at all, nor does it use the .in and .tmpl convention of either the zipped file or the main wiki.
Second, I couldn't get visualize_pf.py to work. The first bug I found is on line 384:
print("Show generation " + generation)
that should read str(generation) otherwise a TypeError is raised. Even after fixing that bug, there was at least one more. I created my own viewer using Bokeh instead of running them down.
Third, the optimizer will supplant data in existing json files without telling the user.
Is this the intended behavior? If, for example, you do a run of 50 individuals for 10 generations and then do a run of 10 individuals for 5 generations the first 10 individuals in the first 5 generations will be the new data and all the other data will be the old data. I was surprised by this.
Finally, I modified the FODO example to be an even simpler FD and it hangs when running the MOGA optimizer on it about half the time. No errors, no warnings, it just gets stuck. I'm running Opal under Windows Subshell for Linux. Maybe there is something specific about my example here, but without any errors or an obvious crash, it seems more like the optimization is getting bogged down. All the assigned processors appear to be working the whole time. I've attached the files for the optimizer, in case anyone has seen this before. I've also attached the contents of opt.trace.0, pilot.trace.0, opt.progress.0 (if created) and the blurb at the end of a successful optimization run. Maybe there is a verbose way to run the optimizer?
That got really long, sorry, and thanks for listening,
Finn
Senior Scientist
Nusano, Inc
28575 Livingston Ave
Valencia, CA 91355
Office: 1 (424) 293-3174
Attachment:
mpi_opt_with_opal.pdf
Description: Adobe PDF document
Attachment:
fdopt.in
Description: Binary data
Attachment:
fdopt.tmpl
Description: Binary data
Attachment:
fdopt.data
Description: Binary data
- [Opal] MOGA optimizer gets stuck about half the time, Finn O'Shea, 06/16/2020
- Re: [Opal] MOGA optimizer gets stuck about half the time, Adelmann Andreas (PSI), 06/17/2020
- Re: [Opal] MOGA optimizer gets stuck about half the time, Snuverink Jochem (PSI), 06/19/2020
- Re: [Opal] MOGA optimizer gets stuck about half the time, Adelmann Andreas (PSI), 06/19/2020
- Re: [Opal] MOGA optimizer gets stuck about half the time, Finn O'Shea, 06/19/2020
- Re: [Opal] MOGA optimizer gets stuck about half the time, Adelmann Andreas (PSI), 06/19/2020
Archive powered by MHonArc 2.6.19.