Matvec Users’ Guide
Matvec Users' Guide
Matvec Users' Guide
- No tags were found...
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Chapter 14<br />
Exception<br />
Exceptions in <strong>Matvec</strong><br />
14.1 Error Handling<br />
<strong>Matvec</strong> does not handle errors very gracefully. You will be forced to quit <strong>Matvec</strong> if the number of errors<br />
reaches 15 in a session.<br />
After numerous errors, you may find that <strong>Matvec</strong> behaves unexpectedly, then you REALLY have to quit<br />
the current session immediately and restart it again.<br />
14.2 Troubleshooting<br />
14.2.1 Lack of memory<br />
Because <strong>Matvec</strong> allocate memory dynamically for each object. If you get a message saying “lack of memory”,<br />
then you have reached the maximum memory in your computer.<br />
14.2.2 Intermediate files<br />
<strong>Matvec</strong> may automatically swap data from the computer memory to disk. These intermediate files are saved<br />
in the $(HOME)/.matvec directory with file names something like 798233981.2 where 798233981 is your<br />
computer system time when you launched <strong>Matvec</strong>, and 2 indicates that this is the second intermediate file<br />
since you launched <strong>Matvec</strong>. It is clear that you are safe to launch multiple <strong>Matvec</strong> sessions within the same<br />
directory as long as those sessions started at different time. All of these intermediate files are automatically<br />
deleted whenever <strong>Matvec</strong> is normally ended; otherwise you have to manually delete them.<br />
14.2.3 Bugs<br />
• Whenever you get a message similar to “you have probably found a bug!”, report to <strong>Matvec</strong> maintainer<br />
with your script and data.<br />
• Whenever you suspect a bug, don’t report it until you can duplicate the bug.<br />
14.2.4 EPSILON<br />
• if you get a message similar to<br />
***ERROR***<br />
SparseMatrix seems not positive (semi)definite: -3284690426.413546<br />
109