Collisions calculation getting stuck 62% 97%

Questions and doubts about features of non linear optic in Yambo (yamb_nl)

Moderators: Davide Sangalli, claudio, myrta gruning

Post Reply
sohan
Posts: 27
Joined: Thu Nov 14, 2024 1:10 pm

Collisions calculation getting stuck 62% 97%

Post by sohan » Thu Mar 06, 2025 7:34 pm

Dear sir,
I am doing tdbse Shg on a system but my collision calc always get stuck at 62% or at 97%, I'm attaching coll input, log and report, please suggest a way so that my calculation can run smoothly, I am stuck in this step for days, i dont feel memory is an issue and it'll run successfully on single core but takes time to complete. Looking fwd to your valuable response.
regards
Sohan
Last edited by sohan on Mon Mar 17, 2025 8:38 am, edited 1 time in total.
Sohan
M.Sc. (Physics)
Central University of Punjab, India

sohan
Posts: 27
Joined: Thu Nov 14, 2024 1:10 pm

Re: Collisions calculation getting stuck 62% 97%

Post by sohan » Thu Mar 06, 2025 8:09 pm

Also I have configured and compiled 5.3.0 using
./configure --enable-dp --enable-mpi FC=ifort CC=icc
I hope this is not causing the mishap.
I have attached config log.
regards
sohan
Last edited by sohan on Mon Mar 17, 2025 8:38 am, edited 1 time in total.
Sohan
M.Sc. (Physics)
Central University of Punjab, India

User avatar
claudio
Posts: 526
Joined: Tue Mar 31, 2009 11:33 pm
Location: Marseille
Contact:

Re: Collisions calculation getting stuck 62% 97%

Post by claudio » Fri Mar 07, 2025 2:44 pm

Dear Sohan

please try to compile yambo_rt without double-precision and use it to calculate collisions,
it is much faster and collisions in single precision are perfect for real-time dynamics.

However do not forget that for the dynamics you need yambo_nl

best
Claudio
Claudio Attaccalite
[CNRS/ Aix-Marseille Université/ CINaM laborarory / TSN department
Campus de Luminy – Case 913
13288 MARSEILLE Cedex 09
web site: http://www.attaccalite.com

sohan
Posts: 27
Joined: Thu Nov 14, 2024 1:10 pm

Re: Collisions calculation getting stuck 62% 97%

Post by sohan » Fri Mar 07, 2025 7:38 pm

Dear Sir,
Thank you for the kind response, I'll have two different yambo with single and double precision and will give a try with single precision. Will report you the outcomes.
regards
Sohan
Sohan
M.Sc. (Physics)
Central University of Punjab, India

sohan
Posts: 27
Joined: Thu Nov 14, 2024 1:10 pm

Re: Collisions calculation getting stuck 62% 97%

Post by sohan » Sat Mar 08, 2025 12:20 pm

Dear sir,
The stuck issue is still there even after configuring with single precision. I have attached again report, input, log and config log. Please suggest any solution.
regards
sohan
Last edited by sohan on Mon Mar 17, 2025 8:38 am, edited 1 time in total.
Sohan
M.Sc. (Physics)
Central University of Punjab, India

User avatar
claudio
Posts: 526
Joined: Tue Mar 31, 2009 11:33 pm
Location: Marseille
Contact:

Re: Collisions calculation getting stuck 62% 97%

Post by claudio » Mon Mar 10, 2025 11:48 am

Dear sohan

try to setup different parallelization scheme and see if it works, just do:
yambo_rt -X s -collisions -potential h+sex -V par

then you can try to parallelize:

RT_CPU= "1,4,1,4" # [PARALLEL] CPUs for each role
RT_ROLEs= "k,b,q,qp" # [PARALLEL] CPUs roles (k,b,q,qp)

or

RT_CPU= "1,1,1,16" # [PARALLEL] CPUs for each role
RT_ROLEs= "k,b,q,qp" # [PARALLEL] CPUs roles (k,b,q,qp)

and check if it works.
Then remember that your parameters are not converged you should increase at least
HARRLvcs= 3000 mHa # [HA] Hartree RL components
EXXRLvcs= 3000 mHa # [XX] Exchange RL components
CORRLvcs= 3000 mHa # [GW] Correlation RL components

and more bands in X.
best
Claudio
Claudio Attaccalite
[CNRS/ Aix-Marseille Université/ CINaM laborarory / TSN department
Campus de Luminy – Case 913
13288 MARSEILLE Cedex 09
web site: http://www.attaccalite.com

sohan
Posts: 27
Joined: Thu Nov 14, 2024 1:10 pm

Re: Collisions calculation getting stuck 62% 97%

Post by sohan » Mon Mar 10, 2025 3:32 pm

Dear sir,
There's one thing I noticed while running collisions calculation in parallel, that it will stuck for particular no. of processors and will run for one certain number of processors. In my case I was able to run collision calculation
mpirun -np N yambo_rt
when N= 1,2,3,5,11,19 and was getting stuck when N= 4,8,7,16,12
What could be the reason behind it?
regards
sohan
Sohan
M.Sc. (Physics)
Central University of Punjab, India

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

Re: Collisions calculation getting stuck 62% 97%

Post by Davide Sangalli » Tue Mar 11, 2025 6:58 pm

It is an issue which was also noticed in the past and never solved so far.

At present we do not have a solution. We are checking the code in order to fix it.

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/

Post Reply