Skip to content

Failing tests #37

@ghr55

Description

@ghr55

For some reason, although I am able to compile (make tools) on both my machine and in an AWS instance, I am failing test 17:

(cd ./tmp/gyh13/working && g++ -std=c++14 -O3 -W -Wall -g -I include src/util/layer_io.cpp src/tools/run_network.cpp src/layers/*.cpp -o bin/run_network -ltbb -lOpenCL) &> ./tmp/gyh13/log/build_run_network.log gyh13, 17, Compiling bin/run_network, FAIL

This is causing me to fail many of the other tests as they can't run properly without the bin/run_network file. The log shows the following error:

src/tools/run_network.cpp: In function ‘int main(int, char**)’: src/tools/run_network.cpp:22:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(colon!=std::string::npos){ ^ src/tools/run_network.cpp:46:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=0;i<layers.size();i++){ ^ /tmp/ccEwpeCX.o: In functioncreateLayer(std::string const&, unsigned int, unsigned int, std::vector<synapse_t, std::allocator<synapse_t> > const&)':
/home/admin/hpce-2017-private/scripts/cw4/tmp/gyh13/working/src/layers/layer_factory.cpp:26: undefined reference to CreateClusteredLayer(unsigned int, unsigned int, std::vector<synapse_t, std::allocator<synapse_t> > const&)' collect2: error: ld returned 1 exit status

Anyone have any idea what is going on?

I am also failing test 14 and 15, which checks if I have a clustered and a par_for_clustered file:

gyh13, 14, Have src/layers/clustered*.cpp, FAIL gyh13, 15, Have src/layers/par_for_clustered*.cpp, FAIL

This is happening even though I have the relevant files in the correct folders in my repository. This is also happening while I am passing tests 12 and 13, which checks for the other implementations.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions