Re: four questions regarding use and compiling of tochnog

[email protected] Wed, 29 Sep 2010 13:51:12 -0500
Newsgroups gmane.comp.mathematics.tochnog.user
Message-ID <[email protected]>
--===============5652821898885757768==
Content-Type: multipart/alternative; boundary=Apple-Mail-5-388911083


--Apple-Mail-5-388911083
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii

Hi Tochnogers,

I'd like to share with you some issues I'm having when using tochnog.
I'll do appreciate any help on this matter:

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 =
program to print the results for all the=20
calculation steps. In that way you can see how the results are changing =
or get results for all the loading 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
Tune to cpu-type everything applicable about the generated code, except =
for the ABI and the set of available instructions. The choices for =
cpu-type are i386, i486, i586, i686, pentium, pentium-mmx, pentiumpro, =
pentium2, pentium3, pentium4, k6, k6-2, k6-3,athlon, athlon-tbird, =
athlon-4, athlon-xp and athlon-mp.

 and -m64

For OSX you can check the 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=

Engineering Systems Inc.
Providing Clear Answers
Through Insights and Multidisciplinary Engineering Excellence


CONFIDENTIALITY NOTICE:  This email message (and any attachments to it) i=
s intended only for the individual or entity to which it is addressed and=
 may contain confidential and/or privileged material.  Any unauthorized r=
eview, use, disclosure or distribution is prohibited.  If you are not the=
 intended recipient, or the employee or agent responsible for delivering =
it to the intended recipient, please contact the sender by reply e-mail a=
nd destroy all copies of the original message.  If you are the intended r=
ecipient, but do not wish to receive communication through this medium, p=
lease advise the sender immediately.
=0D
--Apple-Mail-5-388911083
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; "><span =
class=3D"Apple-style-span" style=3D"font-family: monospace; =
border-collapse: collapse; color: rgb(94, 94, 94); font-size: 12px; =
line-height: 14px; "><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; ">Hi Tochnogers,

I'd like to share with you some issues I'm having when using tochnog.
I'll do appreciate any help on this matter:

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; line-height: 16px; =
font-size: 11px; "><font class=3D"Apple-style-span" face=3D"'Arial =
Black'"><b>You can try telling tochnog to print the gid file. I normally =
ask the program to print the results for all =
the&nbsp;</b></font></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; =
line-height: 16px; font-size: 11px; "><font class=3D"Apple-style-span" =
face=3D"'Arial Black'"><b>calculation steps. In that way you can see how =
the results are changing or get results for all the loading =
conditions</b></font></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; =
line-height: 16px; font-size: 11px; "><font class=3D"Apple-style-span" =
face=3D"'Arial Black'"><b>try for example</b></font></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; line-height: 16px; font-size: =
11px; "><font class=3D"Apple-style-span" face=3D"'Arial =
Black'"><b><br></b></font></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; "><font =
class=3D"Apple-style-span" face=3D"'Arial Black'"><b>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</b></font>

2)	I'd like to know if there's a flux diagram of the code.
<font class=3D"Apple-style-span" face=3D"'Arial Black'"><b>NO there is =
not. Check the program manual on the web.</b></font></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; ">
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; "><font class=3D"Apple-style-span" =
face=3D"'Arial Black'"><b>No. Tochnog is a multidisciplinary FEA =
program.</b></font>

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; line-height: 16px; =
"><font class=3D"Apple-style-span" face=3D"'Arial Black'" size=3D"3"><span=
 class=3D"Apple-style-span" style=3D"font-size: 11px;"><b>In =
