Code Monkey home page Code Monkey logo

Comments (6)

ViralBShah avatar ViralBShah commented on June 15, 2024

Never mind - I missed calling gaussian!.

from elemental.jl.

ViralBShah avatar ViralBShah commented on June 15, 2024

I can't get the TSVD example working:

julia> @everywhere using TSVD
ERROR: On worker 2:
ArgumentError: TSVD not found in path.
Run Pkg.add("TSVD") to install the TSVD package
 in require at ./loading.jl:321
 in eval at ./sysimg.jl:14
 in anonymous at multi.jl:1384
 in anonymous at multi.jl:913
 in run_work_thunk at multi.jl:651
 [inlined code] from multi.jl:913
 in anonymous at task.jl:63
 in remotecall_fetch at multi.jl:737
 in remotecall_fetch at multi.jl:740
 in anonymous at multi.jl:1386

...and 4 other exceptions.

 in sync_end at ./task.jl:413
 in anonymous at multi.jl:1395
 in eval at ./boot.jl:264

from elemental.jl.

mlubin avatar mlubin commented on June 15, 2024

I also get the following failure on the example from the readme:

julia> man = MPIManager(np = 4);

julia> addprocs(man);

julia> using Elemental

julia> @mpi_do man A = Elemental.DistMatrix(Float64);

julia> @mpi_do man Elemental.gaussian!(A, 1000, 800);
ERROR: On worker 4:
On worker 4:
UndefVarError: A not defined
 in anonymous at /home/mlubin/.julia/v0.4/MPI/src/cman.jl:475
 in anonymous at multi.jl:904
 in run_work_thunk at multi.jl:645
 in run_work_thunk at multi.jl:654
 in anonymous at task.jl:58
 in take_ref at multi.jl:806
 in call_on_owner at multi.jl:777
 in take! at multi.jl:809
 in anonymous at /home/mlubin/.julia/v0.4/MPI/src/cman.jl:461
 in anonymous at multi.jl:907
 in run_work_thunk at multi.jl:645
 [inlined code] from multi.jl:907
 in anonymous at task.jl:63
 in remotecall_fetch at multi.jl:731
 in remotecall_fetch at multi.jl:734
 in remotecall_fetch at /home/mlubin/.julia/v0.4/Compat/src/Compat.jl:699
 [inlined code] from /home/mlubin/.julia/v0.4/MPI/src/cman.jl:460
 in anonymous at task.jl:447

from elemental.jl.

poulson avatar poulson commented on June 15, 2024

@ViralBShah Did adding Pkg.add("TSVD") fix that for you?

@mlubin That makes no sense to me; what is the type of A after the Elemental.DistMatrix(Float64) call?

from elemental.jl.

mlubin avatar mlubin commented on June 15, 2024

Not sure what's going on here:

$ julia
               _
   _       _ _(_)_     |  A fresh approach to technical computing
  (_)     | (_) (_)    |  Documentation: http://docs.julialang.org
   _ _   _| |_  __ _   |  Type "?help" for help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 0.4.2 (2015-12-06 21:47 UTC)
 _/ |\__'_|_|_|\__'_|  |  
|__/                   |  x86_64-linux-gnu

julia> using MPI

julia> man = MPIManager(np = 4);

julia> addprocs(man);

julia> using Elemental

julia> @mpi_do man A = Elemental.DistMatrix(Float64);

julia> A
ERROR: UndefVarError: A not defined

Both Elemental and MPI are on master.

from elemental.jl.

andreasnoack avatar andreasnoack commented on June 15, 2024

I'm not sure why I missed this issue here. @mlubin The issue you saw here was in MPI.jl and I fixed it in JuliaParallel/MPI.jl#117

from elemental.jl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.