# easybuild

EasyBuild is a software build and installation framework that allows you to manage software in an efficient way: (http://easybuild.readthedocs.io/en/latest/Introduction.html). This repo provides additional easyconfigs for ELIC ecosystem

## Install

```bash
rmdir /opt/easybuild/configs
git clone git@gogs.static:pbarriat/easyconfigs.git /opt/easybuild/configs
```

## Requirements

* openSUSE : 

```bash
gcc-c++ patch libopenssl-devel gperf gmp-devel isl-devel
```

* CentOS : 

```bash 
openssl-devel libibverbs-devel liberation-fonts autoconf automake binutils bison flex gcc gcc-c++ gettext
libtool make patch pkgconfig bzip2 unzip jq-devel v8-devel postgresql-devel tcsh check-devel unixODBC*
```

* ubuntu : 

```bash
gcc g++ gfortran libibverbs-dev pkg-config check csh
```

## Getting started

Check if you have the lastest easybuild version:

```bash
module load easybuild
pip install easybuild --upgrade --install-option "--prefix=/opt/easybuild/app"
```

Then call `screen` and start install stuffs...

## Python2 packages

Fix `/opt/modules/all/GEOS/VERSION.lua` by adding `setenv("GEOS_DIR", root)`

```bash
pip install --upgrade pip

pip install cffi geos netcdf4 cdo geoval cartopy iris matplotlib ipython pyproj scikit-image pillow pandas xarray joblib six gdal shapely rasterio geopandas pytest boto3 salem motionless progressbar2 fiona geopandas configobj https://github.com/matplotlib/basemap/archive/v1.2.0rel.tar.gz

pip install spyder python_qt_binding python-qt Qt.py ecmwf-api-client pybufr-ecmwf PySide
```

## Python3 packages

Fix `/opt/modules/all/GEOS/VERSION.lua` by adding `setenv("GEOS_DIR", root)`

```bash
pip install --upgrade pip

pip install cffi geos netcdf4 cdo geoval cartopy matplotlib ipython pyproj scikit-image pillow pandas xarray joblib six gdal shapely rasterio geopandas pytest boto3 salem motionless progressbar2 fiona geopandas configobj https://github.com/matplotlib/basemap/archive/v1.2.0rel.tar.gz

pip install spyder python_qt_binding python-qt Qt.py ecmwf-api-client pybufr-ecmwf 
```

## R packages

```bash
module purge
module load R
cd /opt/easybuild/easyconfigs/utils
Rscript ipak.R
```

## Matlab 2013a

```bash
rsync -av 10.90.90.50:/opt/software/MATLAB/2013a /opt/software/MATLAB
scp 10.90.90.50:/opt/modules/all/MATLAB/2013a.lua /opt/modules/all/MATLAB
```

## Intel oneAPI

https://www.intel.com/content/www/us/en/develop/documentation/get-started-with-intel-oneapi-render-linux/top/configure-your-system.html

https://en.opensuse.org/SDB:Install_oneAPI