Skip to content

Instantly share code, notes, and snippets.

View UnixJunkie's full-sized avatar

François Bérenger UnixJunkie

View GitHub Profile
@UnixJunkie
UnixJunkie / gist:4491246
Created January 9, 2013 07:09
Parmap problem Johan Mazel
open Printf
let main _ =
Parmap.debugging true;
let cores = 6 in
let array1_length = 1000 in
let array2_length = 100000 in
let float_bound = 10.0 in
print_endline "Building array1";
@UnixJunkie
UnixJunkie / gist:4491378
Created January 9, 2013 07:37
more Parmap problem reproduce trial
open Printf
let main _ =
Parmap.debugging true;
let cores = int_of_string Sys.argv.(1) in
let array1_length = 1000 in
let array2_length = 100000 in
let float_bound = 10.0 in
print_endline "Building array1";
@UnixJunkie
UnixJunkie / gist:8348731
Created January 10, 2014 08:49
OPAM trace
This file has been truncated, but you can view the full file.
00:00.002 015590 15590 locking /home/berenger/.opam/lock
00:00.002 015590 FILENAME cleandir /home/berenger/.opam/log
00:00.002 015590 SYSTEM rmdir /home/berenger/.opam/log
00:00.007 015590 SYSTEM mkdir /home/berenger/.opam/log
00:00.008 015590 FILE(aliases) Read ~/.opam/aliases in 0.000s
00:00.009 015590 STATE LOAD-STATE(global-lock)
00:00.011 015590 FILE(config) Read ~/.opam/config in 0.000s
00:00.023 015590 STATE Loaded /home/berenger/.opam/state.cache in 0.016s
00:00.024 015590 FILE(aliases) Read ~/.opam/aliases in 0.000s
00:00.048 015590 FILE(repo-config) Read ~/.opam/repo/default/config in 0.000s
@UnixJunkie
UnixJunkie / gist:8348894
Created January 10, 2014 09:09
another OPAM trace
This file has been truncated, but you can view the full file.
00:00.003 016083 16083 locking /home/berenger/.opam/lock
00:00.003 016083 FILENAME cleandir /home/berenger/.opam/log
00:00.003 016083 SYSTEM rmdir /home/berenger/.opam/log
00:00.046 016083 SYSTEM mkdir /home/berenger/.opam/log
00:00.061 016083 FILE(aliases) Read ~/.opam/aliases in 0.000s
00:00.061 016083 STATE LOAD-STATE(global-lock)
00:00.068 016083 FILE(config) Read ~/.opam/config in 0.000s
00:00.081 016083 STATE Loaded /home/berenger/.opam/state.cache in 0.012s
00:00.081 016083 FILE(aliases) Read ~/.opam/aliases in 0.000s
00:00.172 016083 FILE(repo-config) Read ~/.opam/repo/default/config in 0.000s
@UnixJunkie
UnixJunkie / gist:9926629
Created April 2, 2014 01:49
nohup.out from 'nohup obuild --debug+ build'
[CMD]: /home/berenger/.opam/4.01.0/bin/ocamlopt.opt -config
[CMD]: ocamlfind printconf conf
analyzing project
[CMD]: /home/berenger/.opam/4.01.0/bin/ocamlopt.opt -config
[CMD]: /home/berenger/.opam/4.01.0/bin/ocamlopt.opt -vnum
initializing standard library : package unix
initializing standard library : package str
initializing standard library : package stdlib
initializing standard library : package nums
initializing standard library : package dynlink
@UnixJunkie
UnixJunkie / gist:9928741
Created April 2, 2014 06:08
\rm nohup.out ; obuild configure --enable-executable-profiling ; nohup obuild --debug+ build
[CMD]: /home/berenger/.opam/4.01.0/bin/ocamlopt.opt -config
[CMD]: ocamlfind printconf conf
analyzing project
[CMD]: /home/berenger/.opam/4.01.0/bin/ocamlopt.opt -config
[CMD]: /home/berenger/.opam/4.01.0/bin/ocamlopt.opt -vnum
initializing standard library : package unix
initializing standard library : package str
initializing standard library : package stdlib
initializing standard library : package nums
initializing standard library : package dynlink
@UnixJunkie
UnixJunkie / gist:9946820
Created April 3, 2014 01:40
obuild configure --enable-executable-profiling ; \rm nohup.out ; nohup obuild --debug+ build
[CMD]: /home/berenger/.opam/4.01.0/bin/ocamlopt.opt -config
[CMD]: ocamlfind printconf conf
analyzing project
[CMD]: /home/berenger/.opam/4.01.0/bin/ocamlopt.opt -config
[CMD]: /home/berenger/.opam/4.01.0/bin/ocamlopt.opt -vnum
initializing standard library : package unix
initializing standard library : package str
initializing standard library : package stdlib
initializing standard library : package nums
initializing standard library : package dynlink
@UnixJunkie
UnixJunkie / gist:11024843
Created April 18, 2014 04:28
OPAM can't install obuild in case only wget is there and no curl
00:00.007 041817 41817 locking /home/berenger/.opam/lock
00:00.008 041817 FILE(config) Read ~/.opam/config in 0.000s
00:00.009 041817 SYSTEM unlocking /home/berenger/.opam/lock (41817)
00:00.009 041817 SYSTEM rm /home/berenger/.opam/lock
00:00.009 041817 STATE LOAD-STATE(switch-lock)
00:00.011 041817 FILE(config) Read ~/.opam/config in 0.000s
00:00.025 041817 STATE Loaded /home/berenger/.opam/state.cache in 0.013s
00:00.026 041817 FILE(aliases) Read ~/.opam/aliases in 0.000s
00:00.070 041817 FILE(repo-config) Read ~/.opam/repo/official_http/config in 0.000s
00:00.091 041817 FILE(repo-index) Read ~/.opam/repo/package-index in 0.021s
@UnixJunkie
UnixJunkie / gist:9eab4cffa084ede9c6ff
Created May 20, 2014 08:13
[ERROR] Failure while processing lwt.2.4.5
# opam install --verbose lwt
The following actions will be performed:
- install lwt.2.4.5
1 to install | 0 to reinstall | 0 to upgrade | 0 to downgrade | 0 to remove
=-=-= Synchronizing package archives =-=-=
=-=-= Installing lwt.2.4.5 =-=-=
Building lwt.2.4.5:
./configure --disable-libev --enable-react --disable-ssl --enable-unix --enable-extra --disable-preemptive --disable-glib --disable-text
@UnixJunkie
UnixJunkie / gist:3f490a7aac9172e04fbc
Created July 23, 2014 12:45
obuild --debug+ build lib-c4
[CMD]: ocamlfind printconf conf
[CMD]: /users/absint3/berenger/.opam/4.01.0/bin/ocamlopt.opt -config
analyzing project
[CMD]: /users/absint3/berenger/.opam/4.01.0/bin/ocamlopt.opt -config
[CMD]: /users/absint3/berenger/.opam/4.01.0/bin/ocamlopt.opt -vnum
initializing standard library : package stdlib
initializing standard library : package dynlink
initializing standard library : package graphics
initializing standard library : package unix
initializing standard library : package str