Skip to content

NFFT in parallel  #17

@DeVerMyst

Description

@DeVerMyst

Hello, trying to update a software for Julia V.5 I got this problem:

nx = 64
nb = 195
nw = 20

serial

using NFFT

println(" serial ")
fr = rand(2,nb) - .5
plan = NFFTPlan( fr , (nx,nx))
x = rand(nx,nx) + 0.*im
F = nfft(plan,x)

parallel 1

println(" p1 ")
Fx = SharedArray( Complex{Float64}, (nb, nw))

@sync @parallel for n in 1:nw
println("worker")
plan = NFFTPlan( fr , (nx,nx))
x = rand(nx,nx) + 0.*im
Fx[:,n] = nfft(plan, x)
end

plan = NFFTPlan( fr , (nx,nx))
@sync @parallel for n in 1:nw
println("worker")
x = rand(nx,nx) + 0.*im
Fx[:,n] = nfft(plan, x)
end

julia> include("testnfft.jl")
serial
p1
From worker 2: worker

signal (11): Segmentation fault: 11
while loading no file, in expression starting on line 0
fftw_execute_dft at /Applications/Julia-0.5.app/Contents/Resources/julia/lib/julia//libfftw3.dylib (unknown line)

  • at ./fft/FFTW.jl:624

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions