... | ... | @@ -31,6 +31,16 @@ $ git clone --recurse-submodules git@gitlab.oca.eu:DISC/fargOCA.git |
|
|
Cloning into 'fargOCA'...
|
|
|
...
|
|
|
Checking connectivity... done.
|
|
|
$
|
|
|
```
|
|
|
Or:
|
|
|
```
|
|
|
$ git clone git@gitlab.oca.eu:DISC/fargOCA.git
|
|
|
Cloning into 'fargOCA'...
|
|
|
...
|
|
|
Checking connectivity... done.
|
|
|
$ git submodule update --init
|
|
|
...
|
|
|
$
|
|
|
```
|
|
|
|
... | ... | @@ -129,19 +139,7 @@ Now that the makefile system generated by cmake supports parallel build: |
|
|
```
|
|
|
[alainm@pollux build]$ make -j<nb core>
|
|
|
```
|
|
|
### Performance Notes
|
|
|
|
|
|
#### valarray
|
|
|
We are using [std::valarray](https://en.cppreference.com/w/cpp/numeric/valarray), recent Intel's compilers provides [special optimizations](https://software.intel.com/en-us/cpp-compiler-developer-guide-and-reference-using-intel-s-valarray-implementation) that can significantly improve performances. So, if you're using that compiler, it is probably a good idea to add the `-use-intel-optimized-headers` in the `<build directory>/CMakeCache.txt` file:
|
|
|
```
|
|
|
[alainm@pollux ISO]$ grep header ../../../../CMakeCache.txt
|
|
|
CMAKE_CXX_FLAGS_RELEASE:STRING=-O3 -DNDEBUG -use-intel-optimized-headers
|
|
|
CMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING=-O3 -g -DNDEBUG -use-intel-optimized-headers
|
|
|
CMAKE_EXE_LINKER_FLAGS:STRING=-use-intel-optimized-headers
|
|
|
CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO:STRING=-use-intel-optimized-headers
|
|
|
[alainm@pollux ISO]$
|
|
|
|
|
|
```
|
|
|
## Testing
|
|
|
|
|
|
You need to have [Git LFS](https://docs.gitlab.com/ee/workflow/lfs/manage_large_binaries_with_git_lfs.html#using-git-lfs) enabled on your git client in order to retrieve the test data.
|
... | ... | |