Re: four questions regarding use and compiling of tochnog
[email protected] Thu, 30 Sep 2010 07:19:01 -0500
| Newsgroups | gmane.comp.mathematics.tochnog.user |
|---|---|
| Message-ID | <[email protected]> |
--===============8330124446346701020== Content-Type: multipart/alternative; boundary=Apple-Mail-2-451779557 --Apple-Mail-2-451779557 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii =20 See Comments below 1) Some time ago I started learning how to use Tochnog, and it seems to suit to my needs for my PhD research. But with my last model I have a problem: It's 14507 nodes and 77255 -tet4 elements. I'm performing a elastic calculation. The problem is that it last about 3 minutes to calculate the problem and it writes the database (.dbs file), but it doesn't print the GiD files (even after one hour running!!). I've tried with smaller models and GiD printing works fine. I really don't know what is going on, and how can I overcome that. I have tried running it in Windows, Linux (within a virtual machine), but nothing. I recompiled it (linux_old) and nothing. Probably it's due to the size of the problem, but if it writes the whole .dbs file, which is circa 50 MB large, why doesn't it print the GiD files, which should be smaller? ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ You can try telling tochnog to print the gid file. I normally ask the=20 program to print the results for all the calculation steps. In that way=20= you can see how the results are changing or get results for all the = loading=20 conditions try for example: control_timestep 10 1.1 6.1 6 500 ...... control_timestep_iterations 10 3 control_print 10 -time_current -post_node_rhside_ratio control_print_database 10 -yes=20 control_print_gid 10 -yes end_data ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2) I'd like to know if there's a flux diagram of the code. +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ NO there is not. Check the program manual on the web. ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 3) Has somebody compiled tochnog for analyzing just some specific type of problem? I mean if I will be involved just in modeling of solids with a linear elasticity constitutive model, is it possible to compile the code in order to solve that. I ask this because I think that being compile for an unique propose would make it run faster, wouldn't it? +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ No. Tochnog is a multidisciplinary FEA program. +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 4) How can Tochnog be compiled for 64 bits? - in Linux I tried replacing the flag -m486 by mtune=3Dnative, but it doesn't compile.=20 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ In linux you need to use -mcpu=3Dcpu-type and -m64 Tune to cpu-type everything applicable about the generated code, except = for=20 the ABI and the set of available instructions. The choices for cpu-type = are=20 i386, i486, i586, i686, pentium, pentium-mmx, pentiumpro, pentium2, = pentium3,=20 pentium4, k6, k6-2, k6-3,athlon, athlon-tbird, athlon-4, athlon-xp and = athlon-mp. For OSX you can check the latest Tochnog makefile for darwin-intel = ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++= ++++ Well, I think this is all for now. Thank you very much for your help. cheers, Ferney = ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++= +++++++++ I hope this helps, Fernando Lorenzo=20 --Apple-Mail-2-451779557 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; = "><div><br></div><div><span class=3D"Apple-style-span" = style=3D"font-family: arial, helvetica, clean, sans-serif; color: = rgb(94, 94, 94); font-size: 13px; line-height: 16px; "><table = width=3D"100%" border=3D"0" cellpadding=3D"0" cellspacing=3D"0" = style=3D"border-collapse: collapse; -webkit-border-horizontal-spacing: = 0px; -webkit-border-vertical-spacing: 0px; font-size: inherit; = margin-top: 1em; margin-right: 0px; margin-bottom: 1em; margin-left: = 0px; width: 4393px; empty-cells: show; position: static; z-index: auto; = "><tbody><tr><td style=3D"margin-top: 0px; margin-right: 0px; = margin-bottom: 0px; margin-left: 0px; padding-top: 10px; padding-right: = 5px; padding-bottom: 10px; padding-left: 5px; font-size: 12px; = text-align: left; border-top-style: solid; border-right-style: none; = border-bottom-style: solid; border-left-style: solid; border-width: = initial; border-color: initial; border-bottom-width: 1px; = border-bottom-color: rgb(204, 204, 204); border-top-width: 1px; = border-top-color: rgb(238, 238, 238); border-left-width: 1px; = border-left-color: rgb(221, 221, 221); background-image: = url(https://a.fsdn.com/sf/images//phoneix/grad_white_30.png); = background-position: 0px -1.3em; background-repeat: repeat no-repeat; = "><table width=3D"100%" border=3D"0" style=3D"border-collapse: collapse; = -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: = 0px; font-size: inherit; margin-top: 1em; margin-right: 0px; = margin-bottom: 1em; margin-left: 0px; width: 4372px; empty-cells: show; = position: static; z-index: auto; "><tbody><tr><td bgcolor=3D"#DDDDDD" = nowrap=3D"" style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: = 0px; margin-left: 0px; padding-top: 10px; padding-right: 5px; = padding-bottom: 10px; padding-left: 5px; font-size: 11px; text-align: = left; border-top-style: solid; border-right-style: none; = border-bottom-style: solid; border-left-style: none; border-width: = initial; border-color: initial; border-bottom-width: 1px; = border-bottom-color: rgb(204, 204, 204); border-top-width: 1px; = border-top-color: rgb(238, 238, 238); border-left-width: initial; = border-left-color: initial; background-image: = url(https://a.fsdn.com/sf/images//phoneix/grad_white_30.png); = background-position: 0px -1.3em; background-repeat: repeat no-repeat; = "><div class=3D"forum" style=3D"margin-top: 0px; margin-right: 0px; = margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: = 0px; padding-bottom: 0px; padding-left: 0px; "><div style=3D"margin-top: = 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; = padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: = 0px; "><span class=3D"Apple-style-span" style=3D"font-size: 9px; = "> </span></div></div></td></tr><tr><td = class=3D"email_body" style=3D"margin-top: 0px; margin-right: 0px; = margin-bottom: 0px; margin-left: 0px; padding-top: 10px; padding-right: = 5px; padding-bottom: 10px; padding-left: 5px; font-size: 12px; = text-align: left; border-top-style: solid; border-right-style: none; = border-bottom-style: solid; border-left-style: none; border-width: = initial; border-color: initial; border-bottom-width: 1px; = border-bottom-color: rgb(204, 204, 204); border-top-width: 1px; = border-top-color: rgb(238, 238, 238); border-left-width: initial; = border-left-color: initial; background-image: = url(https://a.fsdn.com/sf/images//phoneix/grad_white_30.png); = font-family: monospace; background-position: 0px -1.3em; = background-repeat: repeat no-repeat; "><pre style=3D"margin-top: 0px; = margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: = 0.5em; padding-right: 1em; padding-bottom: 0.5em; padding-left: 1em; = font-family: monospace; line-height: 16px; font-size: 11px; ">See = Comments below 1) Some time ago I started learning how to use Tochnog, and it seems to suit to my needs for my PhD research. But with my last model I have a problem: It's 14507 nodes and 77255 -tet4 elements. I'm performing a elastic calculation. The problem is that it last about 3 minutes to calculate the problem and it writes the database (.dbs file), but it doesn't print the GiD files (even after one hour running!!). I've tried with smaller models and GiD printing works fine. I really don't know what is going on, and how can I overcome that. I have tried running it in Windows, Linux (within a virtual machine), but nothing. I recompiled it (linux_old) and nothing. Probably it's due to the size of the problem, but if it writes the whole .dbs file, which is circa 50 MB large, why doesn't it print the GiD files, which should be = smaller?</pre><pre style=3D"margin-top: 0px; margin-right: 0px; = margin-bottom: 0px; margin-left: 0px; padding-top: 0.5em; padding-right: = 1em; padding-bottom: 0.5em; padding-left: 1em; font-family: monospace; = line-height: 16px; font-size: 11px; = ">++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++= You can try telling tochnog to print the gid file. I normally ask = the </pre><pre style=3D"margin-top: 0px; margin-right: 0px; = margin-bottom: 0px; margin-left: 0px; padding-top: 0.5em; padding-right: = 1em; padding-bottom: 0.5em; padding-left: 1em; font-family: monospace; = line-height: 16px; font-size: 11px; ">program to print the results for = all the calculation steps. In that way </pre><pre = style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; = margin-left: 0px; padding-top: 0.5em; padding-right: 1em; = padding-bottom: 0.5em; padding-left: 1em; font-family: monospace; = line-height: 16px; font-size: 11px; ">you can see how the results are = changing or get results for all the loading </pre><pre = style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; = margin-left: 0px; padding-top: 0.5em; padding-right: 1em; = padding-bottom: 0.5em; padding-left: 1em; font-family: monospace; = line-height: 16px; font-size: 11px; ">conditions try for example: control_timestep 10 1.1 6.1 6 500 ...... control_timestep_iterations 10 3 control_print 10 -time_current -post_node_rhside_ratio control_print_database 10 -yes=20 control_print_gid 10 -yes end_data ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++</pre><pre = style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; = margin-left: 0px; padding-top: 0.5em; padding-right: 1em; = padding-bottom: 0.5em; padding-left: 1em; font-family: monospace; = line-height: 16px; font-size: 11px; "> 2) I'd like to know if there's a flux diagram of the = code.</pre><pre style=3D"margin-top: 0px; margin-right: 0px; = margin-bottom: 0px; margin-left: 0px; padding-top: 0.5em; padding-right: = 1em; padding-bottom: 0.5em; padding-left: 1em; font-family: monospace; = line-height: 16px; font-size: 11px; = ">+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++</pre><pr= e style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; = margin-left: 0px; padding-top: 0.5em; padding-right: 1em; = padding-bottom: 0.5em; padding-left: 1em; font-family: monospace; = line-height: 16px; font-size: 11px; ">NO there is not. Check the program = manual on the web. = ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++</pre><p= re style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; = margin-left: 0px; padding-top: 0.5em; padding-right: 1em; = padding-bottom: 0.5em; padding-left: 1em; font-family: monospace; = line-height: 16px; font-size: 11px; "> 3) Has somebody compiled tochnog for analyzing just some specific type of problem? I mean if I will be involved just in modeling of solids with a linear elasticity constitutive model, is it possible to compile the code in order to solve that. I ask this because I think that being compile for an unique propose would make it run faster, wouldn't = it?</pre><pre style=3D"margin-top: 0px; margin-right: 0px; = margin-bottom: 0px; margin-left: 0px; padding-top: 0.5em; padding-right: = 1em; padding-bottom: 0.5em; padding-left: 1em; font-family: monospace; = line-height: 16px; font-size: 11px; "><br></pre><pre style=3D"margin-top: = 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; = padding-top: 0.5em; padding-right: 1em; padding-bottom: 0.5em; = padding-left: 1em; font-family: monospace; line-height: 16px; font-size: = 11px; ">+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ No. Tochnog is a multidisciplinary FEA program. <span class=3D"Apple-style-span" style=3D"line-height: normal; = white-space: normal; font-size: 12px; "><pre style=3D"margin-top: 0px; = margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: = 0.5em; padding-right: 1em; padding-bottom: 0.5em; padding-left: 1em; = font-family: monospace; line-height: 16px; font-size: 11px; = ">+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++</pre></s= pan><div><br></div> 4) How can Tochnog be compiled for 64 bits? - in Linux I tried replacing the flag -m486 by mtune=3Dnative, but it doesn't compile.=20 <br></pre><pre style=3D"margin-top: 0px; margin-right: 0px; = margin-bottom: 0px; margin-left: 0px; padding-top: 0.5em; padding-right: = 1em; padding-bottom: 0.5em; padding-left: 1em; font-family: monospace; = line-height: 16px; font-size: 11px; = ">+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++</pre><pr= e style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; = margin-left: 0px; padding-top: 0.5em; padding-right: 1em; = padding-bottom: 0.5em; padding-left: 1em; font-family: monospace; = line-height: 16px; font-size: 11px; "> In linux you need to use -mcpu=3Dcpu-type and -m64<br><br></pre><pre style=3D"margin-top: 0px; = margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: = 0.5em; padding-right: 1em; padding-bottom: 0.5em; padding-left: 1em; = font-family: monospace; line-height: 16px; font-size: 11px; ">Tune to = cpu-type everything applicable about the generated code, except = for </pre><pre style=3D"margin-top: 0px; margin-right: 0px; = margin-bottom: 0px; margin-left: 0px; padding-top: 0.5em; padding-right: = 1em; padding-bottom: 0.5em; padding-left: 1em; font-family: monospace; = line-height: 16px; font-size: 11px; ">the ABI and the set of available = instructions. The choices for cpu-type are </pre><pre = style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; = margin-left: 0px; padding-top: 0.5em; padding-right: 1em; = padding-bottom: 0.5em; padding-left: 1em; font-family: monospace; = line-height: 16px; font-size: 11px; ">i386, i486, i586, i686, pentium, = pentium-mmx, pentiumpro, pentium2, pentium3, </pre><pre = style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; = margin-left: 0px; padding-top: 0.5em; padding-right: 1em; = padding-bottom: 0.5em; padding-left: 1em; font-family: monospace; = line-height: 16px; font-size: 11px; ">pentium4, k6, k6-2, k6-3,athlon, = athlon-tbird, athlon-4, athlon-xp and athlon-mp. For OSX you can check the latest Tochnog makefile for = darwin-intel</pre><pre style=3D"margin-top: 0px; margin-right: 0px; = margin-bottom: 0px; margin-left: 0px; padding-top: 0.5em; padding-right: = 1em; padding-bottom: 0.5em; padding-left: 1em; font-family: monospace; = line-height: 16px; font-size: 11px; = ">++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++= ++++++ Well, I think this is all for now. Thank you very much for your help. cheers, Ferney</pre><pre style=3D"margin-top: 0px; margin-right: 0px; = margin-bottom: 0px; margin-left: 0px; padding-top: 0.5em; padding-right: = 1em; padding-bottom: 0.5em; padding-left: 1em; font-family: monospace; = line-height: 16px; font-size: 11px; "> = ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++= +++++++++ I hope this helps, Fernando Lorenzo = </pre></td></tr></tbody></table></td></tr></tbody></table></span><div><br>= </div></div></body></html>= --Apple-Mail-2-451779557-- --===============8330124446346701020== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev --===============8330124446346701020== 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 --===============8330124446346701020==--