Skip to Content.
Sympa Menu

opal - Re: [Opal] Increase in External Field Evaluation Time

opal AT

Subject: The OPAL Discussion Forum

List archive

Re: [Opal] Increase in External Field Evaluation Time

Chronological Thread  
  • From: Chris Hall <chall AT>
  • To: Christof Metzger-Kraus <christof.j.kraus AT>
  • Cc: Nicole R Neveu <nneveu AT>, opal <opal AT>
  • Subject: Re: [Opal] Increase in External Field Evaluation Time
  • Date: Mon, 18 Jan 2021 10:37:52 -0700

    Hi Christof,

Thanks for taking a look at this. I use AstraMagnetostatic and AstraDynamic field maps. I'll send the input files to you separately if you'd like to take a look. I'm not using any other special features.

We will take a look at how OPAL is being compiled. I think there may have been some changes made to our environment recently. I'll report back if we find anything of interest.


On Sun, Jan 17, 2021 at 11:32 PM Christof Metzger-Kraus <christof.j.kraus AT> wrote:
Hi Chris and Nicole,

this seems to be a problem of load balancing. I already noticed an extreme in balance in the timings that Chris provided. I don't know why this is like this yet however.


On Sun, Jan 17, 2021 at 7:09 AM Nicole R Neveu <nneveu AT> wrote:

Hi guys,


I needed to do a rebuild today on a computer I wasn’t using for a few months.

I saw a similar behavior to Chris + one more difference.

When I re-ran a LCLS-II test with 2.4, the run time was 9 minutes vs. 6 minutes on my old 2.0 build.


I went back and built off the 2.2 branch, and the file would not run.

The error was related interpolation when loading the last field map (a standing wave rf cavity).

See file attached.


Then I went back to a simpler test (AWA gun on regression tests).

Only one rf cavity in that file (the gun) + solenoids, and there was no time difference or error when switching between 2.2 and 2.4?

Could this point to something field map related?






From: <opal-request AT> on behalf of Christof Metzger-Kraus <christof.j.kraus AT>
Reply-To: Christof Metzger-Kraus <christof.j.kraus AT>
Date: Saturday, January 16, 2021 at 7:18 AM
To: Chris Hall <chall AT>
Cc: opal <opal AT>
Subject: Re: [Opal] Increase in External Field Evaluation Time


Hi Chris,


I've ran our regression tests with version 2.2 and 2.4 of Opal but I didn't notice any dramatic increase in compute time for the evaluation of external fields for any test. Some ran a bit slower others a bit faster. Can you share the input file and the fields maps? If not: what kind of field maps do you use? Do you use other features such as wake fields or particle matter interaction?




On Tue, Jan 12, 2021 at 6:21 AM Christof Metzger-Kraus <christof.j.kraus AT> wrote:

Hi Chris,


I can't find anything in the changes of the source code that could have such an influence on the compute time for the external fields. I'll investigate this.




On Mon, Jan 11, 2021 at 9:44 PM Chris Hall <chall AT> wrote:

Hi All,


I recently noticed that some OPAL simulations were taking much longer than expected. We upgraded to OPAL 2.4.0 from 2.2.0 not that long ago so I reran an old simulation I still had outputs for. From this I see that the average Wall and CPU times for "External field eval." have increased by almost a factor of 10 when I compare 2.4 to 2.2. This leads to a doubling of the total wall clock run time. None of the other individual timing results show significant difference between the two runs.


Is anyone aware of changes between the two versions that might have caused this, or any other factors that should be investigated that would lead to this?


I've attached the run logs (with step updates cut out) for the runs on versions 2.2 and 2.4 for reference.




Chris hall

Research Scientist | RadiaSoft

720-502-3928 x709 | chall AT |


Chris hall

Research Scientist | RadiaSoft

720-502-3928 x709 | chall AT |

Archive powered by MHonArc 2.6.19.

Top of Page