GithubHelp home page GithubHelp logo

async_parallel's People

Contributors

bmillwood avatar lpw25 avatar trefis avatar xclerc avatar ysulsky avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

async_parallel's Issues

Ping Pong example not working on OSX

I'm not really sure if async_parallel is supposed to work on OSX or if I'm doing something horribly wrong.

Below is my shell commands from trying to compile and run the ping_pong example after installing async_parallel via opam.

➜  ocaml  corebuild -pkg async,async_parallel ping_pong.native
➜  ocaml  ./ping_pong.native 
Uncaught exception:

  (Unix.Unix_error "No such file or directory" readlink
   "((filename /proc/4775/exe))")

Raised at file "lib/core_unix.ml", line 48, characters 11-42
Called from file "lib/master_process.ml", line 408, characters 21-83
Called from file "lib/master_process.ml", line 477, characters 10-32
Re-raised at file "lib/master_process.ml", line 483, characters 14-15
Called from file "lib/intf.ml", line 10, characters 22-53
Called from file "ping_pong.ml", line 22, characters 4-140
Called from file "lib/exn.ml", line 87, characters 6-10

So I tried checking out the source in github and compiling the examples there, but there's a dependency on async_kernel which doesn't appear to be available on opam.

➜  async_parallel git:(master) make
./setup-dev.exe -build 
W: No replace section found in file Makefile
Finished, 1 target (0 cached) in 00:00:00.
+ ocamlfind ocamlc -c -g -package threads -package sexplib.syntax -package sexplib -package core -package bin_prot.syntax -package bin_prot -package async -syntax camlp4o -thread -I lib -o lib/import.cmo lib/import.ml
File "lib/import.ml", line 10, characters 15-33:
Error: Unbound module Async_kernel
Command exited with code 2.
Compilation unsuccessful after building 3 targets (0 cached) in 00:00:01.
E: Failure("Command ''/Users/tim/.opam/4.01.0/bin/ocamlbuild' lib/async_parallel.cma lib/async_parallel.cmxa lib/async_parallel.a lib/async_parallel.cmxs examples/deep.native examples/echo_server.native examples/pingpong.native examples/ring.native examples/simple.native examples/wide.native -tag debug' terminated with error code 10")
make: *** [build] Error 1

I'd really like to get some working code with async_parallel. If there are some steps I'm missing or some docs I could look at please point them out.

async_parallel looks like an exciting extension to the existing async functionality and it would be fantastic to have a smooth / well documented way for people to start using it.

Thanks

Parallel.init fails quite silently

I have some code with

Parallel.init ~cluster ();

and (it happens) one of the machines in cluster does not accept SSH connections.

The program just terminates with code 141, there is no exception, no error message.

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.