Closed jbae11 closed 7 years ago
I'll look into this today.
Can you use https://github.com/flanflanagan/Bright-lite, the 0.9 branch?
Thanks for the reply? I get the same error using the 0.9 branch.
Maybe it could be something wrong with my computer? But my installed cyclus path
does not have hdf5.h
but only has hdf5_back.h
You aren't getting this issue with Cycamore right?
Actually, it seems like there is something wrong with my HDF5 and lapack.. let me try it in my laptop and get back to you?
Hi all, I think that this is because bright never updated the CMake build system to fix a lot of the issues that have been worked through on cyclus and cycamore. I doubt it is (only) your installation @jbae11
That is my impression as well. I should get to this soon
Yeah, I got the same error with my laptop. Thanks!
Also, can we merge the 0.9 branch into master?
Also note, after fixing the hdf5 issue on my imps branch - which is based off of 0.9 (which I am trying to push up, but the plane internet is slow), I still get the following error:
Scanning dependencies of target brightlite
[ 5%] Building CXX object src/CMakeFiles/brightlite.dir/burnupcalc.cpp.o
[ 10%] Building CXX object src/CMakeFiles/brightlite.dir/origenBuilder.cpp.o
/home/scopatz/bright-lite/src/origenBuilder.cpp: In function ‘std::vector<nonActinide> NonActinideReader(std::string)’:
/home/scopatz/bright-lite/src/origenBuilder.cpp:236:36: error: expected primary-expression before ‘.’ token
na_iso.sn2n = sn2n;.uin
^
/home/scopatz/bright-lite/src/origenBuilder.cpp:237:17: error: expected ‘;’ before ‘na_iso’
na_iso.snp = snp;
^
make[2]: *** [src/CMakeFiles/brightlite.dir/build.make:87: src/CMakeFiles/brightlite.dir/origenBuilder.cpp.o] Error 1
make[2]: *** Waiting for un
Okay, I'll fix this.
I merged in the build system improvements. @jbae11 could you try and install again.
I'm getting a libxml2 error
I'm getting a libxml2 error
Try https://github.com/FlanFlanagan/Bright-lite/pull/37 please
You should be able to install off the 0.9 branch now @jbae11 and @scopatz
is it working on your machines?
I was able to build it by deleting HL
in line 151 of CMakelists.txt
(I have no idea what I'm doing, but it built...)
but I can't seem to run it correctly.
The build and error messages are here
Hi @jbae11 - If it built without HL, that probably means that you don't have the high-level libraries installed (or maybe not the high-level-dev package) on your machine.
that's what I thought... but when I add the HL it errors:
-- Found BLAS Libraries: /usr/lib/libblas.so
CMake Error at /home/dkadkf/.local/share/cyclus/cmake/FindHDF5.cmake:170 (message):
"HL" is not a valid HDF5 component.
Call Stack (most recent call first):
CMakeLists.txt:151 (FIND_PACKAGE)
-- Configuring incomplete, errors occurred!
See also "/home/dkadkf/github/Bright-lite/build/CMakeFiles/CMakeOutput.log".
See also "/home/dkadkf/github/Bright-lite/build/CMakeFiles/CMakeError.log".
Makefile:236: recipe for target 'cmake_check_build_system' failed
make: *** [cmake_check_build_system] Error 1
Traceback (most recent call last):
File "install.py", line 214, in <module>
main()
File "install.py", line 211, in main
install_cyclus(args)
File "install.py", line 107, in install_cyclus
shell=(os.name == 'nt'))
File "/home/dkadkf/anaconda3/lib/python3.6/subprocess.py", line 291, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['make']' returned non-zero exit status 2.
What version of CMake do you have? You should be seeing the same error here as for cyclus...
Are you doing a fully clean build?
yeah that's weird that it didn't show up for cyclus. I may have messed up my cmake configuration while building SCALE. Let me do a clean build of everything and i'll let you know.
got it to work on a fresh build! Thanks yall
Hello, @FlanFlanagan hopefully I found the right version of Bright-lite to try to build.
I am trying to build bright-lite, and it seems like it can't find the hdf5.h..
I guess this is more a question than an issue, but can you help me out? thanks,