Skip to content
This repository has been archived by the owner on Aug 5, 2022. It is now read-only.

MLSL Error #97

Closed
amirgholami opened this issue Jul 13, 2017 · 3 comments
Closed

MLSL Error #97

amirgholami opened this issue Jul 13, 2017 · 3 comments
Assignees

Comments

@amirgholami
Copy link

I am getting the following error when installing intel caffe (following the installation steps given here https://github.com/intel/caffe/wiki/Multinode-guide.)

make: *** [.build_release/src/caffe/layer_factory.o] Error 1
In file included from ./include/caffe/syncedmem.hpp:51:0,
from ./include/caffe/blob.hpp:47,
from ./include/caffe/layers/data_layer.hpp:43,
from src/caffe/data_reader.cpp:45:
./include/caffe/multinode/mlsl.hpp: In constructor ‘caffe::mn::Distribution::Distribution(int, int, int, int, int, int)’:
./include/caffe/multinode/mlsl.hpp:114:50: error: ‘class MLSL::Environment’ has no member named ‘CreateDistributionWithColors’
distrib_ = MLSL::Environment::GetEnv().CreateDistributionWithColors(dataColor, modelColor);

I get this error when installing either through Makefile.config or cmake. Has anybody encountered the same issue?

@Rpona
Copy link

Rpona commented Jul 13, 2017

Hi, I met the same issue yesterday. You can follow #96

@amirgholami
Copy link
Author

Thanks for the reply. It seems the latest commit has solved that issue, but when I do make runtest I get the following error in "SGDSolverTest/1.TestLeastSquaresUpdate":

[ RUN ] SGDSolverTest/1.TestLeastSquaresUpdate
name: "TestNetwork"
state {
phase: TRAIN
}
compile_net_state {
bn_scale_remove: false
bn_scale_merge: false
}
layer {
name: "data"
type: "HDF5Data"
top: "data"
top: "targets"
hdf5_data_param {
source: "src/caffe/test/test_data/solver_data_list.txt"
batch_size: 4
}
}
layer {
name: "innerprod"
type: "InnerProduct"
bottom: "data"
top: "innerprod"
param {
name: "weights"
}
param {
name: "bias"
}
inner_product_param {
num_output: 1
weight_filler {
type: "gaussian"
std: 1
}
bias_filler {
type: "gaussian"
std: 1
}
}
}
layer {
name: "loss"
type: "EuclideanLoss"
bottom: "innerprod"
bottom: "targets"
}
name: "TestNetwork"
state {
phase: TRAIN
}
compile_net_state {
bn_scale_remove: false
bn_scale_merge: false
}
layer {
name: "data"
type: "HDF5Data"
top: "data"
top: "targets"
hdf5_data_param {
source: "src/caffe/test/test_data/solver_data_list.txt"
batch_size: 4
}
}
layer {
name: "innerprod"
type: "InnerProduct"
bottom: "data"
top: "innerprod"
param {
name: "weights"
}
param {
name: "bias"
}
inner_product_param {
num_output: 1
weight_filler {
type: "gaussian"
std: 1
}
bias_filler {
type: "gaussian"
std: 1
}
}
}
layer {
name: "loss"
type: "EuclideanLoss"
bottom: "innerprod"
bottom: "targets"
}
(154858): mlsl_impl.hpp:SetGlobalMinibatchSize:829: ASSERT '!isBatchSizeSet' FAILED: minibatch size can be set only once
make: *** [runtest] Error 1

@fzou1 fzou1 self-assigned this Jul 19, 2017
@fzou1
Copy link
Contributor

fzou1 commented Aug 25, 2017

This issue is fixed. please try latest version of caffe.

@hshen14 hshen14 closed this as completed Oct 24, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants