[itsdb] [incr tsdb()] and PVM problems

Francis Bond bond at ieee.org
Tue Aug 30 11:19:00 CEST 2011


Some more data:

I am getting a similar problem.  Part of it seems to lie in the fact
that pvm has constructed a socket:
/tmp/.pvm.socket.bond.ronf

but cheap/itsdb seems to be looking for
/tmp/.pvm.socket.bond

"ronf" is the machine's name

I don't know if this is related to the fact that the machine is not
connected to the internet.

Halting pvmd3 (using pvm) and restarting it leads to the same problem.

On 25 August 2011 15:08, Stephan Oepen <oe at ifi.uio.no> wrote:
> hi mike,
>
> those messages suggest your PVM daemon fails to start up, which in my
> experience is typically related to an unclean shutdown and left-over files.
> please check the contents of the $LOGONTMP directory, or maybe try a
> ‘make pure’ in $LOGONROOT.
>
> if all else fails, what messages do you get when launching pvmd3 from a
> command line?
>
> i am using fedora 15 myself, so doubt that is part of the problem :-).
>
> cheers, oe
>
>
> On Wednesday, August 24, 2011, Michael Wayne Goodman
> <goodmami at u.washington.edu> wrote:
>> Hi,
>>
>> I'm getting PVM errors when I try to use PET for parsing with [incr
>> tsdb()]. I am running Fedora 15 instead of Ubuntu, but I noticed this
>> problem on an Ubuntu install as well. I am also using LOGON revision
>> 9746 from http://svn.emmtee.net/trunk.
>>
>> The problem does not appear to be related to Stefan Müller's PVM issue
>> from May 2008
>> (http://lists.delph-in.net/archive/itsdb/2008-May/000110.html),
>> but I could be wrong.
>>
>> Here are the errors (from STDERR of the $LOGONROOT/bin/logon script):
>>
>> ====
>> libpvm [pid27468] /tmp/.pvm.socket.goodmami: No such file or directory
>> libpvm [pid27468] /tmp/.pvm.socket.goodmami: No such file or directory
>> libpvm [pid27468] /tmp/.pvm.socket.goodmami: No such file or directory
>> libpvm [pid27468]: pvm_mytid(): Can't contact local daemon
>> libpvm [pid27468]: pvm_register(): Can't contact local daemon
>> pvm_register(): unable to initialize virtual machine.
>> libpvm [pid27468] /tmp/.pvm.socket.goodmami: No such file or directory
>> libpvm [pid27468] /tmp/.pvm.socket.goodmami: No such file or directory
>> libpvm [pid27468] /tmp/.pvm.socket.goodmami: No such file or directory
>> libpvm [pid27468] /tmp/.pvm.socket.goodmami: No such file or directory
>> libpvm [pid27468]: pvm_mytid(): Can't contact local daemon
>> ====
>>
>> ...and later during parsing:
>>
>> ====
>> (1) `dog slept' [100000] --- error: lexicon is not open for reading.
>> (2) `cat slept' [100000] --- error: lexicon is not open for reading.
>> (3) `dog cat chased' [100000] --- error: lexicon is not open for reading.
>> (4) `cat dog chased' [100000] --- error: lexicon is not open for reading.
>> (5) `*slept dog' [100000] --- error: lexicon is not open for reading.
>> (6) `*slept cat' [100000] --- error: lexicon is not open for reading.
>> (7) `*dog chased cat' [100000] --- error: lexicon is not open for reading.
>> (8) `*cat chased dog' [100000] --- error: lexicon is not open for reading.
>> (9) `*chased dog cat' [100000] --- error: lexicon is not open for reading.
>> ====
>>
>> (I doubt it matters, but I am using a small grammar in the Matrix
>> regression tests)
>>
>> These errors only occur when I use PET for parsing. It works fine when
>> the LKB is used. The only difference between the commands for using
>> PET vs the LKB are in the CPU definition. The list commands below are
>> used for PET, and when we use the LKB we comment out the first block
>> uncomment the last line below:
>>
>> ====
>>          # Use the following for PET parsing
>>          echo "(setf *tsdb-cache-connections-p* t)"
>>          echo "(setf *pvm-encoding* :utf-8)"
>>          echo "(setf *pvm-cpus* (list (make-cpu"
>>          echo "  :host (short-site-name)"
>>          echo "  :spawn \"${LOGONROOT}/bin/cheap\""
>>          echo "  :options (list \"-tsdb\" \"-packing\" \"-mrs\"
>> \"$grm_file\")"
>>          echo "  :class :$lgname :name \"$lgname\""
>>          echo "  :grammar \"$lgname (current)\""
>>          echo "  :encoding :utf-8"
>>          echo "  :task '(:parse) :wait 300 :quantum 180)))"
>>          echo "(tsdb:tsdb :cpu :$lgname :task :parse :file t)"
>>
>>          # Use the following for LKB parsing
>>          #echo "(lkb::read-script-file-aux \"$grammar\")"
>> ====
>>
>> These commands have worked before, so it could be something in my
>> local configuration that is causing the issue.
>>
>> I have tried clearing any /tmp/.pvm.* files, but the issue remains.
>> Any ideas? Let me know if more information is needed.
>>
>> Thanks
>>
>> --
>> -Michael Wayne Goodman
>>
>>
>
> --
> +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> +++ Universitetet i Oslo (IFI); Boks 1080 Blindern; 0316 Oslo; (+47) 2284
> 0125
> +++    --- oe at ifi.uio.no; stephan at oepen.net; http://www.emmtee.net/oe/ ---
> +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>
>



-- 
Francis Bond <http://www3.ntu.edu.sg/home/fcbond/>
Division of Linguistics and Multilingual Studies
Nanyang Technological University




More information about the itsdb mailing list