Skip to content

Instantly share code, notes, and snippets.

@katyhuff
Created May 27, 2017 18:40
Show Gist options
  • Save katyhuff/703d0504734a541a10496d803bc74502 to your computer and use it in GitHub Desktop.
Save katyhuff/703d0504734a541a10496d803bc74502 to your computer and use it in GitHub Desktop.
use_cyclus hybrid issue
cyc-user@cyclusbox:~/cyclus/hybrid$ python install.py --clean-build --prefix=../install
/usr/bin/cmake
-- The C compiler identification is GNU 5.4.0
-- The CXX compiler identification is GNU 5.4.0
-- 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
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Performing Test COMPILER_SUPPORTS_CXX11
-- Performing Test COMPILER_SUPPORTS_CXX11 - Success
CMAKE_MODULE_PATH /share/cmake-2.8/Modules;/home/cyc-user/cyclus/hybrid/cmake
-- Using /home/cyc-user/cyclus/install as CYCLUS_ROOT_DIR.
-- Dependency Cyclus (DEPS_CYCLUS):
-- Dependency Library Cyclus (DEPS_LIB_CYCLUS):
-- Dependency Share Cyclus (DEPS_SHARE_CYCLUS):
-- Dependency Include Cyclus (DEPS_INCLUDE_CYCLUS):
-- Found Cyclus Core Headers : /home/cyc-user/cyclus/install/include/cyclus
-- Found Cyclus Core Test Headers : /home/cyc-user/cyclus/install/include/cyclus
-- Found Cyclus Core Shared Data : /home/cyc-user/cyclus/install/share/cyclus
-- Found Cyclus Core Library : /home/cyc-user/cyclus/install/lib/libcyclus.so
-- Found Cyclus Test Libraries : /home/cyc-user/cyclus/install/lib/cyclus/libgtest.so/home/cyc-user/cyclus/install/lib/cyclus/libbaseagentunittests.so
--LD_LIBRARY_PATH:
-- Boost version: 1.58.0
-- Found the following Boost libraries:
-- filesystem
-- system
-- Found HDF5: /usr/lib/x86_64-linux-gnu/hdf5/serial/lib/libhdf5_hl.so;/usr/lib/x86_64-linux-gnu/hdf5/serial/lib/libhdf5.so;/usr/lib/x86_64-linux-gnu/libpthread.so;/usr/lib/x86_64-linux-gnu/libsz.so;/usr/lib/x86_64-linux-gnu/libz.so;/usr/lib/x86_64-linux-gnu/libdl.so;/usr/lib/x86_64-linux-gnu/libm.so
-- HDF5 Root:
-- HDF5 Include directory: /usr/include/hdf5/serial
-- HDF5 Library directories: /usr/lib/x86_64-linux-gnu/hdf5/serial
-- HDF5 Libraries: /usr/lib/x86_64-linux-gnu/hdf5/serial/lib/libhdf5_hl.so;/usr/lib/x86_64-linux-gnu/hdf5/serial/lib/libhdf5.so;/usr/lib/x86_64-linux-gnu/libpthread.so;/usr/lib/x86_64-linux-gnu/libsz.so;/usr/lib/x86_64-linux-gnu/libz.so;/usr/lib/x86_64-linux-gnu/libdl.so;/usr/lib/x86_64-linux-gnu/libm.so
COIN Root Dir:
-- COIN_ROOT_DIR hint is :
-- Coin multiple library dependency status:
COIN Include Dir: /usr/include/coin
COIN CBC: /usr/lib/x86_64-linux-gnu/libCbc.so
COIN CBC solver: /usr/lib/x86_64-linux-gnu/libCbcSolver.so
COIN CGL: /usr/lib/x86_64-linux-gnu/libCgl.so
COIN CLP SOLVER: COIN_CLP_SOLVER_LIBRARY-NOTFOUND
COIN CLP: /usr/lib/x86_64-linux-gnu/libClp.so
COIN UTILS: /usr/lib/x86_64-linux-gnu/libCoinUtils.so
COIN OSI: /usr/lib/x86_64-linux-gnu/libOsi.so
COIN OSI CBC: /usr/lib/x86_64-linux-gnu/libOsiCbc.so
COIN OSI CLP: /usr/lib/x86_64-linux-gnu/libOsiClp.so
COIN ZLIB: /usr/lib/x86_64-linux-gnu/libz.so
COIN BZ2: /usr/lib/x86_64-linux-gnu/libbz2.so
-- Found COIN: /usr/include/coin
-- Found COIN Include Dirs: /usr/include/coin
-- Starting construction of build files for agent: cogeneration
-- Copying /home/cyc-user/cyclus/hybrid/src/hybrid_version.h to /home/cyc-user/cyclus/hybrid/build/hybrid/hybrid_version.h.
cp: cannot stat '/home/cyc-user/cyclus/hybrid/src/hybrid_version.h': No such file or directory
dstcustomheaders: hybrid_version.h
-- Executing /home/cyc-user/cyclus/install/include/cyclus/../../bin/cycpp.py /home/cyc-user/cyclus/hybrid/src/cogeneration.cc --cpp-path=cpp -o=/home/cyc-user/cyclus/hybrid/build/hybrid/cogeneration.cc --pass3-use-orig -I=:/home/cyc-user/cyclus/install/include/cyclus:/usr/include:/usr/include/hdf5/serial:/usr/include/coin
Traceback (most recent call last):
File "/home/cyc-user/cyclus/install/include/cyclus/../../bin/cycpp.py", line 2369, in <module>
main()
File "/home/cyc-user/cyclus/install/include/cyclus/../../bin/cycpp.py", line 2353, in main
context, superclasses = accumulate_state(canon) # pass 2
File "/home/cyc-user/cyclus/install/include/cyclus/../../bin/cycpp.py", line 908, in accumulate_state
state.accumulate(statement, sep)
File "/home/cyc-user/cyclus/install/include/cyclus/../../bin/cycpp.py", line 714, in accumulate
filter.transform(statement, sep)
File "/home/cyc-user/cyclus/install/include/cyclus/../../bin/cycpp.py", line 633, in transform
annotations = self._eval()
File "/home/cyc-user/cyclus/install/include/cyclus/../../bin/cycpp.py", line 457, in _eval
annotations = eval(raw, glb, lcl)
File "<string>", line 1
{ "doc": "This facility produces multiple commodities, cogenerating multiple resources.\n" "The throughput changes based on optimization and preferences at each time step. \n"
^
SyntaxError: unexpected EOF while parsing
CMake Error at /home/cyc-user/cyclus/install/share/cyclus/cmake/UseCyclus.cmake:128 (message):
cycpp failed on '/home/cyc-user/cyclus/hybrid/src/cogeneration.cc' with
exit code '1'
Call Stack (most recent call first):
src/CMakeLists.txt:3 (USE_CYCLUS)
-- Configuring incomplete, errors occurred!
See also "/home/cyc-user/cyclus/hybrid/build/CMakeFiles/CMakeOutput.log".
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 62, in install
shell=(os.name == 'nt'))
File "/usr/lib/python3.5/subprocess.py", line 581, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['cmake', '/home/cyc-user/cyclus/hybrid', '-DCMAKE_INSTALL_PREFIX=/home/cyc-user/cyclus/install', '-DCYCLUS_ROOT_DIR=/home/cyc-user/.local']' returned non-zero exit status 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment