I’m trying to setup a computational farm on our IBM SP cluster and have run
into a problem. When I keep both client + servers on the same cluster
(either IBM SP or Sun Blade) everything runs fine. My preference is to keep
the client on my Sun Blade and run the servers on the SP cluster. But when
I do so I’m getting the error below.
Anybody have experience in running drb across different operating systems?
I’m using ruby 1.6.7 and drb 1.3.6; the Blades run solaris 2.8 and the SP
nodes aix 4.3.3.0 . (My guess is that the problem may be due to an
incompatibility with how the serialization is taking place on the two
systems; drb.rb:107 is a Marshal::load)
Thanks in advance.
Raja
(druby://:8080) /u/raja/lib/ruby/site_ruby/1.6/drb/drb.rb:107:in load': class DRb::DRbObject needs to have method_load’ (TypeError)
from (druby://:8080) /u/raja/lib/ruby/site_ruby/1.6/drb/drb.rb:107:in load' from (druby://<host>:8080) /u/raja/lib/ruby/site_ruby/1.6/drb/drb.rb:131:inrecv_request’
from (druby://:8080) /u/raja/lib/ruby/site_ruby/1.6/drb/drb.rb:130:in times' from (druby://<host>:8080) /u/raja/lib/ruby/site_ruby/1.6/drb/drb.rb:130:inrecv_request’
from (druby://:8080) /u/raja/lib/ruby/site_ruby/1.6/drb/drb.rb:344:in proc' from (druby://<host>:8080) /u/raja/lib/ruby/site_ruby/1.6/drb/drb.rb:337:instart’
from (druby://:8080) /u/raja/lib/ruby/site_ruby/1.6/drb/drb.rb:337:in proc' from (druby://<host>:8080) /u/raja/lib/ruby/site_ruby/1.6/drb/drb.rb:310:inrun’
from (druby://:8080) /u/raja/lib/ruby/site_ruby/1.6/drb/drb.rb:307:in start' from (druby://<host>:8080) /u/raja/lib/ruby/site_ruby/1.6/drb/drb.rb:307:inrun’
from (druby://:8080) /u/raja/lib/ruby/site_ruby/1.6/drb/drb.rb:269:in initialize' from (druby://<host>:8080) /u/raja/lib/ruby/site_ruby/1.6/drb/drb.rb:390:innew’
from (druby://:8080) /u/raja/lib/ruby/site_ruby/1.6/drb/drb.rb:390:in start_service' from (druby://<host>:8080) client_3.rb:29 from /N/u/raja/SP/lib/ruby/site_ruby/1.6/drb/rinda.rb:22:inin’
from server.rb:44
Anybody have experience in running drb across different
operating systems? I’m using ruby 1.6.7 and drb 1.3.6; the
Blades run solaris 2.8 and the SP nodes aix 4.3.3.0 . (My
guess is that the problem may be due to an incompatibility
with how the serialization is taking place on the two systems;
drb.rb:107 is a Marshal::load)
This isn’t going to help you much since I haven’t encountered
your problem - but to your OS question - yes. I regularly run
drb between W2K, Linux and FreeBSD.
Looks like a question for Masatoshi Seki. If you don’t get an
answer here you may wish to post at the low volume DRB list:
Anybody have experience in running drb across different operating
systems?
I’m using ruby 1.6.7 and drb 1.3.6; the Blades run solaris 2.8 and the
SP
nodes aix 4.3.3.0 . (My guess is that the problem may be due to an
incompatibility with how the serialization is taking place on the two
systems; drb.rb:107 is a Marshal::load)
(druby://:8080) /u/raja/lib/ruby/site_ruby/1.6/drb/drb.rb:107:in load': class DRb::DRbObject needs to have method _load’ (TypeError)
I think that the version of dRuby of one of machines is old.
Please check the version of dRuby library.
I think that the version of dRuby of one of machines is old.
Please check the version of dRuby library.
Right. Thanks!
I had recently deleted drb 1.3.2 on Solaris and had installed drb 1.3.6 on
both Solaris and AIX. As it turns out my problem was due to a second
spurious installation of drb 1.3.2 sitting up front on my ruby lib path on
the Solaris side. Got rid of that and things are fine now.
Thanks also for your fine effort in producing such a neat tool!