forked from camierjs/nabla
-
Notifications
You must be signed in to change notification settings - Fork 0
/
INSTALL
24 lines (21 loc) · 1.13 KB
/
INSTALL
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
To compile NABLA you will simply need:
- a C & C++ compiler (at least 4.9.2 is a good start)
- bison, the parser generator
- flex, the lexical analyser generator
- cmake, the Cross-Platform Makefile Generator
- a nvcc compiler glibc-compatible with the above compiler
The standard steps for installation are:
1. Make sure you have a C/C++ compiler
2. Make sure you have cmake (at least 2.8) on your system
3. Look at the top Makefile and patch the paths (compiler and cmake)
4. Look at the top cmake/CMakeTPL.txt and patch the paths ((Arcane) and Trilinos)
5. Launch 'make' in here
6. Test the distribution by typing 'make test'
7. You can rerun make clean/config/install to clean/configure/install as you wish
8. Run 'make install' to try to push the nabla binary to /usr/local/bin
9. To try it by yourself, go for example to:
'your_build_path'/tests/lulesh/okina/1/run/avx2/omp,
and launch: PARALLEL=omp SIMD=avx2 make -kB run1
10. You can switch mesh size within the Makefile.okina file
For troubleshooting of some common installation problems, mail me
at Jean-Sylvain.Camier@cea.fr