[MBDyn-users] Patch for compilation with SuperLU

Rix, Patrick Patrick.Rix at repower.de
Thu May 31 17:00:35 CEST 2012


Hello Pierangelo,

I successfully compiled MBDyn-1.4.3 on WindowsXP+Cygwin with the optional SuiteSparse and SuperLU solver packages and I wanted to give some feedback.
It seems that two files names have changed in the SuperLU code (namely 'util.h' and 'dsp_defs.h' have been renamed to 'slu_util.h' and 'slu_ddefs.h' ) and for which the configure script is searching, when testing for the presence and usability of SuperLU.
After modification of  'configure.in'  and running 'autoconf' afterwards in order to produce a fresh 'configure' update with the new header names (plus disabling the test for 'util.h') and a minor change to  '/libraries/libmbwrap/superluwrap.cc'  (call of subroutine  dgstrf(...)  seems to have changed, too) the build-process finally succeeded and produced an executable with a working SuperLU solver (at least it seemed to work for the rigidbody example I used for testing).
You can find my changes in the attached patch file.

Can you give some more information on the solver - the documentation says it's experimental. Is this still the case ? What are your recommendations when to use SuperLU best and what is your experience with the multi-threaded SuperLU -does it give any significant speed up compared to naïve or umfpack ? is it stable at all ?


Kind regards,
Patrick.



________________________________
Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte umgehend den Absender und löschen Sie diese E-Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe der in dieser E-Mail enthaltenen Daten ist nicht gestattet. Wie Sie wissen, kann die Sicherheit von Übermittlungen per E-Mail nicht gewährleistet werden, E-Mails können missbräuchlich unter fremdem Namen erstellt oder verändert werden. Aus diesem Grund bitten wir um Verständnis dafür, dass wir zu Ihrem und unserem Schutz die rechtliche Verbindlichkeit der vorstehenden Erklärungen ausschließen müssen. Diese Regelung gilt nur dann nicht, wenn wir mit Ihnen eine anderweitige schriftliche Vereinbarung über die Einhaltung von Sicherheits- und Verschlüsselungsstandards getroffen haben.

This e-mail contains confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and delete this e-mail. Any unauthorised copying, disclosure or distribution of the material in this e-mail is strictly forbidden. As you know, the security of e-mail transmissions can not be guaranteed. E-mails can be misused to be written or modified under false names. For that reason, we ask you to understand the necessity for us to rule out the legal obligation of the above statement, for your protection and ours. This regulation is only invalid if we have concluded a special written agreement with you about the compliance with security and encryption standards.

REpower Systems SE · Sitz: Hamburg · Vorstand: Andreas Nauen (Vorsitz), Gregor Gnädig, Matthias Schubert · Aufsichtsratsvorsitzender: Tulsi Tanti · Registergericht: AG Hamburg (Mitte) HRB Nr.: 118644
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mbdyn.org/pipermail/mbdyn-users/attachments/20120531/2f8ebe8e/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mbdyn_superlu_PATCH.diff
Type: application/octet-stream
Size: 2145 bytes
Desc: mbdyn_superlu_PATCH.diff
URL: <http://mail.mbdyn.org/pipermail/mbdyn-users/attachments/20120531/2f8ebe8e/attachment.obj>


More information about the MBDyn-users mailing list