Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Add many missing (but not yet implemented) MPI calls.
[simgrid.git] / examples / ruby / PingPong.tesh
index a483667..501b23c 100644 (file)
@@ -1,5 +1,9 @@
 #PingPong Example
-$ ruby PingPong.rb
+
+# This setenv and the -I arg are mandatory until the make install only
+! setenv RUBYLIB=../../lib
+
+$ ruby -I ../../src/bindings/ruby PingPong.rb
 > [Inmos:Sender:(1) 0.000000] [ruby/INFO] Hello from Sender
 > [Inmos:Sender:(1) 0.000000] [ruby/INFO] Host count :1
 > [Inmos:Sender:(1) 0.000000] [ruby/INFO] sender time :0.0