Dear Daniele

I have fixed the memory issue by setting

"X_all_q_CPU= "1 1 1 32 36" # [PARALLEL] CPUs for each role

X_all_q_ROLEs= "q g k c v" # [PARALLEL] CPUs roles (q,g,k,c,v)

X_all_q_nCPU_LinAlg_INV= 4 # [PARALLEL] CPUs for Linear Algebra

X_Threads=0 # [OPENMP/X] Number of threads for response functions

DIP_Threads=0 # [OPENMP/X] Number of threads for dipoles"

..."

I then processed to the BSE calculation by using "yambo -o b -k sex -y d -r -V par" and do the following settings as

"optics # [R OPT] Optics

bss # [R BSS] Bethe Salpeter Equation solver

rim_cut # [R RIM CUT] Coulomb potential

bse # [R BSE] Bethe Salpeter Equation.

bsk # [R BSK] Bethe Salpeter Equation kernel

NLogCPUs=8 # [PARALLEL] Live-timing CPU`s (0 for all)

PAR_def_mode= "memory" # [PARALLEL] Default distribution mode ("balanced"/"memory"/"workload")

BS_CPU= "32 1 36" # [PARALLEL] CPUs for each role

BS_ROLEs= "k eh t" # [PARALLEL] CPUs roles (k,eh,t)

BS_nCPU_LinAlg_INV= 1 # [PARALLEL] CPUs for Linear Algebra

BS_nCPU_LinAlg_DIAGO= 1 # [PARALLEL] CPUs for Linear Algebra

X_Threads=0 # [OPENMP/X] Number of threads for response functions

DIP_Threads=0 # [OPENMP/X] Number of threads for dipoles

K_Threads=0 # [OPENMP/BSK] Number of threads for response functions

RandQpts= 3000000 # [RIM] Number of random q-points in the BZ

RandGvec= 123 RL # [RIM] Coulomb interaction RS components

CUTGeo= "box z" # [CUT] Coulomb Cutoff geometry: box/cylinder/sphere/ws X/Y/Z/XY..

% CUTBox

0.00000 | 0.00000 | 55.00000 | # [CUT] [au] Box sides

%

CUTRadius= 0.000000 # [CUT] [au] Sphere/Cylinder radius

CUTCylLen= 0.000000 # [CUT] [au] Cylinder length

CUTwsGvec= 0.700000 # [CUT] WS cutoff: number of G to be modified

BSEmod= "resonant" # [BSE] resonant/retarded/coupling

BSKmod= "SEX" # [BSE] IP/Hartree/HF/ALDA/SEX

BSSmod= "h" # [BSS] (h)aydock/(d)iagonalization/(i)nversion/(t)ddft`

BSENGexx= 68539 RL # [BSK] Exchange components

BSENGBlk= 4 Ry # RL # [BSK] Screened interaction block size

#WehCpl # [BSK] eh interaction included also in coupling

% KfnQP_E

0.8000000 | 1.000000 | 1.000000 | # [EXTQP BSK BSS] E parameters (c/v) eV|adim|adim

% BEnRange

0.00000 | 8.00000 | eV # [BSS] Energy range

%

% BDmRange

0.050000 | 0.050000 | eV # [BSS] Damping range

%

BEnSteps=600 # [BSS] Energy steps

% BLongDir

1.000000 | 0.000000 | 0.000000 | # [BSS] [cc] Electric Field

%

% BSEBands

375 | 396 | # [BSK] Bands range

%

#WRbsWF

BSHayTrs= -0.02000 # [BSS] Relative [o/o] Haydock treshold. Strict(>0)/Average(<0)

(END)

..."

However, I got the log file with the following prompts as

"<04s> P0001: [MEMORY] Alloc px%element_1D( 2.150000Mb) TOTAL: 43.31600Mb (traced) 37.02000Mb (memstat)

<04s> P0001: [MEMORY] Alloc px%element_1D( 2.150000Mb) TOTAL: 45.47000Mb (traced) 37.02000Mb (memstat)

<04s> P0001: [MEMORY] Alloc px%element_1D( 1.075000Mb) TOTAL: 46.54900Mb (traced) 37.02000Mb (memstat)

<04s> P0001: [MEMORY] Alloc px%element_1D( 1.075000Mb) TOTAL: 47.62800Mb (traced) 37.02000Mb (memstat)

