Difference between revisions of "Cacheman.m"

From Spinach Documentation Wiki
Jump to: navigation, search
(Sync syntax/arguments/outputs with current Spinach source)
Line 1: Line 1:
−
{{DISPLAYTITLE:cacheman.m.m}}
+
{{DISPLAYTITLE:cacheman.m}} __NOTOC__
 +
 
 
Cache management heuristics. Do not call directly - this function is automatically invoked by [[create.m]] every time ''Spinach'' runs.
 
Cache management heuristics. Do not call directly - this function is automatically invoked by [[create.m]] every time ''Spinach'' runs.
  
 
==Syntax==
 
==Syntax==
  
−
    cacheman(spin_system)
+
cacheman(spin_system) %#NHEAD
  
−
==Description==
+
==See also==
−
Looks after the scratch folder and prevents it from filling up the disk. The function inspects the /scratch folder in Spinach directory and deletes any files that are older than the threshold (the default is 7 days) specified in the spin_system.tols.cache_mem field.
 
  
−
==See also==
 
 
[[Appendix_F:_expert-level_options#Propagator caching|propagator caching]]
 
[[Appendix_F:_expert-level_options#Propagator caching|propagator caching]]
  
  
 
''Version 2.1, authors: [[Ilya Kuprov]]''
 
''Version 2.1, authors: [[Ilya Kuprov]]''
 +
 +
==Description==
 +
 +
Looks after the scratch folder and prevents it from filling up the disk. The function inspects the /scratch folder in Spinach directory and deletes any files that are older than the threshold (the default is 7 days) specified in the spin_system.tols.cache_mem field.

Revision as of 14:01, 5 April 2026


Cache management heuristics. Do not call directly - this function is automatically invoked by create.m every time Spinach runs.

Syntax

cacheman(spin_system) %#NHEAD

See also

propagator caching


Version 2.1, authors: Ilya Kuprov

Description

Looks after the scratch folder and prevents it from filling up the disk. The function inspects the /scratch folder in Spinach directory and deletes any files that are older than the threshold (the default is 7 days) specified in the spin_system.tols.cache_mem field.