Issue 50 in pencil-code: xy2, xy3, and xy4 slices are written by too many processors

0 views
Skip to first unread message

penci...@googlecode.com

unread,
Dec 30, 2009, 7:08:39 AM12/30/09
to pencil-co...@googlegroups.com
Status: Accepted
Owner: AxelBrandenburg
CC: ajo...@strw.leidenuniv.nl
Labels: Type-Defect Priority-Medium

New issue 50 by ajo...@strw.leidenuniv.nl: xy2, xy3, and xy4 slices are
written by too many processors
http://code.google.com/p/pencil-code/issues/detail?id=50

In slices.f90 we have the following construction:

if ( (lwrite_slice_xy .and.index(filename,'xy' )>0) .or. &
(lwrite_slice_xy2.and.index(filename,'xy2')>0) .or. &
(lwrite_slice_xy3.and.index(filename,'xy3')>0) .or. &
(lwrite_slice_xy4.and.index(filename,'xy4')>0) .or. &
(lwrite_slice_xz .and.index(filename,'xz' )>0) .or. &
(lwrite_slice_yz .and.index(filename,'yz' )>0) ) then
open(1,file=filename,form='unformatted',position='append')
write(1) a,tslice,pos
close(1)
endif

However, I suspect that a filename containing '.xy' will trigger writing of
'.xy2', '.xy3', etc.

Can anyone confirm this?

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

penci...@googlecode.com

unread,
Nov 18, 2010, 4:34:57 AM11/18/10
to pencil-co...@googlegroups.com
Updates:
Status: Fixed

Comment #1 on issue 50 by sven.bingert: xy2, xy3, and xy4 slices are

Yes you were right. I fixed that and made the slices little bit more
flexible. Also read_videofiles did not find the correct slices when iz2 was
set in start.in. See revision 15293 and later.
Sven

Reply all
Reply to author
Forward
0 new messages