linux&nbsp;you need to use</b></span></font></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; line-height: 16px; "><font =
class=3D"Apple-style-span" face=3D"'Arial Black'" size=3D"3"><span =
class=3D"Apple-style-span" style=3D"font-size: =
11px;"><b><br></b></span></font></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; =
line-height: 16px; "><font class=3D"Apple-style-span" face=3D"'Arial =
Black'" size=3D"3"><span class=3D"Apple-style-span" style=3D"font-size: =
11px;"><b><span class=3D"Apple-style-span" style=3D"border-collapse: =
separate; color: rgb(0, 0, 0); font-family: Times; line-height: normal; =
white-space: normal; font-size: 19px; "><dt><code><font =
class=3D"Apple-style-span" face=3D"'Bell MT'" size=3D"3"><span =
class=3D"Apple-style-span" style=3D"font-size: 13px; font-weight: =
normal;">-mcpu=3D</span></font></code><var><font =
class=3D"Apple-style-span" face=3D"'Bell MT'" size=3D"3"><span =
class=3D"Apple-style-span" style=3D"font-size: 13px; font-weight: =
normal;">cpu-type</span></font></var><font class=3D"Apple-style-span" =
face=3D"'Bell MT'" size=3D"3"><span class=3D"Apple-style-span" =
style=3D"font-size: 13px; font-weight: =
normal;"><code></code></span></font></dt><dd><font =
class=3D"Apple-style-span" face=3D"'Bell MT'" size=3D"3"><span =
class=3D"Apple-style-span" style=3D"font-size: 13px; font-weight: =
normal;">Tune to&nbsp;</span></font><var><font class=3D"Apple-style-span" =
face=3D"'Bell MT'" size=3D"3"><span class=3D"Apple-style-span" =
style=3D"font-size: 13px; font-weight: =
normal;">cpu-type</span></font></var><font class=3D"Apple-style-span" =
face=3D"'Bell MT'" size=3D"3"><span class=3D"Apple-style-span" =
style=3D"font-size: 13px; font-weight: normal;">&nbsp;everything =
applicable about the generated code, except for the ABI and the set of =
available instructions. The choices for&nbsp;</span></font><var><font =
class=3D"Apple-style-span" face=3D"'Bell MT'" size=3D"3"><span =
class=3D"Apple-style-span" style=3D"font-size: 13px; font-weight: =
normal;">cpu-type</span></font></var><font class=3D"Apple-style-span" =
face=3D"'Bell MT'" size=3D"3"><span class=3D"Apple-style-span" =
style=3D"font-size: 13px; font-weight: =
normal;">&nbsp;are&nbsp;</span></font><code><font =
class=3D"Apple-style-span" face=3D"'Bell MT'" size=3D"3"><span =
class=3D"Apple-style-span" style=3D"font-size: 13px; font-weight: =
normal;">i386</span></font></code><font class=3D"Apple-style-span" =
face=3D"'Bell MT'" size=3D"3"><span class=3D"Apple-style-span" =
style=3D"font-size: 13px; font-weight: =
normal;">,&nbsp;</span></font><code><font class=3D"Apple-style-span" =
face=3D"'Bell MT'" size=3D"3"><span class=3D"Apple-style-span" =
style=3D"font-size: 13px; font-weight: =
normal;">i486</span></font></code><font class=3D"Apple-style-span" =
face=3D"'Bell MT'" size=3D"3"><span class=3D"Apple-style-span" =
style=3D"font-size: 13px; font-weight: =
normal;">,&nbsp;</span></font><code><font class=3D"Apple-style-span" =
face=3D"'Bell MT'" size=3D"3"><span class=3D"Apple-style-span" =
style=3D"font-size: 13px; font-weight: =
normal;">i586</span></font></code><font class=3D"Apple-style-span" =
face=3D"'Bell MT'" size=3D"3"><span class=3D"Apple-style-span" =
style=3D"font-size: 13px; font-weight: =
normal;">,&nbsp;</span></font><code><font class=3D"Apple-style-span" =
face=3D"'Bell MT'" size=3D"3"><span class=3D"Apple-style-span" =
style=3D"font-size: 13px; font-weight: =
normal;">i686</span></font></code><font class=3D"Apple-style-span" =
face=3D"'Bell MT'" size=3D"3"><span class=3D"Apple-style-span" =
style=3D"font-size: 13px; font-weight: =
normal;">,&nbsp;</span></font><code><font class=3D"Apple-style-span" =
face=3D"'Bell MT'" size=3D"3"><span class=3D"Apple-style-span" =
style=3D"font-size: 13px; font-weight: =
normal;">pentium</span></font></code><font class=3D"Apple-style-span" =
face=3D"'Bell MT'" size=3D"3"><span class=3D"Apple-style-span" =
style=3D"font-size: 13px; font-weight: =
normal;">,&nbsp;</span></font><code><font class=3D"Apple-style-span" =
face=3D"'Bell MT'" size=3D"3"><span class=3D"Apple-style-span" =
style=3D"font-size: 13px; font-weight: =
normal;">pentium-mmx</span></font></code><font class=3D"Apple-style-span" =
face=3D"'Bell MT'" size=3D"3"><span class=3D"Apple-style-span" =
style=3D"font-size: 13px; font-weight: =
normal;">,&nbsp;</span></font><code><font class=3D"Apple-style-span" =
face=3D"'Bell MT'" size=3D"3"><span class=3D"Apple-style-span" =
style=3D"font-size: 13px; font-weight: =
normal;">pentiumpro</span></font></code><font class=3D"Apple-style-span" =
face=3D"'Bell MT'" size=3D"3"><span class=3D"Apple-style-span" =
style=3D"font-size: 13px; font-weight: =
normal;">,&nbsp;</span></font><code><font class=3D"Apple-style-span" =
face=3D"'Bell MT'" size=3D"3"><span class=3D"Apple-style-span" =
style=3D"font-size: 13px; font-weight: =
normal;">pentium2</span></font></code><font class=3D"Apple-style-span" =
face=3D"'Bell MT'" size=3D"3"><span class=3D"Apple-style-span" =
style=3D"font-size: 13px; font-weight: =
normal;">,&nbsp;</span></font><code><font class=3D"Apple-style-span" =
face=3D"'Bell MT'" size=3D"3"><span class=3D"Apple-style-span" =
style=3D"font-size: 13px; font-weight: =
normal;">pentium3</span></font></code><font class=3D"Apple-style-span" =
face=3D"'Bell MT'" size=3D"3"><span class=3D"Apple-style-span" =
style=3D"font-size: 13px; font-weight: =
normal;">,&nbsp;</span></font><code><font class=3D"Apple-style-span" =
face=3D"'Bell MT'" size=3D"3"><span class=3D"Apple-style-span" =
style=3D"font-size: 13px; font-weight: =
normal;">pentium4</span></font></code><font class=3D"Apple-style-span" =
face=3D"'Bell MT'" size=3D"3"><span class=3D"Apple-style-span" =
style=3D"font-size: 13px; font-weight: =
normal;">,&nbsp;</span></font><code><font class=3D"Apple-style-span" =
face=3D"'Bell MT'" size=3D"3"><span class=3D"Apple-style-span" =
style=3D"font-size: 13px; font-weight: =
normal;">k6</span></font></code><font class=3D"Apple-style-span" =
face=3D"'Bell MT'" size=3D"3"><span class=3D"Apple-style-span" =
style=3D"font-size: 13px; font-weight: =
normal;">,&nbsp;</span></font><code><font class=3D"Apple-style-span" =
face=3D"'Bell MT'" size=3D"3"><span class=3D"Apple-style-span" =
style=3D"font-size: 13px; font-weight: =
normal;">k6-2</span></font></code><font class=3D"Apple-style-span" =
face=3D"'Bell MT'" size=3D"3"><span class=3D"Apple-style-span" =
style=3D"font-size: 13px; font-weight: =
normal;">,&nbsp;</span></font><code><font class=3D"Apple-style-span" =
face=3D"'Bell MT'" size=3D"3"><span class=3D"Apple-style-span" =
style=3D"font-size: 13px; font-weight: =
normal;">k6-3</span></font></code><font class=3D"Apple-style-span" =
face=3D"'Bell MT'" size=3D"3"><span class=3D"Apple-style-span" =
style=3D"font-size: 13px; font-weight: =
normal;">,</span></font><code><font class=3D"Apple-style-span" =
face=3D"'Bell MT'" size=3D"3"><span class=3D"Apple-style-span" =
style=3D"font-size: 13px; font-weight: =
normal;">athlon</span></font></code><font class=3D"Apple-style-span" =
face=3D"'Bell MT'" size=3D"3"><span class=3D"Apple-style-span" =
style=3D"font-size: 13px; font-weight: =
normal;">,&nbsp;</span></font><code><font class=3D"Apple-style-span" =
face=3D"'Bell MT'" size=3D"3"><span class=3D"Apple-style-span" =
style=3D"font-size: 13px; font-weight: =
normal;">athlon-tbird</span></font></code><font class=3D"Apple-style-span"=
 face=3D"'Bell MT'" size=3D"3"><span class=3D"Apple-style-span" =
