Sign inSign up

lucasaugustomcc/pihm

By lucasaugustomcc

•Updated over 8 years ago

The Penn State Integrated Hydrologic Model (PIHM) is a multiprocess, multi-scale hydrologic model.

Image
1

454

lucasaugustomcc/pihm repository overview

The Penn State Integrated Hydrologic Model (PIHM) is a multiprocess, multi-scale hydrologic model where the major hydrological processes are fully coupled using the semi-discrete finite volume method. Website: http://www.pihm.psu.edu/⁠

Version: v2.2 Solver: Sundials v2.2.0

Test data set: http://www.pihm.psu.edu/PIHM_v2.2.tar⁠

Usage on a local machine $ ./pihm, and have a file in the current directory named projectName.txt with the project name in it OR $ ./pihm project_name, and have a file in the current directory named project_name.txt with the project name in it

Usage with docker $ docker run -v /home/user/dataset_PIHM_v2.2:/dataset -w /dataset lucasaugustomcc/pihm pihm [project_name]

----------- Dockerfile -------------------

FROM ubuntu MAINTAINER add Lucas Carvalho [email protected]⁠

WORKDIR /app

ADD . /app

RUN apt-get update && apt-get install -y wget zip make gcc RUN wget https://computation.llnl.gov/projects/sundials/download/sundials-2.2.0.tar.gz⁠ && tar xvf sundials-2.2.0.tar.gz && cd sundials && ./configure && make && make install RUN wget http://www.pihm.psu.edu/PIHM_v2.2.tar⁠ && tar xvf PIHM_v2.2.tar && cd PIHM_v2.2 && make clean RUN cd PIHM_v2.2 && grep -rl Makefile . | xargs sed -i 's//Users/xxy113/software//app/g' RUN cd PIHM_v2.2 && make pihm && mv pihm /usr/bin

Tag summary

Content type

Image

Digest

Size

140.8 MB

Last updated

over 8 years ago

docker pull lucasaugustomcc/pihm