On Tue, 2023-08-15 at 08:09 -0700, 'Nasser M. Abbasi' via sage-devel
wrote:
> Here is the basic flow of the script: (this is not the real script but
> a stripped down version)
>
For now at least, initializing the sage library creates one directory
under /tmp where all of sage's other temporary
For what it's worth, the `alarm` function (provided by the cysignals
package) allows for interrupting a command after a given amount of time.
sage: alarm?
Signature: alarm(seconds)
Call signature: alarm(*args, **kwargs)
Type: cython_function_or_method
String form:
File:
May be it is Python's multiprocessing then?. The script does a LOOP
calling integrate command.
But it does each call in separate process, using Python's MP.
Each command seems to create few folders. I just did one command
and saw these created:
rwx-- 2 me me4096 Aug 15
On Tue, 2023-08-15 at 03:33 -0700, 'Nasser M. Abbasi' via sage-devel
wrote:
> Each time I run a sagemath script, I see 10's of thousands of files created
> in my TMPDIR which I have to keep manually deleting.
There aren't too many parts of sage that use temporary files. What's
the script doing?
Each time I run a sagemath script, I see 10's of thousands of files created
in my TMPDIR which I have to keep manually deleting.
I am using sagemath on Linux under Virtual box.
In my .bashrc I set
export TMPDIR=/home/me/TMP/
Each start I start sagemath and run commands in loop, it starts