Send Anuga-user mailing list submissions to
anuga...@lists.sourceforge.net
To subscribe or unsubscribe via the World Wide Web, visit
https://lists.sourceforge.net/lists/listinfo/anuga-user
or, via email, send a message with subject or body 'help' to
anuga-use...@lists.sourceforge.net
You can reach the person managing the list at
anuga-us...@lists.sourceforge.net
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Anuga-user digest..."
Today's Topics:
1. Error in sww_merge (Jos? Galaz)
2. Re: Error in sww_merge (Stephen Roberts)
----------------------------------------------------------------------
Message: 1
Date: Wed, 3 Dec 2014 16:20:45 -0300
From: Jos? Galaz <
jdga...@gmail.com>
Subject: [Anuga-user] Error in sww_merge
To:
anuga...@lists.sourceforge.net
Message-ID:
<CALTyBR=
J+bvDRgGD5sc+pPuTHkGw...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
Dear all,
Has any of you experienced this error?, I just (re)downloaded anuga and
tried to run the channel3_parallel.py file under the instruction
mpiexec.openmpi -np 4 python channel3_parallel.py
and it runs perfectly until it reaches the instruction
domain.sww_merge(verbose=True)
The traceback of the error is
Traceback (most recent call last):
File "test_par.py", line 95, in <module>
domain.sww_merge(verbose=True)
File
"/home/jose/anuga_core/source/anuga_parallel/parallel_shallow_water.py",
line 168, in sww_merge
merge.sww_merge_parallel(global_name,self.numproc,verbose,delete_old)
File "/home/jose/anuga_core/source/anuga/utilities/sww_merge.py", line
40, in sww_merge_parallel
_sww_merge_parallel_smooth(swwfiles, output, verbose, delete_old)
File "/home/jose/anuga_core/source/anuga/utilities/sww_merge.py", line
386, in _sww_merge_parallel_smooth
g_points[node_l2g,0] = fid.variables['x']
IOError: Index exceeds dimension bound
I tried to write some 'prints' in the sww_merge.py but everything seems to
be fine.
Thank you all,
Jose
-------------- next part --------------
An HTML attachment was scrubbed...
------------------------------
Message: 2
Date: Thu, 04 Dec 2014 07:17:23 +1100
From: Stephen Roberts <
stephen...@anu.edu.au>
Subject: Re: [Anuga-user] Error in sww_merge
To: Jos? Galaz <
jdga...@gmail.com>,
anuga...@lists.sourceforge.net
Message-ID: <
547F6FD3...@anu.edu.au>
Content-Type: text/plain; charset="iso-8859-1"
Hi Jose,
Running channel3_parallel should have produced some sww files with names
channel3_P4_0.sww, channel3_P4_1.sww, channel3_P4_2.sww, channel3_P4_3.sww,
It would be interesting to see if you get the same error running
sww_merge from the command line
run
python /home/jose/anuga_core/source/anuga/utilities/sww_merge -f
channel3 -np 4 -v
and see if you get the same error.
Can you also do an ls -l to see the sizes of the channel3_P4_*.sww files.
Using ls -l channel3*.sww I get
steve@bottineau:~/anuga/anuga_core/demos$ ls -l channel3*.sww
-rw-rw-r-- 1 steve steve 59824148 Dec 4 07:10 channel3_P4_0.sww
-rw-rw-r-- 1 steve steve 58872820 Dec 4 07:10 channel3_P4_1.sww
-rw-rw-r-- 1 steve steve 59698892 Dec 4 07:10 channel3_P4_2.sww
-rw-rw-r-- 1 steve steve 60325124 Dec 4 07:10 channel3_P4_3.sww
-rw-rw-r-- 1 steve steve 234961428 Dec 4 07:10 channel3.sww
What version of netcdf are you using? I might need to change the line
where the error occurred from
g_points[node_l2g,0] = fid.variables['x']
to
g_points[node_l2g,0] = fid.variables['x'][:]
to cover your version of netcdf.
Cheers
Steve
On 4/12/2014 6:20 AM, Jos? Galaz wrote:
> Dear all,
> Has any of you experienced this error?, I just (re)downloaded anuga
> and tried to run the channel3_parallel.py file under the instruction
>
> mpiexec.openmpi -np 4 python channel3_parallel.py
>
> and it runs perfectly until it reaches the instruction
>
> domain.sww_merge(verbose=True)
>
> The traceback of the error is
>
> Traceback (most recent call last):
> File "test_par.py", line 95, in <module>
> domain.sww_merge(verbose=True)
> File
> "/home/jose/anuga_core/source/anuga_parallel/parallel_shallow_water.py",
> line 168, in sww_merge
> merge.sww_merge_parallel(global_name,self.numproc,verbose,delete_old)
> File "/home/jose/anuga_core/source/anuga/utilities/sww_merge.py",
> line 40, in sww_merge_parallel
> _sww_merge_parallel_smooth(swwfiles, output, verbose, delete_old)
> File "/home/jose/anuga_core/source/anuga/utilities/sww_merge.py",
> line 386, in _sww_merge_parallel_smooth
> g_points[node_l2g,0] = fid.variables['x']
> IOError: Index exceeds dimension bound
>
>
> I tried to write some 'prints' in the sww_merge.py but everything
> seems to be fine.
>
> Thank you all,
>
> Jose
>
>
>
> ------------------------------------------------------------------------------
> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
> from Actuate! Instantly Supercharge Your Business Reports and Dashboards
> with Interactivity, Sharing, Native Excel Exports, App Integration & more
> Get technology previously reserved for billion-dollar corporations, FREE
>
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
>
>
> _______________________________________________
> Anuga-user mailing list
>
Anuga...@lists.sourceforge.net
>
https://lists.sourceforge.net/lists/listinfo/anuga-user
--
+--------------------------------------------------------------------+
| Steve Roberts | My Office: (61)(2) 6125 4445 |
| Department of Mathematics | Math Office: (61)(2) 6125 2908 |
| Mathematical Sciences Institute| Fax: (61)(2) 6125 4984 |
| John Dedman Building #27 | mailto:
stephen...@anu.edu.au |
| Australian National University |
http://www.maths.anu.edu.au/~steve|
| Canberra ACT 0200 AUSTRALIA | ANU CRICOS # 00120C |
+--------------------------------------------------------------------+
-------------- next part --------------
An HTML attachment was scrubbed...
------------------------------
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
------------------------------
_______________________________________________
Anuga-user mailing list
Anuga...@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/anuga-user
End of Anuga-user Digest, Vol 73, Issue 2
*****************************************