----------------------------------------------------------------------------------
@MSGID:
<e542327c-e1fe-42bd-b7fb-30af3273984cn@googlegroups.com> e83b8012
@REPLY:
<c79e6efd-3764-4a1c-ab2d-81aa68429074n@googlegroups.com> 05ebaf1e
@REPLYADDR robin vowels <robin51@dodo.com.au>
@REPLYTO 2:5075/128 robin vowels
@CHRS: CP866 2
@RFC: 1 0
@RFC-References:
<28ee3aa3-5511-4326-8b6f-1a81b1807db1n@googlegroups.com> <9797847f-24ba-4244-91e6-219894516483n@googlegroups.com>
<39f4370c-910e-4603-9f5c-408aed93ce71n@googlegroups.com> <fc79dd09-fc22-4bfd-979a-5e67e85b322cn@googlegroups.com>
<7020d0e0-c3a0-4ab0-92bb-6185edbc2762n@googlegroups.com> <b1235bd9-fdb0-4d2f-86b9-2b8384c5680fn@googlegroups.com>
<c79e6efd-3764-4a1c-ab2d-81aa68429074n@googlegroups.com>
@RFC-Message-ID:
<e542327c-e1fe-42bd-b7fb-30af3273984cn@googlegroups.com>
@TZUTC: -0700
@PID: G2/1.0
@TID: FIDOGATE-5.12-ge4e8b94
On Saturday, 5 August 2023 at 20:28:37 UTC+10, Pratik Patel wrote:
> On Saturday, August 5, 2023 at 12:01:34 AM UTC+5:30, gah4 wrote:
> > On Friday, August 4, 2023 at 6:51:27 AM UTC-7, Pratik Patel wrote:
> > > On Friday, August 4, 2023 at 5:23:15 PM UTC+5:30, gah4 wrote:
> > (snip)
> > > > Why is call
> >
> > > > fftw mpi init()
> >
> > > > commented out?
> > > I tried with that also but it didn`t work either. I think
fftw alloc compex doesn`t require mpi initialization,
> > > so no need to initialize fftw mpi init().
> > As far as I know, you need fftw mpi init() even for calls
that don`t use MPI.
> >
> > You are, at least supposed to, call it before any other fftw
mpi ... routine.
> >
> > It might allocate some arrays, or some such, and those might
be used by others.
> Actually, I am using another`s code as a reference in which he
didn`t initialize fftw mpi init()
>
> and it is working perfectly fine
.
That doesn`t prove anything.
Uninitialized variables contain junk values.
Junk can be anything -- it could be zero, or it could be very small values.
Such values, of used, might not show up as wrong values in the result.
It won`t hurt to initialize the variables. Try it anyway.
--- G2/1.0
* Origin: usenet.network (2:5075/128)
SEEN-BY: 5001/100 5005/49 5015/255 5019/40 5020/715
848 1042 4441 12000
SEEN-BY: 5030/49 1081 5058/104 5075/128
@PATH: 5075/128 5020/1042 4441