--disable-time-profile option

Having trouble compiling the Yambo source? Using an unusual architecture? Problems with the "configure" script? Problems in GPU architectures? This is the place to look.

Moderators: Davide Sangalli, andrea.ferretti, myrta gruning, andrea marini, Daniele Varsano, Conor Hogan, Nicola Spallanzani

Forum rules
If you have trouble compiling Yambo, please make sure to list:
(1) the compiler (vendor and release: e.g. intel 10.1)
(2) the architecture (e.g. 64-bit IBM SP5)
(3) if the problems occur compiling in serial/in parallel
(4) the version of Yambo (revision number/major release version)
(5) the relevant compiler error message
Post Reply
User avatar
malwi
Posts: 39
Joined: Mon Feb 29, 2016 1:00 pm

--disable-time-profile option

Post by malwi » Fri Oct 20, 2023 10:54 am

Dear Yambo Team,

we got an error "too many clocks" at the very end of the optical calculations for a very large system.
The files in LOG showed that 100% was done and job's predicted time was approaching.

Then we found
viewtopic.php?t=1569:
and
"one easy solution should be to re-compile yambo with --disable-time-profile option given when running the configure."

Is the proposed compilation better than the one with "time-profile"? What is the difference?
Shall we use it always for all calculations?

Best regards,
dr hab. Małgorzata Wierzbowska, Prof. IHPP PAS
Institute of High Pressure Physics Polish Academy of Sciences
Warsaw, Poland

User avatar
Davide Sangalli
Posts: 643
Joined: Tue May 29, 2012 4:49 pm
Location: Via Salaria Km 29.3, CP 10, 00016, Monterotondo Stazione, Italy
Contact:

Re: --disable-time-profile option

Post by Davide Sangalli » Fri Oct 20, 2023 11:13 am

Dear Małgorzata Wierzbowska,
Is the proposed compilation better than the one with "time-profile"? What is the difference?
Without, the code does not check the timing needed for the different steps of the calculations, e.g. you will not get a report of the timing at the end of the simulation.
You still get the "live timing bars" which mark the progression of the simulation.
This should not have an impact on the duration of the simulation.
Shall we use it always for all calculations?
By default it is enables and it should be safe. However in very few cases it can give issues, and it is better to disable the "time profiling"

Best,
D.
Davide Sangalli, PhD
CNR-ISM, Division of Ultrafast Processes in Materials (FLASHit) and MaX Centre
https://sites.google.com/view/davidesangalli
http://www.max-centre.eu/

Debe
Posts: 1
Joined: Mon Oct 22, 2012 4:33 pm

Re: --disable-time-profile option

Post by Debe » Mon Jul 14, 2025 8:04 am

I am running yambo in a super-computer facility (CINECA), an I experienced the same problem.
P1-r506c01n02: [ERROR] STOP signal received while in[05] Optics
P1-r506c01n02: [ERROR]clock_find: too many clocks.

According to the yambo forum a solution is to recompile the code with the option " -disable-time-profile".
But according to CINECA support staff, the "-disable-time-profile" option "may be impractical both because it would require making changes to the software module and not to a local copy of it, and because excluding profiling statistics may not be a desired approach for everyone."

Can you suggest an alternative way (with respect the recompilation of the code with the option " -disable-time-profile") to solve the problem ?

It seems that the problem occurs when big size systems are involved.

Alberto

User avatar
Daniele Varsano
Posts: 4234
Joined: Tue Mar 17, 2009 2:23 pm
Contact:

Re: --disable-time-profile option

Post by Daniele Varsano » Mon Jul 14, 2025 11:38 am

Dear Alberto,

please sign your post withy your name and affiliation, this is a rule of the forum. You can do once for all by filling the signature in your user profile.

This is an unexpected problem, so I do not have an easy workaround. I think you can safely recompile yambo in your home directory, omitting the usage of the time profile.

In this thread, you can find a recipe to do that (please modify it to omit the time profiling)
viewtopic.php?t=2917

If you experience any issue in the compilation procedure please report here and we will be happy to help.

Best,

Daniele
Dr. Daniele Varsano
S3-CNR Institute of Nanoscience and MaX Center, Italy
MaX - Materials design at the Exascale
http://www.nano.cnr.it
http://www.max-centre.eu/

Post Reply