Skip to Content.
Sympa Menu

opal - RE: [Opal] Multi Objective Optimisation

opal AT

Subject: The OPAL Discussion Forum

List archive

RE: [Opal] Multi Objective Optimisation

Chronological Thread  
  • From: Can Davut <can.davut AT>
  • To: Adelmann Andreas <andreas.adelmann AT>
  • Cc: "opal AT" <opal AT>
  • Subject: RE: [Opal] Multi Objective Optimisation
  • Date: Thu, 26 Oct 2023 23:32:28 +0000
  • Accept-language: tr-TR, en-GB, en-US
  • Arc-authentication-results: i=1; 1; spf=pass; dmarc=pass action=none; dkim=pass; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed;; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=9k0IvmcXECX2R5M5tgIbY6QIhiI2iGAQJ71ZoV3fyeE=; b=Rk2TYnY/VmaTVmuh/fdD5sv2zH91UAv/SRh9/FySL9GO1Ziz41uVrjao6nj8kpMK9HpYw3LH4TCh6Fcmc0w7vYqYvejvFzxvFyTLfpti8z53gxQgMXfR5ocyw60BNORuw0Tp74zTP5F5VMWERMyAGJcfAhg5+5d7nn6d1aqxI1rrAzjivux9YfFlvypSVjzjgmATNIsbF5PEukf+uTYEYorS+33p/7YzRgwJRmaVv3ySX/0VmucBfTToV2UbopV4o7HEbw79HhWcPAebcE+fNbqK6HPzF6n9lO3COqqx6Hf6G/GZhsthHr4NWb74VtxQkJI6HYu1ZBTLPkuDuT2Q0g==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901;; cv=none; b=CpH4Efsg2uL5hcMGabTNUUINfuXVDPCw5gfhQE1p7f5qp8G5cqatu12EJM7FqjAR49O8vPKmg1hD8XXugz7og8OaZZOvX/APGolAp5pGXIkOyxiq/rwfnj3nSdKzTtKl8ZQvOkuf++iSDa0AWKGjuqIbUywXHWV77hLXAEynEw/skZeLmDcJ1DAZ3xk2p1QPLph70xTQLdjGm+IHzSjEnH9VeuszDZsdbuAD8hiB6TtzF04Ta5il/+8FeSk9r8/eJzWYpRTxkjiSmLUXGxKeLFUKhlfr5IJnkWSaY7JPJuIgjhAczqhEtvJVtziR9Jqfywwrqd2iiemdVdMPdGtFiw==
  • Authentication-results:; iprev=pass ( smtp.remote-ip=; spf=pass; dmarc=pass
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none;

Hi Andy,


Thanks for pointing out the issues I overlooked.


I confirm that the optimiser works now.





From: Adelmann Andreas <andreas.adelmann AT>
Sent: Friday, October 27, 2023 12:11 AM
To: Can Davut <can.davut AT>
Cc: opal AT
Subject: Re: [Opal] Multi Objective Optimisation


Hi  Can 

you evaluate the objective at  1.0 m and track to 1.0 m. Now OPAL can stop 

at 0.999 m and then the objective is not evaluated. That is what I interpret from

the output. 


Put ZSTOP at 1.01 m  and the problem should be solved.


Also use powers of 2 for the mesh sizes i.e. 16,32,64. 


I suggest to do an quick run with the optimiser using 

10’000 particles 16x16x16 mesh and increase the timestep 

by one order of magnitude. The you need 2 cores per run and 

one run takes only 60 seconds on my laptop. 


Lets see if one generation runs on your side.



Cheers Andy 
Dr. sc. math. Andreas (Andy) Adelmann
Paul Scherrer Institut OHSA/D17 CH-5232 Villigen PSI
Phone Office: xx41 56 310 42 33 Fax: xx41 56 310 31 91
Zoom ID: 470-582-4086 Password: AdA
Zoom Link:

Friday: ETH HPK G 28   +41 44 633 3076
The more exotic, the more abstract the knowledge, 
the more profound will be its consequences.
Leon Lederman 

On 26 Oct 2023, at 23:53, Can Davut <can.davut AT> wrote:


Hi Andy,


Thanks for your reply.


All right I totally misunderstood the usage of REPARTFREQ then.


Please find attached zip file including everything.





From: Adelmann Andreas <andreas.adelmann AT>
Sent: Thursday, October 26, 2023 10:16 PM
To: Can Davut <can.davut AT>
Cc: opal AT
Subject: Re: [Opal] Multi Objective Optimisation



Hi Can 


On 25 Oct 2023, at 15:33, Can Davut <can.davut AT> wrote:


Dear OPAL Users,

I would like to use the inbuilt multi-objective optimisation of OPAL but I
have encountered a couple of issues and kindly ask for your help.

- Although I define OPTION, REPARTFREQ = 14; to use 14 cores of my PC it
doesn't allow me to use more than 10 which is the default according to the


The REPARTFREQ has nothing to do with the number of cores. So I am confused 

what you are writing here!




- .tmpl and .in files are working if only I use INITIALPOPULATION=1 but
optimisation doesn't end once it is >1. .tmpl commands are given below.


Please send us a reproducer, otherwise it is not possible to track down the problem you




Thanks Andy


Archive powered by MHonArc 2.6.24.

Top of Page