Tochnog suggested steps moving forward-Help needed!
[email protected] Fri, 23 Apr 2010 09:01:39 -0500
| Newsgroups | gmane.comp.mathematics.tochnog.user |
|---|---|
| Message-ID | <[email protected]> |
--===============8868452115572380068== Content-Type: multipart/alternative; boundary=Apple-Mail-1--481160524 --Apple-Mail-1--481160524 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Dear Tochnogers, If you check the current situation of the development of the open source = version of Tochnog, you probably realize that most of the computing = world is moving towards 64 bit systems. In an ideal world, this will be = great! In reality it is great! However, as i have indicted before, the only Tochnog builds that work in = 64 bit systems are those that use the basic solver, i.e. CLAPACK, the = C-translated version of LAPACK.=20 As I mentioned before, with the BLAS and LAPACK libraries being built = into new operating systems, like for example, in Mac OSX 10.5 and 10.6 = BLas and Lapack are built into the Accelerate framework, and in order to = use it, simply remove from the code the references to CLAPACK and link = against -framework Accelerate. The tochnog for OSX version in the = tochnog website is built that way and it works. I have solved 300,000 = node problems with it. Nevertheless, the Superlu solver is faster. The problem is, it appears = that there is something wrong with building Superlu 4.0 for 64 bit = systems, as regarless of the options used, building it with or without = the Cblas it does not work! Heck, even the older versions of Superlu 3.0 = amd 3.1 that used to work well in 32-bit systems are broken and do not = work with 64-bit Tochnog. Oddly enough, all the testing examples pass = the tests. I have tried contacting the developers of Superlu without success as = they blame the code in Tochnog. All this in spite of the fact that if = you build superlu and tochnog using the compile options=20 -Wconversion -Wshorten-64-to-32 -Wimplicit-function-declaration to point all instances in the code were numbers are truncated (64-->32). = In superlu you get many messages were a 64-bit number gets truncated, = i.e, implicitly converted from 64-bit into 32-bit, while in the tochnog = code there are only a few messages (in math.cc) Which means that the options are to try and figure out what the problem = is with Superlu, or try and update the so_petsc.c file since it was = written when the PETSC version was 2.2.9 and the current solver is = version 3.0 or 3.1. If anybody has been successful into building tochnog in a 64-bit system = and has been successful into having superlu 4.0 built in a 64-bit = version that works with tochnog, please share your experience with the = user group for the continuing development of Tochnog. If somebody is = working on this issue, please share your experience with the group! Your help and assistance will be greatly appreciated Fernando Lorenzo= --Apple-Mail-1--481160524 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii <html><head></head><body style=3D"word-wrap: break-word; = -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Dear = Tochnogers,<div><br></div><div>If you check the current situation of the = development of the open source version of Tochnog, you probably realize = that most of the computing world is moving towards 64 bit systems. In an = ideal world, this will be great! In reality it is = great!</div><div><br></div><div>However, as i have indicted before, the = only Tochnog builds that work in 64 bit systems are those that use the = basic solver, i.e. CLAPACK, the C-translated version of = LAPACK. </div><div><br></div><div>As I mentioned before, with the = BLAS and LAPACK libraries being built into new operating systems, like = for example, in Mac OSX 10.5 and 10.6 BLas and Lapack are built into the = Accelerate framework, and in order to use it, simply remove from the = code the references to CLAPACK and link against -framework Accelerate. = The tochnog for OSX version in the tochnog website is built that way and = it works. I have solved 300,000 node problems with = it.</div><div><br></div><div>Nevertheless, the Superlu solver is faster. = The problem is, it appears that there is something wrong with building = Superlu 4.0 for 64 bit systems, as regarless of the options used, = building it with or without the Cblas it does not work! Heck, even the = older versions of Superlu 3.0 amd 3.1 that used to work well in 32-bit = systems are broken and do not work with 64-bit Tochnog. Oddly = enough, all the testing examples pass the = tests.</div><div><br></div><div>I have tried contacting the developers = of Superlu without success as they blame the code in Tochnog. All this = in spite of the fact that if you build superlu and tochnog using the = compile options </div><div><br></div><div><span = class=3D"Apple-style-span" style=3D"font-family: Courier, Consolas, = monospace; color: rgb(102, 102, 102); font-size: 13px; = ">-Wconversion -Wshorten-64-to-32 -Wimplicit-function-declaratio= n</span></div><div><font class=3D"Apple-style-span" color=3D"#666666" = face=3D"Courier, Consolas, monospace" size=3D"3"><span = class=3D"Apple-style-span" style=3D"font-size: = 13px;"><br></span></font></div><div><font class=3D"Apple-style-span" = face=3D"Arial" size=3D"3"><span class=3D"Apple-style-span" = style=3D"font-size: 13px;">to point all instances in the code were = numbers are truncated (64-->32). In superlu you get many messages = were a 64-bit number gets truncated, i.e, implicitly converted from = 64-bit into 32-bit, while in the tochnog code there are only a few = messages (in math.cc)</span></font></div><div><font = class=3D"Apple-style-span" face=3D"Arial" size=3D"3"><span = class=3D"Apple-style-span" style=3D"font-size: = 13px;"><br></span></font></div><div><font class=3D"Apple-style-span" = face=3D"Arial" size=3D"3"><span class=3D"Apple-style-span" = style=3D"font-size: 13px;">Which means that the options are to try and = figure out what the problem is with Superlu, or try and update the = so_petsc.c file since it was written when the PETSC version was 2.2.9 = and the current solver is version 3.0 or = 3.1.</span></font></div><div><font class=3D"Apple-style-span" = face=3D"Arial" size=3D"3"><span class=3D"Apple-style-span" = style=3D"font-size: 13px;"><br></span></font></div><div><font = class=3D"Apple-style-span" face=3D"Arial" size=3D"3"><span = class=3D"Apple-style-span" style=3D"font-size: 13px;">If anybody has = been successful into building tochnog in a 64-bit system and has been = successful into having superlu 4.0 built in a 64-bit version that works = with tochnog, please share your experience with the user group for the = continuing development of Tochnog. If somebody is working on this issue, = please share your experience with the = group!</span></font></div><div><font class=3D"Apple-style-span" = face=3D"Arial" size=3D"3"><span class=3D"Apple-style-span" = style=3D"font-size: 13px;"><br></span></font></div><div><font = class=3D"Apple-style-span" face=3D"Arial" size=3D"3"><span = class=3D"Apple-style-span" style=3D"font-size: 13px;">Your help and = assistance will be greatly appreciated</span></font></div><div><font = class=3D"Apple-style-span" face=3D"Arial" size=3D"3"><span = class=3D"Apple-style-span" style=3D"font-size: = 13px;"><br></span></font></div><div><font class=3D"Apple-style-span" = face=3D"Arial" size=3D"3"><span class=3D"Apple-style-span" = style=3D"font-size: 13px;">Fernando = Lorenzo</span></font></div></body></html>= --Apple-Mail-1--481160524-- --===============8868452115572380068== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------------ --===============8868452115572380068== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Tochnog-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/tochnog-users --===============8868452115572380068==--