Open MustafaFayez opened 1 year ago
The barvinok
package is a new additional dependency for the master
branch. I recommend switching to v3.0.x
unless you specifically need the new polyhedral analysis codebase in master
.
Thanks! How do I setup the barvinok package? is v4 not reliable currently?
https://barvinok.sourceforge.io/. You can also check if your distro has a package.
master
is under active development, but as of this date we believe it's as stable as v3.x.
I still see this error after installing barvinok
include/isl-wrapper/ctx-manager.hpp:4:10: fatal error: isl/cpp.h: No such file or directory
4 | #include <isl/cpp.h>
| ^~~~~~~~~~~
compilation terminated.
scons: *** [build/isl-wrapper/ctx-manager.os] Error 1
In file included from src/isl-wrapper/isl-functions.cpp:6:
include/isl-wrapper/ctx-manager.hpp:4:10: fatal error: isl/cpp.h: No such file or directory
4 | #include <isl/cpp.h>
| ^~~~~~~~~~~
compilation terminated.
In file included from include/loop-analysis/isl-analysis/isl-nest-analysis.hpp:3,
from src/loop-analysis/isl-analysis/isl-nest-analysis.cpp:1:
include/loop-analysis/isl-ir.hpp:37:10: fatal error: isl/cpp.h: No such file or directory
37 | #include <isl/cpp.h>
I couldn't find this file cpp.h where isl was installed.
my bad, I wasn't installing barvinok properly, I re-installed correctly and I could install timeloop successfully now.
Hi @MustafaFayez , I met the same problem as you and somehow I cannot install barvinok successfully. It always fails when I run sh autogen.sh
, which is the first command line for installing barvinok. Can you may give me some help on how you managed to install it? Thanks.
Hi @MustafaFayez and @angshuman-parashar , facing the same issue here. Could you please walk-through on exactly how you installed barvinok? Every time I run the ./configure command it errors out with configure: error: ntl not compiled with gmp support
@Yukiona1996 You may have to build and install ntl
locally and enable gmp
support when you are configuring the ntl
build.
I am facing the same issue as @MustafaFayez
scons: Reading SConscript files ... Using dynamic linking. scons: done reading SConscript files. scons: Building targets ... g++ -o build/unit-tests/compound-config/test-compound-config.o -c -g -O3 -flto -Werror -Wall -Wextra -std=c++17 -pthread -fmax-errors=1 -DBUILD_BASE_DIR=\"/home/ubuntu/timeloop-accelergy/timeloop-dev/timeloop\" -DUSE_ACCELERGY -Iinclude src/unit-tests/compound-config/test-compound-config.cpp g++ -o build/isl-wrapper/ctx-manager.os -c -g -O3 -flto -Werror -Wall -Wextra -std=c++17 -pthread -fmax-errors=1 -fPIC -DBUILD_BASE_DIR=\"/home/ubuntu/timeloop-accelergy/timeloop-dev/timeloop\" -DUSE_ACCELERGY -Iinclude src/isl-wrapper/ctx-manager.cpp g++ -o build/isl-wrapper/isl-functions.os -c -g -O3 -flto -Werror -Wall -Wextra -std=c++17 -pthread -fmax-errors=1 -fPIC -DBUILD_BASE_DIR=\"/home/ubuntu/timeloop-accelergy/timeloop-dev/timeloop\" -DUSE_ACCELERGY -Iinclude src/isl-wrapper/isl-functions.cpp g++ -o build/loop-analysis/aahr-carve.os -c -g -O3 -flto -Werror -Wall -Wextra -std=c++17 -pthread -fmax-errors=1 -fPIC -DBUILD_BASE_DIR=\"/home/ubuntu/timeloop-accelergy/timeloop-dev/timeloop\" -DUSE_ACCELERGY -Iinclude src/loop-analysis/aahr-carve.cpp In file included from src/isl-wrapper/ctx-manager.cpp:1: include/isl-wrapper/ctx-manager.hpp:4:10: fatal error: isl/cpp.h: No such file or directory 4 | #include <isl/cpp.h> | ^~~~~~~~~~~ compilation terminated. scons: *** [build/isl-wrapper/ctx-manager.os] Error 1 In file included from src/isl-wrapper/isl-functions.cpp:6: include/isl-wrapper/ctx-manager.hpp:4:10: fatal error: isl/cpp.h: No such file or directory 4 | #include <isl/cpp.h> | ^~~~~~~~~~~ compilation terminated. scons: *** [build/isl-wrapper/isl-functions.os] Error 1 scons: building terminated because of errors.
Could you point to the barvinok install instructions that you followed?
Hi, I tried installing timeloop just now, and I see the following errors
scons: Reading SConscript files ... Using dynamic linking. scons: done reading SConscript files. scons: Building targets ... g++ -o build/isl-wrapper/ctx-manager.os -c -g -O3 -flto -Werror -Wall -Wextra -std=c++17 -pthread -fmax-errors=1 -fPIC -DBUILD_BASE_DIR=\"/home/mustafa/timeloop-accelergy/accelergy-timeloop-infrastructure/src/timeloop\" -DUSE_ACCELERGY -Iinclude src/isl-wrapper/ctx-manager.cpp g++ -o build/isl-wrapper/isl-functions.os -c -g -O3 -flto -Werror -Wall -Wextra -std=c++17 -pthread -fmax-errors=1 -fPIC -DBUILD_BASE_DIR=\"/home/mustafa/timeloop-accelergy/accelergy-timeloop-infrastructure/src/timeloop\" -DUSE_ACCELERGY -Iinclude src/isl-wrapper/isl-functions.cpp g++ -o build/loop-analysis/isl-analysis/isl-nest-analysis.os -c -g -O3 -flto -Werror -Wall -Wextra -std=c++17 -pthread -fmax-errors=1 -fPIC -DBUILD_BASE_DIR=\"/home/mustafa/timeloop-accelergy/accelergy-timeloop-infrastructure/src/timeloop\" -DUSE_ACCELERGY -Iinclude src/loop-analysis/isl-analysis/isl-nest-analysis.cpp g++ -o build/loop-analysis/isl-analysis/isl-to-legacy-adaptor.os -c -g -O3 -flto -Werror -Wall -Wextra -std=c++17 -pthread -fmax-errors=1 -fPIC -DBUILD_BASE_DIR=\"/home/mustafa/timeloop-accelergy/accelergy-timeloop-infrastructure/src/timeloop\" -DUSE_ACCELERGY -Iinclude src/loop-analysis/isl-analysis/isl-to-legacy-adaptor.cpp In file included from src/isl-wrapper/ctx-manager.cpp:1: include/isl-wrapper/ctx-manager.hpp:4:10: fatal error: isl/cpp.h: No such file or directory 4 | #include <isl/cpp.h> | ^~~~~~~~~~~ compilation terminated. scons: *** [build/isl-wrapper/ctx-manager.os] Error 1 src/isl-wrapper/isl-functions.cpp:3:10: fatal error: barvinok/isl.h: No such file or directory 3 | #include "barvinok/isl.h" | ^~~~~~~~~~~~~~~~ compilation terminated. scons: *** [build/isl-wrapper/isl-functions.os] Error 1 In file included from include/loop-analysis/isl-analysis/isl-nest-analysis.hpp:3, from src/loop-analysis/isl-analysis/isl-nest-analysis.cpp:1: include/loop-analysis/isl-ir.hpp:37:10: fatal error: isl/cpp.h: No such file or directory 37 | #include <isl/cpp.h> | ^~~~~~~~~~~ compilation terminated. scons: *** [build/loop-analysis/isl-analysis/isl-nest-analysis.os] Error 1 In file included from include/loop-analysis/isl-analysis/isl-nest-analysis.hpp:3, from include/loop-analysis/isl-analysis/isl-to-legacy-adaptor.hpp:5, from src/loop-analysis/isl-analysis/isl-to-legacy-adaptor.cpp:1: include/loop-analysis/isl-ir.hpp:37:10: fatal error: isl/cpp.h: No such file or directory 37 | #include <isl/cpp.h> | ^~~~~~~~~~~ compilation terminated. scons: *** [build/loop-analysis/isl-analysis/isl-to-legacy-adaptor.os] Error 1 scons: building terminated because of errors.
What am I missing? BTW I am on the master branch.