... | @@ -90,74 +90,47 @@ refer to those script help (`-h`) option for more details. |
... | @@ -90,74 +90,47 @@ refer to those script help (`-h`) option for more details. |
|
## Build
|
|
## Build
|
|
As usual
|
|
As usual
|
|
|
|
|
|
# Ada (Idris)
|
|
# Jean Zay (Idris)
|
|
|
|
|
|
## Environment
|
|
## Environment
|
|
|
|
|
|
The following environment has been tested
|
|
On October 2019, the code can build with the following environment:
|
|
|
|
|
|
```
|
|
```
|
|
[roth005@ada338: bld2]$ more ~/.modules
|
|
module load intel-all/19.0.5
|
|
module purge
|
|
module load intel-compilers/19.0.5
|
|
module load intel/2018.2
|
|
module load intel-tbb/19.0.5
|
|
module load boost/1.67.0
|
|
module load intel-vtune/19.0.5
|
|
module load hdf5/seq/1.8.14
|
|
module load intel-itac/19.0.5
|
|
# for some reasons, hdf5 want to link static, we need shared (run path is embedded, so LD_LIBRARY_PATH does not need updating)
|
|
module load intel-mkl/19.0.5
|
|
export WRAPPER_LDFLAGS="$(h5c++ -show -shlib | sed -e 's/.*-D\w\+//')"
|
|
module load intel-advisor/19.0.5
|
|
module load python/3.6.1
|
|
module load boost/1.70.0/intel-19.0.4-mpi
|
|
module load gcc/4.9.4 # only loaded for cmake, which could have been linked static
|
|
module load intel-mpi/19.0.5
|
|
module load cmake/3.7.2
|
|
module load hdf5/1.8.21/intel-19.0.4
|
|
[roth005@ada338: bld2]$ source ~/.modules
|
|
module load cmake/3.14.4/gcc-4.8.5 git-lfs git
|
|
(remove) cmake version 3.7.2
|
|
module load python
|
|
(remove) gcc version 4.9.4
|
|
|
|
(remove) python version 3.6.1
|
|
export CC=icc
|
|
(remove) hdf5 seq 1.8.14
|
|
export CXX=icpc
|
|
(remove) boost version 1.67.0
|
|
ippldpath=$(which icc | sed -e 's/bin\/intel64\/icc$/ipp\/lib\/intel64_lin\/threaded/')
|
|
(remove) Intel(R) Parallel Studio XE 2018 Update 2 Cluster Edition for Linux*
|
|
if ! echo $LD_LIBRARY_PATH | grep -q "$ippldpath"
|
|
(load) Intel(R) Parallel Studio XE 2018 Update 2 Cluster Edition for Linux*
|
|
then
|
|
...blah blah blah....
|
|
export export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ippldpath
|
|
(load) boost version 1.67.0
|
|
fi
|
|
(load) hdf5 seq 1.8.14
|
|
|
|
(load) python version 3.6.1
|
|
|
|
(load) gcc version 4.9.4
|
|
|
|
(load) cmake version 3.7.2
|
|
|
|
[roth005@ada338: bld2]$
|
|
|
|
```
|
|
```
|
|
|
|
|
|
## Configuration
|
|
Note that we need to explicitly update the **LD_LIBRARY_PATH** so that the binaries can find the `ipp` support (needed in release mode).
|
|
MPI detect does not work that well, so wee need to provide the MPI wrapper as compilers:
|
|
Support is working on that.
|
|
```
|
|
|
|
[roth005@ada338: bld2]$ cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER=mpiicc -DCMAKE_CXX_COMPILER=mpiicpc ../
|
|
|
|
-- The CXX compiler identification is Intel 18.0.2.20180210
|
|
|
|
-- Check for working CXX compiler: /smplocal/pub/Modules/IDRIS/wrappers/mpiicpc
|
|
|
|
-- Check for working CXX compiler: /smplocal/pub/Modules/IDRIS/wrappers/mpiicpc -- works
|
|
|
|
...blah blah blah....
|
|
|
|
-- Boost version: 1.67.0
|
|
|
|
-- Found the following Boost libraries:
|
|
|
|
-- mpi
|
|
|
|
-- program_options
|
|
|
|
-- chrono
|
|
|
|
-- filesystem
|
|
|
|
-- system
|
|
|
|
-- Configuring done
|
|
|
|
-- Generating done
|
|
|
|
-- Build files have been written to: /workgpfs/rech/oth/roth005/fargOCA/bld2
|
|
|
|
[roth005@ada338: bld2]$
|
|
|
|
```
|
|
|
|
### Build
|
|
|
|
|
|
|
|
As usual
|
|
## Build
|
|
|
|
|
|
## Test:
|
|
Nothing special:
|
|
We test the unit tests and integration tests (with 4 MPI process) with:
|
|
|
|
```
|
|
```
|
|
<builddir>$./tools/dev/adaTest.sh
|
|
$ cmake <srcpath>
|
|
|
|
....
|
|
|
|
$ make
|
|
```
|
|
```
|
|
|
|
|
|
You can interupt the tracking phase and relaunch it wth:
|
|
|
|
```
|
|
|
|
<builddir>$./tools/dev/adaTrackTest.sh
|
|
|
|
```
|
|
|
|
# Aurora (Lund)
|
|
# Aurora (Lund)
|
|
|
|
|
|
## Environment
|
|
## Environment
|
... | | ... | |