Changes
Page history
mozul created page: release_notes
authored
Dec 19, 2016
by
Rémy Mozul
Hide whitespace changes
Inline
Side-by-side
faq.markdown
View page @
571ed010
...
...
@@ -31,3 +31,18 @@ or that you add the path inside your command script with the two lines:
import
sys
sys
.
path
.
append
(
"
my_build_path
"
)
```
###### How to use multi-threaded version ####
First the code must be re-compiled (unavailable on Windows). Go to your build directory
(if you followed the instruction of the wiki it should be
*lmgc90_user/build*
), then type the
following command in your terminal:
```
shell
cmake
.
-DWITH_OPENMP
=
True
```
Finally before running a computation, you must set two environment variables which are:
```
shell
export
OMP_SCHEDULE
=
STATIC
export
OMP_NUM_THREADS
=
n
```
where
**n**
is the number of threads you want to use (usually no more than the number of core available).
\ No newline at end of file