When building NUPIC getting error undefined references to YAML in 64-bit Ubuntu

That’s great! Feel free to update the wiki, I have not finished it.

I wanted to just run the basic swarm from the swarm tutorial…
I am getting a segmentation fault. Installed Nupic and Nupic.core properly and ran make successfully.
not sure whats wrong. but this should be pretty straightforward

ubuntu-precision-server:~/numenta/nupic/examples/swarm/simple$ $NUPIC/scripts/run_swarm.py $NUPIC/examples/swarm/simple/search_def.json --maxWorkers=4
Generating experiment files in directory: /home//numenta/nupic/examples/swarm/simple...
Writing 313 lines...
Writing 114 lines...
done.
None
Successfully submitted new HyperSearch job, jobID=1009
Evaluated 0 models
HyperSearch finished!
Worker completion message: None
Results from all experiments:

Generating experiment files in directory: /tmp/tmpnA5Km4...
Writing 313 lines...
Writing 114 lines...
done.
None
Segmentation fault (core dumped)

The next time I ran it with --overwrite option I see the same core dump

ubuntu-precision-server:~/numenta/nupic/examples/swarm/simple$
$NUPIC/scripts/run_swarm.py
$NUPIC/examples/swarm/simple/search_def.json --maxWorkers=4
Generating experiment files in directory: /home/numenta/nupic/examples/swarm/simple...
Writing 313 lines...
Writing 114 lines...
done.
None
Successfully submitted new HyperSearch job, jobID=1009
Evaluated 0 models
HyperSearch finished!
Worker completion message: None
Results from all experiments:

Generating experiment files in directory: /tmp/tmpnA5Km4...
Writing 313 lines...
Writing 114 lines...
done.
None
Segmentation fault (core dumped)

After a series of git commits on the 22nd, I was able to build nupic.core with no issues in ubuntu. I was having the exact same issues. I was also getting segfaults running the swarm using the pip installation. After building everything the swarm ran fine in the sine prediction tutorial.

Distributor ID: Ubuntu
Description: Ubuntu 15.10
Release: 15.10
Codename: wily

pip list | grep nupic
nupic (0.5.4, /usr/local/lib/python2.7/dist-packages/nupic-0.5.4-py2.7.egg)
nupic.bindings (0.4.5.dev0)

1 Like