Compiling Rosetta w/ Tensorflow - SmartFixbbSimAnnealer error #106
-
Hi all, I'm currently trying to compile Rosetta (release 340, 2023.6) with tensorflow enabled as per the guidelines here. However, I get an error during compilation that I'll also try a more recent release to see if this was addressed at some point, but I would like to stay with the same release if possible to maintain continuity with previous runs. Any help would be greatly appreciated SCons setup: |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
It may be an issue with transitive includes in the standard library -- that is, for other compilers and other conditions std::array gets brought in from the existing includes, but for the compiler you're using that's not the case and we would need to be more explicit. Try adding the line |
Beta Was this translation helpful? Give feedback.
It may be an issue with transitive includes in the standard library -- that is, for other compilers and other conditions std::array gets brought in from the existing includes, but for the compiler you're using that's not the case and we would need to be more explicit.
Try adding the line
#include <array>
to the top ofsrc/core/pack/annealer/SmartFixbbSimAnnealer.cc
-- around line 44, right after the#include <unordered_map>
line would likely work.