Dear developers,<br>thanks a lot for clarification.<br><br>In case we will use the meschach library within grass to replace the existing LAPACK wrapper, my BLAS and solver implementation<br>and several numerical recipes algorithm (lu, eigenvalues solvers ...), i will take the patched debian sources and integrate them into<br>
grass.<br><br>IMHO the following changes have to be made in the meschach library:<br><br>* replacing malloc, calloc and realloc with the GRASS implementation<br>* replacing printf and fprintf with the GRASS implementation<br>
* changing the error handling to use G_fatal_error and similar GRASS functions<br>* adding the prefix G_math_ to all extern library functions (with preprocessor directives)<br>* document the changes i made<br><br>Optionally:<br>
<br>* try to add OpenmMP derectives to matrix-vector and matrix-matrix computation functions<br>* try to paralleling the LLT and LDLT solver<br>* write benchmarks and more tests<br><br>Changes in GRASS:<br><br>* replacing most of the gmath and current gpde stuff in GRASS with the meschach implementation, but keeping the G_alloc_matrix and G_alloc_vector functions<br>
* integrate meschach in the doxygen documentation system<br><br>I think i will need one year again to implement this in my rare spare time. ;)<br><br>Do we need a vote to replace the gmath and gpde parts with meschach?<br>
Any objections against it or criticism or suggestions?<br><br>Btw.: this is an interesting article describing the computation speed of meschach in relation to other numerical libraries:<br><a href="http://www.ibm.com/developerworks/opensource/library/l-matrix.html">http://www.ibm.com/developerworks/opensource/library/l-matrix.html</a><br>
<br>Best regards<br>Soren<br><br><br><br><div class="gmail_quote">2009/1/11 Moritz Lennert <span dir="ltr"><<a href="mailto:mlennert@club.worldonline.be">mlennert@club.worldonline.be</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">On 11/01/09 14:02, Glynn Clements wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Moritz Lennert wrote:<br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Meschach is implemented in C and is able to replace the gmath library completely with much better implementations.<br>
I have integrated meschach into grass for testing purposes and, after some very basic testing, it works nicely.<br>
But im unsure if the licence of meschach is compatible with the GPL? Can somebody please verify this? Im not an expert in licensing.<br>
</blockquote>
This seems to be the relevant part:<br>
</blockquote>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
"The source code is available to be perused, used and passed on without<br>
cost, while ensuring that the quality of the software is not compromised."<br>
<br>
There is no mention of modification, and the second half of the sentence ("while ensuring that the quality of the software is not compromised") sounds quite suspicious to me. So, without claiming any expert knowledge either, I would be sceptical.<br>
</blockquote>
<br>
Where did you find that? <br>
</blockquote>
<br>
</div><a href="http://www.netlib.org/c/meschach/readme" target="_blank">http://www.netlib.org/c/meschach/readme</a><div class="Ih2E3d"><br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
It appears to contradict:<br>
<br>
<a href="http://packages.debian.org/changelogs/pool/main/m/meschach/current/copyright" target="_blank">http://packages.debian.org/changelogs/pool/main/m/meschach/current/copyright</a><br>
</blockquote>
<br></div>
It definitely does. I would tend to trust Debian more than the above...<br><font color="#888888">
<br>
Moritz<br>
</font></blockquote></div><br>