Monday, October 16, 2017

ParFlow repository moved to GitHub

New ParFlow Repository Location


The ParFlow repository has been moved to GitHub.  The new repository is located here:

ParFlow GitHub Repository

The Subversion based CloudForge repository is for archival purposes, please use the GitHub repo to download the latest versions of ParFlow.


The new repository is using Git.  We are replacing Subversion since Git is a newer source code control system that is gaining widespread use for open source projects.  GitHub is a hosting site for many projects.

There are many web resources for learning Git.   There is a free Git book available here:

   https://git-scm.com/book/en/v2

If you simply wish to obtain the latest version of ParFlow replace the previous "svn checkout ..." commands with:

>git clone https://github.com/parflow/parflow.git

OS X Yosemite build instruction updates


The following are some helpful instructions provided by Laura Condon updating the build steps for installing ParFlow on OS X Yosemite.

Modifications to the ParFlow blog instructions for installation
Most of the steps on the blog are just fine but the one that needs updating is item 7 on the Yosemite installation instructions (Installing ParFlow in OSX-Yosemite), we’ve really only got two changes.

1. Navigate to your “~/ParF” folder. We’re going to download the source from the “master” branch on GitHub and this will create a folder in this directory called “parflow.” In order for the installation to succeed, the environment variable “PARFLOW_DIR” needs to match this directory name. To verify this, at the command line , type

>echo $PARFLOW_DIR

and something like this should be returned (where
username is you’re your username):

/Users/*username*/ParF/parflow

is a directory This can actually be anything you’d like, but you’ll need to
2. Download the source from the repository.   Within “~ParF/”, type the following:

>git clone -b master --single-branch https://github.com/parflow/parflow.git

“git” tells the system we’re using a command for the repository, “clone” tells it to make a local copy, “-b master --single-branch” extracts only the main branch of the development tree and the URL is the path to the repository. If you google “github parflow” and navigate into the source tree, on the right had side you’ll see a green box that contains that URL when you click on it.
When you enter that command you should the download start. After its done, type “ls” and you should see a folder called “parflow.” If you’d like to rename it to reflect the version you can type

>mv parflow parflow.3.2.0

Or any other name you’d like, just make sure to update the $PARFLOW_DIR variable to reflect your name.

2 comments:

Jenny Lee said...

Superb blog...
outsource invoice processing services

overlandflowstudy said...

Hi,
I am trying to install ParFlow in High Sierra. Everything seems to go well, but the richards test fails with the following error, and I don't know what to try in order to resolve it. Could someone point me in the right direction?

alloc: invalid block: 0x10feee0e8: 0 0
[1] 95022 abort tclsh default_richards.tcl 1 1 1

Best,
Dana