Skip to content

Instantly share code, notes, and snippets.

@opotowsky
Last active August 29, 2015 14:18
Show Gist options
  • Save opotowsky/dc43967fd071d147d20b to your computer and use it in GitHub Desktop.
Save opotowsky/dc43967fd071d147d20b to your computer and use it in GitHub Desktop.
Bright-lite errors
[ 41%] [ 41%] [ 47%] [ 52%] [ 58%] Building CXX object src/CMakeFiles/Brightlite_unit_tests.dir/__/Brightlite/reactor_facility.cc.o
Building CXX object src/CMakeFiles/Brightlite_unit_tests.dir/__/Brightlite/reactor_facility_tests.cc.o
Building CXX object src/CMakeFiles/Brightlite_unit_tests.dir/__/Brightlite/fuelfab_facility_tests.cc.o
Building CXX object src/CMakeFiles/Brightlite_unit_tests.dir/home/opotowsky/.local/share/cyclus/cyclus_default_unit_test_driver.cc.o
Building CXX object src/CMakeFiles/Brightlite_unit_tests.dir/__/Brightlite/fuelfab_facility.cc.o
/home/opotowsky/cyclus/Bright-lite/src/reactor_facility.cc: In function ‘bool reactor::stream_check(cyclus::Material::Ptr&)’:
/home/opotowsky/cyclus/Bright-lite/src/reactor_facility.cc:24:5: error: ‘comp_new’ was not declared in this scope
comp_new = mat1->comp()->mass();
^
/home/opotowsky/cyclus/Bright-lite/src/reactor_facility.cc:25:5: error: ‘comp_old’ was not declared in this scope
comp_old = previous_mat->comp()->mass();
^
/home/opotowsky/cyclus/Bright-lite/src/reactor_facility.cc:25:16: error: ‘previous_mat’ was not declared in this scope
comp_old = previous_mat->comp()->mass();
^
/home/opotowsky/cyclus/Bright-lite/src/reactor_facility.cc:30:18: error: ‘comp_previous’ was not declared in this scope
for(id = comp_previous.begin(); id != comp_previous.end(); ++id){
^
/home/opotowsky/cyclus/Bright-lite/src/reactor_facility.cc:36:57: error: ‘second’ was not declared in this scope
if(check1 == false){diffs.push_back(std::pow(it-second, 2));}
^
/home/opotowsky/cyclus/Bright-lite/src/reactor_facility.cc:36:57: note: suggested alternative:
In file included from /usr/include/boost/mpl/iter_fold_if.hpp:23:0,
from /usr/include/boost/mpl/find_if.hpp:19,
from /usr/include/boost/mpl/find.hpp:17,
from /usr/include/boost/mpl/aux_/contains_impl.hpp:20,
from /usr/include/boost/mpl/contains.hpp:20,
from /usr/include/boost/math/policies/policy.hpp:10,
from /usr/include/boost/math/special_functions/math_fwd.hpp:28,
from /usr/include/boost/math/special_functions/sign.hpp:17,
from /usr/include/boost/lexical_cast.hpp:167,
from /home/opotowsky/.local/include/cyclus/infile_tree.h:10,
from /home/opotowsky/.local/include/cyclus/agent.h:13,
from /home/opotowsky/.local/include/cyclus/context.h:16,
from /home/opotowsky/.local/include/cyclus/cyclus.h:9,
from /home/opotowsky/cyclus/Bright-lite/src/reactor_facility.h:8,
from /home/opotowsky/cyclus/Bright-lite/src/reactor_facility.cc:1:
/usr/include/boost/mpl/pair.hpp:53:8: note: ‘boost::mpl::second’
struct second
^
/home/opotowsky/cyclus/Bright-lite/src/reactor_facility.cc:43:34: error: expected ‘;’ before ‘}’ token
if (rms >= 0.05){return false}{
^
/home/opotowsky/cyclus/Bright-lite/src/reactor_facility.cc:44:7: error: ‘else’ without a previous ‘if’
} else {
^
/home/opotowsky/cyclus/Bright-lite/src/reactor_facility.cc: In function ‘bool reactor::stream_check(cyclus::Material::Ptr&)’:
/home/opotowsky/cyclus/Bright-lite/src/reactor_facility.cc:24:5: error: ‘comp_new’ was not declared in this scope
comp_new = mat1->comp()->mass();
^
/home/opotowsky/cyclus/Bright-lite/src/reactor_facility.cc:25:5: error: ‘comp_old’ was not declared in this scope
comp_old = previous_mat->comp()->mass();
^
/home/opotowsky/cyclus/Bright-lite/src/reactor_facility.cc:25:16: error: ‘previous_mat’ was not declared in this scope
comp_old = previous_mat->comp()->mass();
^
/home/opotowsky/cyclus/Bright-lite/src/reactor_facility.cc:30:18: error: ‘comp_previous’ was not declared in this scope
for(id = comp_previous.begin(); id != comp_previous.end(); ++id){
^
/home/opotowsky/cyclus/Bright-lite/src/reactor_facility.cc:36:57: error: ‘second’ was not declared in this scope
if(check1 == false){diffs.push_back(std::pow(it-second, 2));}
^
/home/opotowsky/cyclus/Bright-lite/src/reactor_facility.cc:36:57: note: suggested alternative:
In file included from /usr/include/boost/mpl/iter_fold_if.hpp:23:0,
from /usr/include/boost/mpl/find_if.hpp:19,
from /usr/include/boost/mpl/find.hpp:17,
from /usr/include/boost/mpl/aux_/contains_impl.hpp:20,
from /usr/include/boost/mpl/contains.hpp:20,
from /usr/include/boost/math/policies/policy.hpp:10,
from /usr/include/boost/math/special_functions/math_fwd.hpp:28,
from /usr/include/boost/math/special_functions/sign.hpp:17,
from /usr/include/boost/lexical_cast.hpp:167,
from /home/opotowsky/.local/include/cyclus/infile_tree.h:10,
from /home/opotowsky/.local/include/cyclus/agent.h:13,
from /home/opotowsky/.local/include/cyclus/context.h:16,
from /home/opotowsky/.local/include/cyclus/cyclus.h:9,
from /home/opotowsky/cyclus/Bright-lite/src/reactor_facility.h:8,
from /home/opotowsky/cyclus/Bright-lite/src/reactor_facility.cc:1:
/usr/include/boost/mpl/pair.hpp:53:8: note: ‘boost::mpl::second’
struct second
^
/home/opotowsky/cyclus/Bright-lite/src/reactor_facility.cc:43:34: error: expected ‘;’ before ‘}’ token
if (rms >= 0.05){return false}{
^
/home/opotowsky/cyclus/Bright-lite/src/reactor_facility.cc:44:7: error: ‘else’ without a previous ‘if’
} else {
^
/home/opotowsky/cyclus/Bright-lite/src/fuelfab_facility.cc: In member function ‘virtual void fuelfab::FuelfabFacility::GetMatlTrades(const std::vector<cyclus::Trade<cyclus::Material> >&, std::vector<std::pair<cyclus::Trade<cyclus::Material>, boost::shared_ptr<cyclus::Material> > >&)’:
/home/opotowsky/cyclus/Bright-lite/src/fuelfab_facility.cc:301:67: error: expected ‘]’ before ‘;’ token
mass_fracs = reactor->blend_next(fissle_inv, non_fissle_inv, inventory, in_commods);
^
/home/opotowsky/cyclus/Bright-lite/src/fuelfab_facility.cc: In member function ‘virtual void fuelfab::FuelfabFacility::GetMatlTrades(const std::vector<cyclus::Trade<cyclus::Material> >&, std::vector<std::pair<cyclus::Trade<cyclus::Material>, boost::shared_ptr<cyclus::Material> > >&)’:
/home/opotowsky/cyclus/Bright-lite/src/fuelfab_facility.cc:301:67: error: expected ‘]’ before ‘;’ token
mass_fracs = reactor->blend_next(fissle_inv, non_fissle_inv, inventory, in_commods);
^
src/CMakeFiles/Brightlite.dir/build.make:107: recipe for target 'src/CMakeFiles/Brightlite.dir/__/Brightlite/fuelfab_facility.cc.o' failed
make[2]: *** [src/CMakeFiles/Brightlite.dir/__/Brightlite/fuelfab_facility.cc.o] Error 1
make[2]: *** Waiting for unfinished jobs....
src/CMakeFiles/Brightlite_unit_tests.dir/build.make:155: recipe for target 'src/CMakeFiles/Brightlite_unit_tests.dir/__/Brightlite/fuelfab_facility.cc.o' failed
make[2]: *** [src/CMakeFiles/Brightlite_unit_tests.dir/__/Brightlite/fuelfab_facility.cc.o] Error 1
make[2]: *** Waiting for unfinished jobs....
src/CMakeFiles/Brightlite.dir/build.make:84: recipe for target 'src/CMakeFiles/Brightlite.dir/__/Brightlite/reactor_facility.cc.o' failed
make[2]: *** [src/CMakeFiles/Brightlite.dir/__/Brightlite/reactor_facility.cc.o] Error 1
src/CMakeFiles/Brightlite_unit_tests.dir/build.make:109: recipe for target 'src/CMakeFiles/Brightlite_unit_tests.dir/__/Brightlite/reactor_facility.cc.o' failed
make[2]: *** [src/CMakeFiles/Brightlite_unit_tests.dir/__/Brightlite/reactor_facility.cc.o] Error 1
CMakeFiles/Makefile2:145: recipe for target 'src/CMakeFiles/Brightlite_unit_tests.dir/all' failed
make[1]: *** [src/CMakeFiles/Brightlite_unit_tests.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
CMakeFiles/Makefile2:110: recipe for target 'src/CMakeFiles/Brightlite.dir/all' failed
make[1]: *** [src/CMakeFiles/Brightlite.dir/all] Error 2
Makefile:113: recipe for target 'all' failed
make: *** [all] Error 2
Traceback (most recent call last):
File "install.py", line 137, in <module>
main()
File "install.py", line 134, in main
install(args)
File "install.py", line 68, in install
shell=(os.name == 'nt'))
File "/usr/lib/python2.7/subprocess.py", line 540, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['make', '-j8']' returned non-zero exit status 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment