ps-lite
ps-lite copied to clipboard
First KVworker always throws an exception
Hi
I am new to ps-lite and I am trying to use ps-lite as part of a university group project. I am using the KVServer and KVWorker. Whenever I deploy the app using:
./ps-lite/tracker/dmlc_local.py -s 1 -n 3 ./logreg
,
an exception gets thrown:
[11:39:51] /home/rosko/Lab2016-Group4/ps-lite/include/dmlc/logging.h:208: [11:39:51] /home/rosko/Lab2016-Group4/ps-lite/src/postoffice.cc:77: Check failed: (customers_.count(id)) == ((size_t)0) id 0 already exists terminate called after throwing an instance of 'dmlc::Error' what(): [11:39:51] /home/rosko/Lab2016-Group4/ps-lite/src/postoffice.cc:77: Check failed: (customers_.count(id)) == ((size_t)0) id 0 already exists
This exception is thrown only for the first worker (rank is 0), when the post office object is retrieved:
ps::Postoffice *office = ps::Postoffice::Get();
All the other workers are working fine. Can anyone help with resolving the exception?
Any form of help is highly appreciated! Thank you!
I guess you launched servers and workers in one system process and misused rank id as the app id. Please check your code or show it here.