|
Antares Xpansion
Investment simulations for Antares studies
|
CPack can be used to create the installer after the build phase :
=== "Windows" cd _build cpack -G ZIP === "Centos"
### RHEL .rpm (Experimental)
```
cd _build
cpack3 -G RPM .
```
!!! Note
`rpm-build` must be installed for RPM creation: `sudo yum install rpm-build`
### Linux .tar.gz
```
cd _build
cpack3 -G TGZ
```
### Required system libraries
There are still some system libraries that must be installed if you want to use Antares-Xpansion:
```
sudo yum install epel-release
sudo yum install openmpi jsoncpp boost-openmpi
```
Before launching Antares-Xpansion with `mpi` for parallel launch (method `mpibenders`), you must load the `mpi` module :
```
scl enable devtoolset-7 bash
module load mpi
```
!!! Note
`mpirun` can't be used as root on Centos7. Be sure to launch Antares-Xpansion without root user.
=== "Ubuntu"
### Ubuntu .deb (Experimental) ``` cd _build cpack -G DEB . ``` ### Linux .tar.gz ``` cd _build cpack -G TGZ ``` ### Required system libraries There are still some system libraries that must be installed if you want to use Antares-Xpansion: ``` sudo apt-get install libcurl4 libjsoncpp1 libboost-mpi-dev libboost-program-options-dev ```