Size: 1343
Comment:
|
Size: 1123
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 1: | Line 1: |
= MESSy/CLaMS: Get the source code (on JUROPA) = | ## page was renamed from messy/GetSourceJuropa = MESSy/CLaMS: Get the source code (on JURECA) = |
Line 3: | Line 4: |
* To use Mercurial on Juropa expand your PATH: | * Load following modules: |
Line 5: | Line 6: |
PATH=/lustre/jhome4/jicg11/jicg1108/local/bin:.:$PATH export PATH |
module load intel-para module load netCDF-Fortran/4.4.3 module load Mercurial |
Line 9: | Line 11: |
* For getting the source code or commiting changes by ssh, you have to copy your '''''id_rsa''''' and '''''id_rsa.pub''''' from Cluster-Workstation to JUROPA | * For getting the source code or commiting changes by ssh, you have to copy your '''''id_rsa''''' and '''''id_rsa.pub''''' from Cluster-Workstation to JURECA |
Line 13: | Line 15: |
hg clone ssh://hg-messy@messy.fz-juelich.de/messy-2.40.1-clams [outdir] }}} or by https: {{{ hg clone https://messy.fz-juelich.de/hg/messy-2.40.1-clams [outdir] |
hg clone ssh://hg-messy@messy.fz-juelich.de/messy-2.52-clams [outdir] |
Line 20: | Line 18: |
* Create a Mercurial configuration file ''.hgrc'' in your home directory to set your username and add ''hgext.inotify'' (to avoid incorrect ''hg status'' behavior) | * Create a Mercurial configuration file '''''.hgrc''''' in your home directory to set your username: |
Line 25: | Line 23: |
[extensions] hgext.inotify=! |
|
Line 50: | Line 46: |
default = https://messy.fz-juelich.de/hg/messy-2.40.1-clams default-push = ssh://hg-messy@messy.fz-juelich.de/messy-2.40.1-clams |
default-push = ssh://hg-messy@messy.fz-juelich.de/messy-2.52-clams |
MESSy/CLaMS: Get the source code (on JURECA)
- Load following modules:
module load intel-para module load netCDF-Fortran/4.4.3 module load Mercurial
For getting the source code or commiting changes by ssh, you have to copy your id_rsa and id_rsa.pub from Cluster-Workstation to JURECA
- Getting a copy of the source by ssh:
hg clone ssh://hg-messy@messy.fz-juelich.de/messy-2.52-clams [outdir]
Create a Mercurial configuration file .hgrc in your home directory to set your username:
# This is a Mercurial configuration file. [ui] username = Firstname Lastname <mailaddress>
Create and run configure file in messy main directory:
autoconf configure
- Compile all
make
Compile only basemodel CLaMS:cd messy/mbm/clams make
To commit changes it is neccessary to add default-push in messy-dir/.hg/hgrc:
[paths] default-push = ssh://hg-messy@messy.fz-juelich.de/messy-2.52-clams