style=3D"font-size: 13px; font-weight: =
normal;">,&nbsp;</span></font><code><font class=3D"Apple-style-span" =
face=3D"'Bell MT'" size=3D"3"><span class=3D"Apple-style-span" =
style=3D"font-size: 13px; font-weight: =
normal;">athlon-4</span></font></code><font class=3D"Apple-style-span" =
face=3D"'Bell MT'" size=3D"3"><span class=3D"Apple-style-span" =
style=3D"font-size: 13px; font-weight: =
normal;">,&nbsp;</span></font><code><font class=3D"Apple-style-span" =
face=3D"'Bell MT'" size=3D"3"><span class=3D"Apple-style-span" =
style=3D"font-size: 13px; font-weight: =
normal;">athlon-xp</span></font></code><font class=3D"Apple-style-span" =
face=3D"'Bell MT'" size=3D"3"><span class=3D"Apple-style-span" =
style=3D"font-size: 13px; font-weight: =
normal;">&nbsp;and&nbsp;</span></font><code><font =
class=3D"Apple-style-span" face=3D"'Bell MT'" size=3D"3"><span =
class=3D"Apple-style-span" style=3D"font-size: 13px; font-weight: =
normal;">athlon-mp</span></font></code><font class=3D"Apple-style-span" =
face=3D"'Bell MT'" size=3D"3"><span class=3D"Apple-style-span" =
style=3D"font-size: 13px; font-weight: =
normal;">.</span></font></dd><dd><font class=3D"Apple-style-span" =
color=3D"#5E5E5E" face=3D"'Arial Black'" size=3D"3"><span =
class=3D"Apple-style-span" style=3D"border-collapse: collapse; =
font-size: 11px; line-height: 16px; white-space: pre;"><font =
class=3D"Apple-style-span" color=3D"#000000" face=3D"'Bell MT'" =
size=3D"3"><span class=3D"Apple-style-span" style=3D"border-collapse: =
separate; font-size: 13px; font-weight: normal; line-height: normal; =
white-space: =
normal;"><br></span></font></span></font></dd></span></b></span></font></p=
re><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; "><span class=3D"Apple-style-span" =
style=3D"font-family: 'Arial Black'; "><b><span class=3D"Apple-style-span"=
 style=3D"border-collapse: separate; color: rgb(0, 0, 0); font-family: =
