-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
error thrown when building #52
Comments
I'm running into this issue as well when attempting to install exaTN (per the instructions, using openBLAS and cuda enabled). Tagging @DmitryLyakh for visibility. Could this have to do with a clang update not supporting the SyntaxHandler plugin? |
Which platform are you trying to build on, Linux or Mac? Which compiler/version? |
Ubuntu 20.04. gcc 9, also clang-12, if that's important. |
Ok, good, ExaTN only needs GNU compilers. Could you please try running the following script somewhere in an empty directory? It will install ExaTN + cuQuantum in your $HOME/build, but please feel free to modify the first three environment variables with your preferred paths. Also, I would first install the recent OpenBLAS library from github and then provide to ExaTN "-DBLAS_LIB=OPENBLAS -DBLAS_PATH=<path_to_where_libopenblas.so_lives>" instead of the ATLAS option. But for now you can just try your existing BLAS. Note that the ExaTN build below assumes you have CUDA installed on your machine. It also sets GPU compute capability to 86 (recent Amperes), so if it is different, please modify accordingly.
|
I'm trying to build without cuQuantum for now and am also using OpenBLAS. This is my build command and the output error I'm getting now: In file included from /home/ubuntu/exatn/tpls/boost-cmake/boost/boost_1_64_0/libs/regex/src/c_regex_traits.cpp:22: I have boost installed locally + also tried uninstalling and reinstalling |
ExaTN only depends on BLAS and CUDA, the rest should go through its submodules and there should be no need to install/modify anything else. Would you mind creating an empty directory and running the below script from there, and then pasting the output here? It works on my Ubuntu 20.04 (we want to make sure all submodules get pulled and updated before the build).
|
One more thing, please check your CMAKE version. It should be at least 3.16 or higher. I believe the latest one is 3.24. |
Output from make install: I have cmake version 3.24 |
Hmm..., I do not see any output from git cloning, git submodule updating, cmake configuring, and most of making :) Would it be possible to paste the whole thing? I mean including the following in a bash script and running as a whole:
|
Yes, I think so. The syntax handler in ExaTN requires a custom build of Clang. |
Ha, thanks, that makes sense. I do not have Clang installed on my Ubuntu, so everything works fine :) Then, indeed, unless you are interested specifically in the ExaTN TAProL syntax handler (probably not), you can just comment out this CMAKE line: exatn/src/parser/CMakeLists.txt Line 36 in cf85a61
|
Hi dear authors, when I tried to build the project, an error occurs at the final stage.
My build instructions: CC=gcc CXX=g++ FC=gfortran cmake .. -DCMAKE_BUILD_TYPE=Release -DEXATN_BUILD_TESTS=TRUE -DBLAS_LIB=ATLAS -DBLAS_PATH=/usr/lib/x86_64-linux-gnu/blas
The error information:
It seems that just editing
taprol_syntax_handler.cpp
file can save this problem, but I couldn't find how to fix it.Thank you so much.
The text was updated successfully, but these errors were encountered: