Skip to content

Instantly share code, notes, and snippets.

Found an entry named np that is unknown to the parser.
12 possible (not validated) samplers found from input run control
Preparing input database
Converting 12 instances
5951401 function calls (5945665 primitive calls) in 8.094 seconds
Ordered by: internal time
ncalls tottime percall cumtime percall filename:lineno(function)
12 2.089 0.174 3.798 0.316 params.py:485(populate_params)
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by Clp configure trunk, which was
generated by GNU Autoconf 2.59. Invocation command line was
$ ../../Clp/configure --prefix=/home/gidden/software/coin-Cbc-trunk/build --cache-file=/dev/null --srcdir=../../Clp
## --------- ##
## Platform. ##
@gidden
gidden / gist:ffb6e4321c74025bf526
Created July 30, 2014 19:28
custom event handler
/// An event handler that records the time that a better solution is found
class ObjValueHandler: public CbcEventHandler {
public:
ObjValueHandler(double obj, double time, bool found)
: obj_(obj),
time_(time),
found_(found) {};
explicit ObjValueHandler(double obj)
: obj_(obj),
@gidden
gidden / gist:d5870979e3e2a6c546aa
Created August 3, 2014 19:14
boost link error on mavericks using cyclus conda install
Linking CXX executable ../bin/cyclus
Undefined symbols for architecture x86_64:
"boost::program_options::to_internal(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)", referenced from:
std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > boost::program_options::to_internal<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >(std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&) in cyclus.cc.o
"boost::program_options::invalid_option_value::invalid_option_value(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)", referenced from:
void boost::program_op
@gidden
gidden / gist:5593ea61c91ac22c23ab
Created August 3, 2014 19:28
cmake output from bad cyclus build on mavericks
matthews-air:cyclus gidden$ ./install.py -j 4
/opt/local/bin/cmake
-- The C compiler identification is AppleClang 5.1.0.5030040
-- The CXX compiler identification is AppleClang 5.1.0.5030040
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
@gidden
gidden / gist:97c4c0e68a810a565620
Created August 4, 2014 13:05
coin cbc 2.8.7 mac osx 10.9.3 configure output
configure: creating cache config.cache
checking build system type... i386-apple-darwin13.2.0
checking whether we want to compile in debug mode... no
checking for xlc_r... no
checking for xlc... no
checking for cc... cc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
@gidden
gidden / gist:2df4c5466320b6493d66
Created August 4, 2014 13:05
coin cbc 2.8.7 mac osx 10.9.3 make output
This file has been truncated, but you can view the full file.
Making all in Data/Sample
make[1]: Nothing to be done for `all'.
Making all in CoinUtils
Making all in src
/Library/Developer/CommandLineTools/usr/bin/make all-am
if /bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I`echo ../../../CoinUtils/src` -O3 -pipe -DNDEBUG -Wparentheses -Wreturn-type -Wcast-qual -Wall -Wpointer-arith -Wwrite-strings -Wconversion -Wno-unknown-pragmas -Wno-long-long -DCOINUTILS_BUILD -MT CoinAlloc.lo -MD -MP -MF ".deps/CoinAlloc.Tpo" -c -o CoinAlloc.lo ../../../CoinUtils/src/CoinAlloc.cpp; \
then mv -f ".deps/CoinAlloc.Tpo" ".deps/CoinAlloc.Plo"; else rm -f ".deps/CoinAlloc.Tpo"; exit 1; fi
if /bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I`echo ../../../CoinUtils/src` -O3 -pipe -DNDEBUG -Wparentheses -Wreturn-type -Wcast-qual -Wall -Wpointer-arith -Wwrite-strings -Wconversion -Wno-unknown-pragmas -Wno-long-long -DCOINUTILS_BUILD -MT CoinBuild.lo -MD -MP -MF ".deps/CoinBuild.Tpo" -c -o CoinBuild.lo ../../../CoinUtils/src/Coi
@gidden
gidden / gist:7e8436e9da3442f73f24
Created August 4, 2014 13:06
coin cbc 2.8.7 mac osx 10.9.3 configure log
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by Cbc configure 2.8.7, which was
generated by GNU Autoconf 2.59. Invocation command line was
$ ../configure -C
## --------- ##
## Platform. ##
@gidden
gidden / gist:3143f27cd876c77a2357
Created August 4, 2014 14:47
cyclus unit tests, hdf5 1.8.13, mac osx 10.9.3
[==========] Running 424 tests from 95 test cases.
[----------] Global test environment set-up.
[----------] 2 tests from BuildingManagerTests
[ RUN ] BuildingManagerTests.problem
Coin0506I Presolve 1 (0) rows, 2 (0) columns and 2 (0) elements
Clp0006I 0 Obj 0 Primal inf 1.2512499 (1)
Clp0006I 1 Obj 1001
Clp0000I Optimal - objective value 1001
Clp0032I Optimal objective 1001 - 1 iterations time 0.002
Warning: Use of OsiCbc is deprecated.
@gidden
gidden / gist:18ad78ff657c59a369bd
Created August 4, 2014 14:49
regression test failures, hdf5 1.8.13, osx 10.9.3
.......................................................................FEFFFEFFFFFF
======================================================================
ERROR: Tests simulations with Predators only.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/gidden/Library/Python/2.7/lib/python/site-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/Users/gidden/work/cyclus/cyclus/tests/tools.py", line 44, in check_cmd
print("STDOUT + STDERR:\n\n" + f.read().decode())
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe0 in position 2847: ordinal not in range(128)