|
|
[[_TOC_]]
|
|
|
## Development cycle
|
|
|
|
|
|
### Different types of builds
|
|
|
## Different types of builds
|
|
|
|
|
|
Look [here](Building) for basic build instruction
|
|
|
|
... | ... | @@ -12,18 +11,14 @@ CMake will generate a *CMakeCache.txt* file in the build directory that contains |
|
|
* **-D_GLIBCXX_DEBUG** with will enable a lot of runtime checks into the support library, including systematic bound checking for the C++ STL containers.
|
|
|
* **-fp-trap-all=common** with will activate floating point checking, including division by zero. Can
|
|
|
|
|
|
### Trick and Tips
|
|
|
|
|
|
The `tools/dev` directory contains a set of scripts used to help development
|
|
|
* `tools/dev/makeTags.sh`: build a [TAGS table for emacs](https://www.emacswiki.org/emacs/EmacsTags).
|
|
|
|
|
|
#### Fast testing on SLURM based platforms
|
|
|
## Fast testing on SLURM based platforms
|
|
|
|
|
|
Running the regression tests (in particular integration tests) can be quite long, scripts have been developed to integrate that process with SLURM, the main one is `tools/dev/slurmTest.sh`. These scripts can not be used directly on a news SLURM based cluster and need to be adapted to the local queue configuration and permission. So far they have been adapted to
|
|
|
* [licallo](https://crimson.oca.eu) with the wrapper `tools/dev/licTest.sh`
|
|
|
* [occigen](https://www.cines.fr/calcul/materiels/occigen/) with the wrapper `tools/dev/occTest.sh`
|
|
|
* [Jean Zay](http://www.idris.fr/annonces/annonce-jean-zay.html) with the wrapper `tools/dev/jzayTest.sh`
|
|
|
##### Building and running the tests in one command. We assume there is already a build directory configured:
|
|
|
|
|
|
### Building and running the tests in one command. We assume there is already a build directory configured:
|
|
|
|
|
|
```
|
|
|
$ cd <blddir>
|
... | ... | @@ -44,3 +39,8 @@ At any time during the test, you can interrupt the display (with Control-C) and |
|
|
$ ./tools/dev/licTrackTest.sh
|
|
|
...
|
|
|
```
|
|
|
|
|
|
## Trick and Tips
|
|
|
|
|
|
The `tools/dev` directory contains a set of scripts used to help development
|
|
|
* `tools/dev/makeTags.sh`: build a [TAGS table for emacs](https://www.emacswiki.org/emacs/EmacsTags). |