Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
install_actflow [2024/07/11 15:04] – rajit | install_actflow [2025/04/17 10:32] (current) – [Installing actflow] rajit | ||
---|---|---|---|
Line 2: | Line 2: | ||
Primary development of the tools in the actflow repository is conducted on Linux and MacOS, and so it has been extensively tested on such systems. It has also been tested in certain [[install# | Primary development of the tools in the actflow repository is conducted on Linux and MacOS, and so it has been extensively tested on such systems. It has also been tested in certain [[install# | ||
+ | |||
+ | If you are a Homebrew user, check out the [[https:// | ||
+ | |||
+ | |||
+ | ===== Getting the source | ||
+ | |||
The repository is available from [[https:// | The repository is available from [[https:// | ||
Line 17: | Line 23: | ||
* For '' | * For '' | ||
* Some systems have both packages. In that case please use '' | * Some systems have both packages. In that case please use '' | ||
- | * The system | + | * The system |
- | * The system | + | * The system |
- | * The system | + | * The system |
- | * The system | + | * The system |
- | * The system | + | * The system |
- | * The system | + | * The system |
- | **MacOS:** These packages can be installed using the [[https:// | + | **MacOS:** These packages can be installed using the [[https:// |
==== Build instructions ==== | ==== Build instructions ==== | ||
Line 45: | Line 51: | ||
- | ==== Troubleshooting ==== | + | |
+ | ===== Microsoft Windows ===== | ||
+ | |||
+ | Recent versions of Windows include compatibility layers for Unix, and ACT has been successfully tested in such an environment. | ||
+ | |||
+ | [[windows_build|Some instructions for running ACT tools on Microsoft Windows]] | ||
+ | |||
+ | |||
+ | |||
+ | ===== Troubleshooting | ||
If you have trouble building on your specific operating system have a peek in the continuous integration scripts of the git repository if your operating system is covered there and you can try the commands specified: | If you have trouble building on your specific operating system have a peek in the continuous integration scripts of the git repository if your operating system is covered there and you can try the commands specified: | ||
Line 51: | Line 66: | ||
https:// | https:// | ||
- | for '' | + | for '' |
+ | < | ||
+ | $ apt-get -q update -y | ||
+ | $ apt-get -q install -y libedit-dev zlib1g-dev m4 build-essential cmake libfmt-dev git libboost-all-dev libopenmpi-dev llvm flex bison | ||
+ | $ git clone https:// | ||
+ | $ cd actflow | ||
+ | $ git submodule update --init --recursive | ||
+ | $ mkdir / | ||
+ | $ export ACT_HOME=/ | ||
+ | $ ./build && ./run.sh | ||
+ | </ | ||
- | for '' | + | Replace |
- | **MacOS:** Recent versions of MacOS have a C++ compiler issue, namely that the default compiler distributed by Apple does not support the " | + | For Alpine Linux look at the alpine section |
- | ===== Microsoft Windows ===== | + | **MacOS:** Recent versions of MacOS have a C++ compiler issue, namely that the default compiler distributed by Apple does not support the " |
- | Recent versions of Windows include compatibility layers for Unix, and ACT has been successfully tested in such an environment. | + | === OpenMP message === |
- | [[windows_build|Some instructions for running ACT tools on Microsoft Windows]] | + | You may see the following message: |
+ | < | ||
+ | Could not find a C++ compiler that supports -fopenmp | ||
+ | Please set environment variable CXX to a C++ compiler that does. | ||
+ | Note: modern LLVM and GNU compilers support this option; if you | ||
+ | are on a Mac, installing LLVM using homebrew (brew install llvm) | ||
+ | and setting CXX to be the path to the resulting clang++ should work. | ||
+ | </ | ||
+ | This means that the build script could not find a C++ compiler that could successfully compile the following program: | ||
+ | < | ||
+ | #include < | ||
- | ===== Synopsys linkages ===== | + | int main (void) |
+ | { | ||
+ | return 0; | ||
+ | } | ||
+ | </ | ||
+ | A modern install of g++ or clang++ can compile this program when given the '' | ||
+ | |||
+ | === Filesystem message | ||
+ | |||
+ | You may see the following message: | ||
+ | |||
+ | < | ||
+ | C++ compiler does not directly support std:: | ||
+ | Please set environment variable CXX to a C++ compiler that does. | ||
+ | </ | ||
+ | |||
+ | This means that your C++ compiler could not compile and link the following program: | ||
+ | |||
+ | < | ||
+ | #include < | ||
+ | |||
+ | int main (void) | ||
+ | { | ||
+ | std:: | ||
+ | return 0; | ||
+ | } | ||
+ | </ | ||
- | Some of the library functionality can be linked into Synopsys | + | Tie build script tries to compile this with and without |