Skip to content

HydrologicEngineeringCenter/hec-dss

Repository files navigation

This is the HEC-DSS library source tree. DSS is a database optimized for timeseries data.

Documentation: https://www.hec.usace.army.mil/software/hec-dss/documentation.aspx

Windows Dependencies

heclib.dll libifcoremdd.dll libifportMD.dll libmmdd.dll KERNEL32.dll VCRUNTIME140D.dll ucrtbased.dll

RedHat/RockyLinux -- Install Build Dependencies

yum install -y
git
gcc
gcc-gfortran
make
zlib-devel
java-devel
gcc-c++

export JAVA_HOME=/etc/alternatives/java_sdk_11_openjdk

Ubuntu -- Install Build Dependencies

sudo apt-get install build-essential
sudo apt-get install gfortran
sudo apt-get install zlib1g-dev
apt-get install default-jdk

It has been reported the Centos binaries worked in ubunto,after installing the following:

zlib, math, quadmath, and gfortran for pydsstools to work in Ubuntu.

To build and test heclib

Linux

git clone https://github.com/HydrologicEngineeringCenter/hec-dss.git
cd hec-dss
rm -fr ./dss-test-data
git clone https://github.com/HydrologicEngineeringCenter/dss-test-data.git
In the hec-dss/heclib directory, execute make clean ; make
In the hec-dss/test/C directory, execute ./unix_test
In the hec-dss/test/Dss-C directory, execute make clean ; make test
In the hec-dss/test/Fortran directory, execute make clean ; make test

Solaris sparc sun4v

developerstudio12.6 #pkg contents system/library/fortran-runtime export PATH=$PATH:/opt/developerstudio12.6/bin:/usr/gcc/7/bin export JAVA_HOME=/usr/jdk/instances/jdk1.8.0 export LD_LIBRARY_PATH=/usr/gcc/7/lib/sparcv9

1.  bash
2.	git clone -j2 --recurse-submodules https://github.com/HydrologicEngineeringCenter/hec-dss.git
3.	In the hec-dss/heclib directory, execute gmake clean ; gmake
4.	In the hec-dss/test/C directory, execute ./unix_test
5.	In the hec-dss/test/Dss-C directory, execute gmake clean ; gmake test
6.	In the hec-dss/test/Fortran directory, execute gmake -f Makefile.Solaris clean ; gmake -f Makefile.Solaris test

Windows

build_release.bat 

running the java tests

TO DO

User Interface

The primary user interface for DSS files is HEC-DSSVue. https://www.hec.usace.army.mil/confluence/dssdocs/dssvueum/