Times; line-height: normal; white-space: normal; font-size: 19px; =
"><dd><font class=3D"Apple-style-span" face=3D"'Bell MT'" size=3D"3"><span=
 class=3D"Apple-style-span" style=3D"font-size: 13px; font-weight: =
normal; ">&nbsp;and =
-m64</span></font></dd></span></b></span><div><br></div><div>For OSX you =
can check the makefile for darwin-intel</div><div><br></div></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></span><div><br></div><div>
<span class=3D"Apple-style-span" style=3D"border-collapse: separate; =
color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; =
font-variant: normal; font-weight: normal; letter-spacing: normal; =
line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; =
text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; =
-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: =
0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: =
auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div =
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; font: normal normal normal 12px/normal Helvetica; ">I =
hope this helps,</div><div style=3D"margin-top: 0px; margin-right: 0px; =
margin-bottom: 0px; margin-left: 0px; font: normal normal normal =
12px/normal Helvetica; "><br></div><div style=3D"margin-top: 0px; =
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal =
normal normal 12px/normal Helvetica; ">Fernando =
Lorenzo&nbsp;</div></span></div></body></html>=

<pre>Engineering Systems Inc.
Providing Clear Answers
Through Insights and Multidisciplinary Engineering Excellence


CONFIDENTIALITY NOTICE:  This email message (and any attachments to it) i=
s intended only for the individual or entity to which it is addressed and=
 may contain confidential and/or privileged material.  Any unauthorized r=
eview, use, disclosure or distribution is prohibited.  If you are not the=
 intended recipient, or the employee or agent responsible for delivering =
it to the intended recipient, please contact the sender by reply e-mail a=
nd destroy all copies of the original message.  If you are the intended r=
ecipient, but do not wish to receive communication through this medium, p=
lease advise the sender immediately.
=0D
--Apple-Mail-5-388911083--


--===============5652821898885757768==
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
--===============5652821898885757768==
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

--===============5652821898885757768==--