<04s> P0001: [MEMORY] Alloc px%element_1D( 2.150000Mb) TOTAL: 49.78200Mb (traced) 37.02000Mb (memstat)

<04s> P0001: [MEMORY] Alloc px%element_1D( 2.150000Mb) TOTAL: 51.93600Mb (traced) 37.02000Mb (memstat)

<04s> P0001: [PARALLEL Response_T_space for (e/h) Groups on 1080 CPU] Loaded/Total (Percentual):10/10800(0%)

<04s> P0001: [MEMORY] Alloc px%element_2D( 455.6250Mb) TOTAL: 507.6920Mb (traced) 37.02000Mb (memstat)

<05s> P0001: [PARALLEL Response_T_space for (e/h)->(e/h)' Transitions (ordered) on 1 CPU] Loaded/Total (Percentual):54005/58325400(0%)

<05s> P0001: [PARALLEL Response_T_space for CON bands on 1080 CPU] Loaded/Total (Percentual):1/715(0%)

<05s> P0001: [PARALLEL Response_T_space for VAL bands on 1 CPU] Loaded/Total (Percentual):385/385(100%)

<05s> P0001: [06.01] Transition Groups build-up

<05m-34s> P0001: [06.02] CPU-dependent Block structure

<05m-35s> P0001: [MEMORY] Alloc BS_blk(iB)%mat( 1.016000Mb) TOTAL: 1.219194Gb (traced) 37.02000Mb (memstat)

<05m-35s> P0001: [MEMORY] Alloc BS_blk(iB)%mat( 1.016000Mb) TOTAL: 1.220210Gb (traced) 37.02000Mb (memstat)

<05m-35s> P0001: [MEMORY] Alloc BS_blk(iB)%mat( 1.016000Mb) TOTAL: 1.221226Gb (traced) 37.02000Mb (memstat)

<05m-35s> P0001: [MEMORY] Alloc BS_blk(iB)%mat( 1.016000Mb) TOTAL: 1.222242Gb (traced) 37.02000Mb (memstat)

<05m-35s> P0001: [MEMORY] Alloc BS_blk(iB)%mat( 1.016000Mb) TOTAL: 1.223258Gb (traced) 37.02000Mb (memstat)

<05m-35s> P0001: [MEMORY] Alloc BS_blk(iB)%mat( 1.016000Mb) TOTAL: 1.224274Gb (traced) 37.02000Mb (memstat)

<05m-35s> P0001: [MEMORY] Alloc BS_blk(iB)%mat( 1.016000Mb) TOTAL: 1.225290Gb (traced) 37.02000Mb (memstat)

<05m-35s> P0001: [MEMORY] Alloc BS_blk(iB)%mat( 1.016000Mb) TOTAL: 1.226306Gb (traced) 37.02000Mb (memstat)

<05m-35s> P0001: [MEMORY] Alloc BS_blk(iB)%mat( 1.016000Mb) TOTAL: 1.227322Gb (traced) 37.02000Mb (memstat)

..."

The report file got termination in the steps of [06] as

" [K]Fermi Level [ev]: 0.000000

[K]VBM / CBm [ev]: 0.000000 1.990708

[K]Electronic Temp. [ev K]: 0.00 0.00

[K]Bosonic Temp. [ev K]: 0.00 0.00

[K]Finite Temperature mode: no

[K]El. density [cm-3]: 0.108E+24

[K]States summary : Full Metallic Empty

0001-0385 0386-1100

[K]Indirect Gaps [ev]: 1.990708 2.240225

[K]Direct Gaps [ev]: 1.997653 2.240225

[QP apply] Ind. Gap Correction [ev]: 0.800000

[06] Response Functions in Transition space

===========================================

[WARNING]Allocation attempt of W%p of zero size.

[ERROR] STOP signal received while in :[06] Response Functions in Transition space

(END)"

I guess this issue is also from memory. I have tried massive attempts of varying parallization methods and also reduced the values of "BSENGexx", "BSENGBlk" and "BSEBands", however, all the attempts failed in the step of "[06] Response Functions in Transition space"

Do you have any nice suggestions to address this issue? Attached are the three input (ljbse), log and report files files. Hope this could be helping. Thanks a lot

Best