Page 1 of 1

Too many files in the SAVE directory

Posted: Wed Sep 16, 2015 4:18 pm
by javad
Dear yambo developers

I'm performing different BSE calculations with Yambo, to check parameters and so on, but I have a problem.

When I try to erase the old files in the SAVE folder, doing

Code: Select all

rm SAVE/ndb.BS*
I get the error message

Code: Select all

bash: /bin/rm: Argument list too long
it there a way to generate less files in the SAVE folder?

Javad

Re: Too many files in the SAVE directory

Posted: Wed Sep 16, 2015 4:37 pm
by Daniele Varsano
Dear Javad,

This is a known problem, here some workarounds:


Solution 1: Parallelize the BSE over the K-points e.g.:

Code: Select all

BS_CPU= "16 1 1"              # [PARALLEL] CPUs for each role
BS_ROLEs= "k eh t"  
Solution 2: Avoid to write database on file:

Code: Select all

DBsIOoff="BS"
Solution 1, the more cpu you use, lesser files you will have in the SAVE dir.
Solution 2, preferred. Any file will be written on disk, so you have to diagonalize it on the same run. Drawbacks, any restart is possible.

In an internal devel version we have implemented a way to soften this problem by avoiding this huge fragmentation. We will insert it in the release very soon.

Best,

Daniele

Re: Too many files in the SAVE directory

Posted: Wed Sep 16, 2015 4:59 pm
by Davide Sangalli
Dear Javad,
another quick suggestion which may help is to run yambo with the -J JOBNAME option.
In this way the run will create a folder named JOBANAME and put there all the ndb.BS* files
Thus to erase them you can simply run: rm -r JOBNAME

This will avoid the problem.

Best,
D.