Re: [racket-dev] Parallel Build of Collects
On Mon, Jul 5, 2010 at 2:13 PM, Kevin Tew t...@cs.utah.edu wrote: Parallel build of collects is now the default option. This breaks for me, with current master (during 'make install'): raco setup: --- parallel build using 4 processor cores --- /home/samth/sw/plt/collects/setup/compiled/parallel-build-worker_rkt.zo::0: read (compiled): code compiled for version 5.0.0.5, not 5.0.0.6 /home/samth/sw/plt/collects/setup/compiled/parallel-build-worker_rkt.zo::0: read (compiled): code compiled for version 5.0.0.5, not 5.0.0.6 KILLING WORKER 0 #(struct:exn:fail:filesystem error writing to stream port (Broken pipe; errno=32) #continuation-mark-set) close-input-port: expects argument of type input-port; given 0 === context === /home/samth/sw/plt/collects/setup/parallel-build.rkt:220:58: with-handlers-handler219 /home/samth/sw/plt/collects/setup/setup-unit.rkt:601:17: thunk /home/samth/sw/plt/collects/setup/setup-go.rkt: [running body] /home/samth/sw/plt/collects/setup/main.rkt: [running body] I was able to fix this by doing 'raco setup -u -l setup' and then rerunning 'make install'. -- sam th sa...@ccs.neu.edu _ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/dev
Re: [racket-dev] Parallel Build of Collects
I'm fine with renaming -u to -J. On 07/05/2010 04:37 PM, Eli Barzilay wrote: On Jul 5, Kevin Tew wrote: Parallel build of collects is now the default option. You can change the setup options by specify an environment variable to make install Examples: ; only use one processor SETUP_OPTIONS=-j 1 make install or ; use three processors don't build docs SETUP_OPTIONS=-j 1 -D make install raco setup -u now means uniprocessor. It will build collects using the original serial process (before parallel build was committed) Why not something that is more related to -j like -J or +j? (Especially given that it's not the same as -j 1, so it's not really an option to be used for a uniprocessor situation). _ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/dev
Re: [racket-dev] Parallel Build of Collects
Why don't you use make parallel setup the standard? On Jul 2, 2010, at 4:44 PM, Kevin Tew wrote: raco setup -u will build collects in parallel, using all the cores your machine has. rack setup -u -j X ie (-j 2) can be used to throttle parallel build to only use X cores. Parallel build is currently done by spawning worker processes and communicating over pipes. Building scribble documentation is still serial, I'm working to parallelize that as well. Kevin _ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/dev _ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/dev
Re: [racket-dev] Parallel Build of Collects
Great! Robby On Fri, Jul 2, 2010 at 3:44 PM, Kevin Tew t...@cs.utah.edu wrote: raco setup -u will build collects in parallel, using all the cores your machine has. rack setup -u -j X ie (-j 2) can be used to throttle parallel build to only use X cores. Parallel build is currently done by spawning worker processes and communicating over pipes. Building scribble documentation is still serial, I'm working to parallelize that as well. Kevin _ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/dev _ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/dev
Re: [racket-dev] Parallel Build of Collects
I'm getting this: [ro...@penghu] ~/git/plt/collects$ raco setup -u /Users/robby/git/exp/plt/bin/raco setup: unknown switch: -u Robby On Fri, Jul 2, 2010 at 3:44 PM, Kevin Tew t...@cs.utah.edu wrote: raco setup -u will build collects in parallel, using all the cores your machine has. rack setup -u -j X ie (-j 2) can be used to throttle parallel build to only use X cores. Parallel build is currently done by spawning worker processes and communicating over pipes. Building scribble documentation is still serial, I'm working to parallelize that as well. Kevin _ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/dev _ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/dev