[julia-users] Error when running parallel Julia with large number of threads

2014-11-23 Thread Kapil Agarwal
Hi I am running a parallel matrix transpose using Julia. When I run it on a small matrix with small number of workers, it works fine, but as I increase the size and the number of workers, it starts giving MemoryError() and Broken pipe signals. I have put the error stacktrace here : https://g

Re: [julia-users] Preferred way of slicing an array into DArray

2014-11-20 Thread Kapil Agarwal
Hi I am facing a similar problem, so I am not starting a new thread. julia> addprocs(6); julia> b=rand(6,6); julia> c=distribute(b,[1:6],(2,3)) #using the distribute function as mentioned in this thread This does not work as expected. Firstly, the matrix is distributed among the master process

[julia-users] Input arguments to gemm!

2014-11-10 Thread Kapil Agarwal
Hi I am unable to figure out what should I pass as input parameters to the gemm! function. The function declaration asks for function BlasChar, StridedVecOrMat. StridedMatrix. Are they same as a normal Char and Array? -- Kapil

[julia-users] STREAM port in Julia

2014-10-31 Thread Kapil Agarwal
Hi This is my first experiment with Julia and I wanted to share some results. I have ported the STREAM benchmark (http://www.cs.virginia.edu/stream/) to Julia. The code is available on github (https://github.com/kapiliitr/JuliaBenchmarks/blob/master/streamp.jl). I am getting the following perf

[julia-users] Error starting Julia

2014-10-29 Thread Kapil Agarwal
Hi I get the following error when I start Julia OpenBLAS: pthread_creat error in blas_thread_init function. Error code:11 I find a file with the name ".nfs0ba780820191" in the directory containing my julia script and this file contains a copy of the file I last ran. I am unable to

[julia-users] Weird benchmark result

2014-10-28 Thread Kapil Agarwal
Hi I wrote the following benchmark and I got some weird results which I am unsure of their correctness. a=fill(1.0,1000); b=fill(0.0,1000); f()=@elapsed @parallel for i=1:1000 b[i]=a[i] end I get the following results- julia> f() 0.001288817 julia> f() 4.0828e-5 julia> f(

[julia-users] setindex! error

2014-10-28 Thread Kapil Agarwal
Hi I have the following piece of code and I am getting a setindex! error which I am unable to figure out- times = Array(Float64,(4,10)); # 4 X 10 matrix a=fill(1.0,10); c=fill(0.0,10); times[1][1] = @elapsed @parallel for j=1:10 c[j] = a[j]; end ERROR

[julia-users] Unable to add more processes

2014-10-25 Thread Kapil Agarwal
Hi I am unable to add processes to julia. I have tried using both "addprocs()" and "julia -p ". I get the error- ERROR: could not spawn `/nethome/kagarwal39/julia-0.3.1/julia/usr/bin/./julia --worker --bind-to 130.207.126.99`: resource temporarily unavailable (EAGAIN) in _jl_spawn at process.

[julia-users] Unable to terminate worker processes

2014-10-25 Thread Kapil Agarwal
ption on exception on exception on exception on exception on exception on exception on exception on exception on exception on exception on exception on exception on exception on exception on WARNING: Unable to terminate all workers What could be the issue ? Regards, Kapil Agarwal

[julia-users] Parallel computing using Julia tutorials

2014-10-17 Thread Kapil Agarwal
Are there any working code examples to learn parallel computing using Julia ? I have gone through the documentation and some videos, but either the information is too less or outdated. I am currently using Julia 0.4 and many of the things don't work as mentioned in the videos or other tutorials

Re: [julia-users] Adding remote nodes using qsub

2014-10-13 Thread Kapil Agarwal
/qsub.jl >> >> On Sat, Oct 11, 2014 at 12:40 PM, Kapil wrote: >> >>> Hi >>> >>> I am using a cluster in which jobs are started on remote nodes are using >>> qsub. >>> How can I add these nodes while running Julia from the head node ? &

[julia-users] Julia gives error when starting on another node in cluster

2014-10-13 Thread Kapil Agarwal
Hi I installed Julia on the head node of my cluster and logged into another node using the qsub interactive mode. This loads my directory from the head node on the remote node. However, when I tried to run Julia on that node, it gives me the following error- Target architecture mismatch. Pleas

[julia-users] remote_call not defined

2014-10-11 Thread Kapil Agarwal
Hi I started Julia with 'julia -q -p 2' and then ran 'r = remote_call(2, +, 2, 2)' and I get 'ERROR: remote_call not defined'. Please help me solve the issue. I am using a machine with 16 cores. Kapil

[julia-users] make testall failing

2014-10-01 Thread Kapil Agarwal
Hi After installing Julia, I ran 'make testall' but it gave me errors. I have attached the file containing errors. How can this be fixed ? Kapil JULIA test/all signal (6): Aborted gsignal at /lib64/libc.so.6 (unknown line) abort at /lib64/libc.so.6 (unknown line) init_

Re: [julia-users] Re: Benchmarking julia parallel computing

2014-10-01 Thread Kapil Agarwal
Hi What I understand is that comparing Julia and MPI may not be a good option as both of them have different internal implementations. So Julia may be benchmarked against mpi4py and similar MPI ports ? Has such benchmarking already been done ? If so, could you please share the results. Another

Re: [julia-users] Re: Benchmarking julia parallel computing

2014-10-01 Thread Kapil Agarwal
to benchmark highly parallel applications with Julia. Actually, I am looking at Julia for a college project and have access to a HPC cluster and am thinking to implement graph algorithms. I would appreciate if you could give me some suggestions on my idea. Thanks Kapil > > > On Monday,

[julia-users] Benchmarking julia parallel computing

2014-09-29 Thread Kapil Agarwal
Hi I am looking to benchmark some standard parallel algorithms using Julia. I am thinking of comparing its performance with MPI and other parallel programming paradigms. Although I couldn't find much on any existing benchmarks, I was looking forward to any benchmarks that may have been done by