This message is really for Octave users, but if anyone knows where temp folders are stored (other than /tmp), or if there's a log of where files are written to disk then please let me know!
I have two Octave scripts. One performs a simple monte carlo integration with N random numbers, and the other repeatedly sends in different values of N into the first script and plots a graph (value of integral vs N) to show that precision is improved for larger N values.
I first set up my scripts to plot around 10000 different points which took such a long time I decided to kill the process and start again with fewer points. The second time I did it (with fewer points) it stalled halfway leaving me with no option but to kill Octave this time as well. It turned out that it stalled because of a lack of diskspace. Octave had been taking up disk space which it normally gave back to me when I quit, but since the Octave process was killed on both occasions it didn't. I now have 1.5Gb missing somewhere on my hard drive.
Shouldn't Octave delete any temp files when it is restarted?
I've looked for my 1.5Gb in /tmp, every directory and sub-directory with 'octave' in the name and in my home folder with no luck. I have also tried the usual reboot of my computer and restarting Octave, as well as uninstalling octave.
Anyone know where the diskspace is being eaten up?
I really appreciate your time reading this.
Thanks in advance.
Octave version 2.9.9 (i686-redhat-linux-gnu)
OS: Fedora 7
Here are my scripts:
function MCint = vectorMC(N)
plot([0 5000],[(e^1-1) (e^1-1)])
xlabel('The total number of random points')
ylabel('Value of integral')