Thanak lot Nils,
Unfortunatly like below:
julia> addprocs(7)
7-element Array{Any,1}:
2
3
4
5
6
7
8
julia> import HDF5
julia> @everywhere using HDF5
julia> @parallel for i=1:l
dset=fid["punkty"*string(i)]
f=vec(h5read("F.h5","F",(:,i)));
...
println(i)
end
julia> close(fid)
julia> toc()
elapsed time: 18.801164342 seconds
18.801164342
julia> exception on 2: ERROR: File or object has been closed
in o_open at C:\Users\SAMSUNG2\.julia\v0.3\HDF5\src\plain.jl:696
(repeats 2 times)
exception on 4: exception on 6: exception on 5: exception on exception
on 3: exception on 8: 7: ERROR: File or o
ect has been closed
in o_open at C:\Users\SAMSUNG2\.julia\v0.3\HDF5\src\plain.jl:696
(repeats 2 times)
ERROR: File or object has been closed
in o_open at C:\Users\SAMSUNG2\.julia\v0.3\HDF5\src\plain.jl:696
(repeats 2 times)
ERROR: File or object has been closed
in o_open at C:\Users\SAMSUNG2\.julia\v0.3\HDF5\src\plain.jl:696
(repeats 2 times)
ERROR: File or object has been closed
in o_open at C:\Users\SAMSUNG2\.julia\v0.3\HDF5\src\plain.jl:696
(repeats 2 times)
ERROR: File or object has been closed
in o_open at C:\Users\SAMSUNG2\.julia\v0.3\HDF5\src\plain.jl:696
(repeats 2 times)
ERROR: File or object has been closed
in o_open at C:\Users\SAMSUNG2\.julia\v0.3\HDF5\src\plain.jl:696
(repeats 2 times)
W dniu 2015-09-01 o 22:14, Nils Gudat pisze:
As the warning says, the module is not defined on the workers. Do
addprocs()
import HDF5
@everywhere using HDF5