EXCEPTION occurred: Undefined function or macro 'SBFF' in SBFF(featNorm,hiddenDim,featDim)

Apr 20, 2015 at 7:19 AM
Edited Apr 20, 2015 at 3:04 PM
While running CNTK using configuration ExampleSetups/ASR/TIMIT/config/TIMIT_TrainWithPreTrain.config

It gives the following error:
minibatchframesourcemulti: reading 1 feature sets and 1 label sets......................................................................................................
minibatchframesourcemulti: read label set 0: 3001 classes

minibatchframesourcemulti: feature set 0: 400440 frames read from 788 utterances
biggrowablevectorarray: disk backup store created, 400440 frames, 73400320 bytes                                                                                        EXCEPTION occurred: Undefined function or macro 'SBFF' in SBFF(featNorm,hiddenDim,featDim)
And I'm sure that right path of default_macros.ndl is used in the configuration.

It seems that it's ok in the previous versions, but after some new commits this error happened.
Apr 22, 2015 at 4:37 AM
Edited Apr 22, 2015 at 4:39 AM
It seems that the static member s_global defined in NetworkDescriptionLanguage.h:

static NDLScript<ElemType> s_global; //("global");

has become empty when loading create_1layer.ndl.

I'm not sure why this happened without reading much codes(maybe different elementTypes are using in this template class?).

A dirty solution is just paste all codes in default_macros into ndlMacroDefine section in create_1layer

Btw, I'm using Ubuntu 14.04, g++ 4.8 and cuda 6.5.
Apr 22, 2015 at 9:25 AM
Meet the same problem in AutoEncoder Training:
EXCEPTION occurred: Undefined function or macro 'MeanVarNorm' in MeanVarNorm(featIn)
Apr 28, 2015 at 1:05 AM
Edited Apr 28, 2015 at 1:06 AM
Sorry for the late reply.

I cannot reproduce this error on my machine so probably I need to set-up a machine like yours.

Just to confirm:

Your Ubuntu version is 14.04.1 or 14.04.2?

Are you using the latest linux build?

thanks a lot
Apr 28, 2015 at 10:06 AM
I'm using Ubuntu 14.04.2, g++4.8.2, CUDA 6.5

The following commands was used:
git clone -b linux-gcc https://git.codeplex.com/cntk
cd cntk
make -f Makefile.gpu
no errors happened after replacement with the right path.
Apr 28, 2015 at 4:19 PM
"no errors happened after replacement with the right path."

What this mean? Are you still have this error (cannot load default_macros)?

thanks a lot,

Apr 29, 2015 at 1:48 AM
Yes, I means that no errors happened during the compilation. But I still face the same problem in the latest version.

Thank you!

May 9, 2015 at 5:05 AM
Solved the problem after upgrading to the lastest version.
Marked as answer by cnx on 5/8/2015 at 9:05 PM