#!/bin/bash
module purge

if [ "$HOSTNAME" = "bsceshub02.bsc.es" ] || [ "$HOSTNAME" = "bscesoper01.bsc.es" ]; then

    #module use /gpfs/projects/bsc32/software/suselinux/11/modules/alls
    module load requests/2.28.1-foss-2021b-Python-3.9.6
    module load beautifulsoup4/4.11.1-foss-2021b-Python-3.9.6
    module load openpyxl/3.1.2-foss-2021b-Python-3.9.6 # open xlsx files
    module load Arrow/8.0.0-foss-2021b-Python-3.9.6 # open parquet files
    module load lxml/4.9.1-foss-2021b-Python-3.9.6
    module load selenium/4.18.1-foss-2021b-Python-3.9.6
    module load chromedriver-py/107.0.5304.62-foss-2021b-Python-3.9.6
    module load pandas/1.5.3-foss-2021b-Python-3.9.6
    module load typing-extensions/4.9.0-GCCcore-11.2.0
    module load pyodbc/5.1.0-foss-2021b-Python-3.9.6
    module load numpy/1.23.3-foss-2021b-Python-3.9.6


#elif [ $BSC_MACHINE == "mn4" ]; then
#    module load bsc/1.0 gcc/5.4.0 intel/2017.4 impi/2017.4 mkl/2017.4 python/3.7.4_ES udunits/2.2.25 hdf5/1.10.5_serial netcdf/4.4.1.1_serial geos/3.6.1 proj/4.9.3 gdal/2.2.3_py3 gsl/2.4 greasy/latest nco/4.6.7

    fi