Ticket #316: Re anuga in 64 bit vs 32 bit SECUNCLASSIFIED.txt

File Re anuga in 64 bit vs 32 bit SECUNCLASSIFIED.txt, 4.3 KB (added by rwilson, 15 years ago)

Rajaramans's email

Line 
1From: ramalingam rajaraman [rraman64@gmail.com]
2Sent: Thursday, 25 December 2008 00:31
3To: Nielsen Ole
4Cc: josephwinston@gmail.com; Wilson Ross
5Subject: Re: anuga in 64 bit vs 32 bit [SEC=UNCLASSIFIED]
6
7Dear Ole,
8
9MERRY CHRISTMAS.
10
11I finally made a small test run with our realistic data to understand the differences. before going into 32bit vs 64bit, I wanted to compare how they behave in 32bit itself with different OS. I found xp and vista are giving identical results irrespective of anuga version (SVN vs 5953) both at land and at sea locations.
12
13Ubuntu results for sea location is exactly same as that for xp or vista.
14
15But significant deviation  is seen for land location. see attached figures. Another observation is elevation derived independently matches well for xp and vista runs while the ubuntu is under-estimating it.
16
17I have also attached the output dumps for both xp and ubuntu runs. I find lot of difference in meshing stage itself?!
18
19I am also attaching my test files in zipped format.
20
21
22ps: while xp and vista had identical python install files, ubuntu had "apt-get" installs. care is taken to clear cache to be sure all are clean runs.
23
24hope to catch you after Xmas.
25cheers
26-rajaraman
27
28
29
30On Thu, Dec 4, 2008 at 10:01 AM,  <Ole.Nielsen@ga.gov.au> wrote:
31>
32> Hi Rajaraman
33>
34> We have never come across such differences and we routinely use both
35> 32 and 64 bit platforms.
36>
37> Have you verified that compilation (compile_all.py) the unit test
38> suite (test_all.py) and the validation suite (validate_all.py) all
39> pass on both platforms?
40>
41> If they do and you still see the differences, we need to make some
42> more tests.
43>
44> Could I ask you to boil the script down to the simplest thing that
45> will show this difference and send them to us.
46>
47> We can then run them on our 32 bit and 64 bit platforms and verify the
48> outputs.
49>
50>
51> Cheers
52> Ole
53>
54>
55>> -----Original Message-----
56>> From: ramalingam rajaraman [mailto:rraman64@gmail.com]
57>> Sent: Thursday, 4 December 2008 4:05
58>> To: Nielsen Ole
59>> Cc: S. Joseph Winston
60>> Subject: anuga in 64 bit vs 32 bit
61>>
62>> Dear Ole,
63>>
64>> We were testing anuga installed in two different system for
65>> reproducibility. Unfortunately one of them is 32 bit running under
66>> ubuntu with python2.5 and the other is 64 bit /  suse / with python
67>> 2.4 (see the platform test results given below.
68>>
69>> both use anuga v5953 and the test run is with same set of files. I am
70>> attaching a sample time series. while peaks are more or less
71>> reproduced, the base elevation is not the same.
72>>
73>> have you come across such differences?
74>>
75>> can it be due to 64 bit vs 32 bit linux difference?
76>>
77>>  cheers
78>> -rajaraman
79>>
80>> -------------------------------------------
81>> 32bit box
82>> ------------
83>> rraman@anuga:~$ python
84>> Python 2.5.2 (r252:60911, Jul 31 2008, 17:28:52)
85>> [GCC 4.2.3 (Ubuntu 4.2.3-2ubuntu7)] on linux2
86>> Type "help", "copyright", "credits" or "license" for more
87>> information.
88>> >>> import platform
89>> >>> print platform.architecture()
90>> ('32bit', '')
91>> >>> print platform.machine()
92>> i686
93>> >>> print platform.platform()
94>> Linux-2.6.24-21-generic-i686-with-debian-lenny-sid
95>> >>> print platform.processor()
96>>
97>> >>> print platform.python_version()
98>> 2.5.2
99>> >>> print platform.version()
100>> #1 SMP Tue Oct 21 23:43:45 UTC 2008
101>> >>> print platform.uname()
102>> ('Linux', 'anuga', '2.6.24-21-generic', '#1 SMP Tue Oct 21 23:43:45
103>> UTC 2008', 'i686', '')
104>>
105>> --------------------------------------------
106>> 64bit box
107>> -------------------
108>> josephwinston:~ # python
109>> Python 2.4.5 (#1, Nov 13 2008, 15:06:52)
110>> [GCC 4.3.1 20080507 (prerelease) [gcc-4_3-branch revision 135036]] on
111>> linux2 Type "help", "copyright", "credits" or "license" for more
112>> information.
113>> >>>
114>> >>> print platform.architecture()
115>> ('64bit', 'ELF')
116>> >>> print platform.machine()
117>> x86_64
118>> >>> print platform.platform()
119>> Linux-2.6.25.5-1.1-default-x86_64-with-SuSE-11.0-X86-64
120>> >>> print platform.processor()
121>> x86_64
122>> >>> print platform.python_version()
123>> 2.4.5
124>> >>> print platform.version()
125>> #1 SMP 2008-06-07 01:55:22 +0200
126>> >>> print platform.uname()
127>> ('Linux', 'josephwinston', '2.6.25.5-1.1-default', '#1 SMP 2008-06-07
128>> 01:55:22 +0200', 'x86_64', 'x86_64')
129>> >>>
130>