dmlc / dmlc/ps-lite

First KVworker always throws an exception

Open
#53 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
1.6k
Forks
540
PR merge metrics
No merged PRs in 30d

Description

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!

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.