On 12/14/06, Kate Minola <[EMAIL PROTECTED]> wrote: > I have recently learned that when I build sage or run > sage, that a (dot) sage directory is put in my home directory > and some files are put in it. > > Some questions. > > 1. What are these files? What do they do?
Some facts: (1) It is always safe to delete $HOME/.sage, as long as no running copies of SAGE exist. (2) The matplotlib (graphics) config file used by SAGE's copy of matplotlib is there. This avoids any conflict with an existing matplotlibrc file not related to SAGE. (3) The IPython config files used by SAGE are in .sage (4) tmp files are in .sage/tmp/pid. If you violently kill a SAGE process, it might not clean up its tmp directory. It is safe to periodically delete .sage/tmp, but currently there is nothing sage that automatically does this (this is planned!). These files are used mainly for more robust communication of large data between SAGE and other systems. (5) db -- more temp files. (6) spyx -- compiled-on-the-fly SageX code. > 2. Are these files architecture independent? > > (I hope so. I am on a shared file system with different architectures > on the network. I may be running sage on several machines at the > same time.) Yes, except in *one case* -- if you load a .spyx file the resulting .so file is cached, but the caching currently doesn't take into account the machine architecture. It would be easy for me to change it so it does, and I will do so. I think all other files are arch independent. I'll add this as an issue to trac. > 3. If I build sage, then remove the (dot) sage directory, then run > "make test", should I expect all the tests to pass? Yes. If they don't, please report the problem. Thanks. -- William --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://sage.math.washington.edu/sage/ and http://sage.scipy.org/sage/ -~----------~----~----~----~------~----~------~--~---