In order to clone the Meso-NH git repository that contains sources, compiled libraries and binary tools, the git LFS extension is required to handle binary (or large) files. So before starting, be sure:
to have git v1.8.2 or higher installed on your linux workstation. You can run and check with:
to install the git LFS extension (not included by default in the Git package):
get the linux git-lfs archive from the "Download v1.X.Y (Linux)" link on the web page https://git-lfs.github.com/
extract the archive and copy the git-lfs binary in your $HOME/bin (the provided install.sh script doesn't need to be executed)
- from any directory, you can now execute:
git lfs install
that will set up some filters under the name "lfs" in the global Git config file ($HOME/.gitconfig)
Download the private key to access the anonymous Meso-NH Git server (read-only access) by clicking on anongitmesonh.key and save the file in your $HOME/.ssh/ directory.
- Change the access permissions of the key with:
chmod 600 $HOME/.ssh/anongitmesonh.key
Copy/paste the following lines and add them in your $HOME/.ssh/config file (create the file if it is missing):
Host anongit_mesonh User anongit IdentityFile ~/.ssh/anongitmesonh.key Hostname 18.104.22.168 Port 22222
Cloning the Meso-NH repository
Finally you can clone the Meso-NH Git repository with the following command:
git lfs clone anongit@anongit_mesonh:/gitrepos/MNH-git_open_source-lfs.git MNH-VX-Y-Z
that will create the MNH-VX-Y-Z directory containing the latest Meso-NH package.
In a similar fashion, you can clone the Meso-NH documentation Git repository with the following command:
git clone anongit@anongit_mesonh:/gitrepos/MNH-DOC.git
that will create the MNH-DOC directory containing the latest LaTeX sources of the Meso-NH documentation.
Git Web Meso-NH Interface
Web Interface (basic default in git) accessible via gitweb