Thanks for this excellent suggestion. You inspired me to write a much superior stdin/stdout style connector instead using pipes that is far more flexible in many ways: http://hg.cilibrar.com/complearn-uncd/ Best regards, -r. On 10/4/07, gga <GGarramuno / aol.com> wrote: > > > > > /home/cilibrar/rlc/projects/complearn/complearn-ruby/ext/complearn/ > > complearn4r.so: libgomp.so.1: shared object cannot be dlopen()ed - / > > That probably means you have some undefined symbol most likely due to > a missing library during link time. > > That being said, even if you manage to load and compile the stuff, > wrapping an OpenMP library is *probably* asking for trouble as ruby is > a single threaded application that relies on knowing how and where the > stack is. OpenMP will generate new threads behind your back, each one > with its own stack. Any call from those threads back to ruby will > probably lead to random crashes or memory issues. > > > -- "We can try to do it by breaking free of the mental prison of separation and exclusion and see the world in its interconnectedness and non-separability, allowing new alternatives to emerge." -- after Vandana Shiva