Differences between revisions 1 and 8 (spanning 7 versions)
Revision 1 as of 2014-06-12 08:33:43
Size: 1351
Editor: NicoleThomas
Comment:
Revision 8 as of 2015-12-03 09:36:20
Size: 1130
Editor: NicoleThomas
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
= MESSy/CLaMS = ## page was renamed from messy/GetSourceJuropa
= MESSy/CLaMS: Get the source code (on JURECA) =
Line 3: Line 4:
== Get the source code (on JUROPA) ==

* To use Mercurial on Juropa expand your PATH:
 * To use Mercurial on JURECA expand your PATH:
Line 7: Line 6:
PATH=/lustre/jhome4/jicg11/jicg1108/local/bin:.:$PATH PATH=/homec/jicg11/jicg1108/local/bin:$PATH
Line 11: Line 10:
 * 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 17: Line 16:
 or by https:
 {{{
hg clone https://messy.fz-juelich.de/hg/messy-2.40.1-clams [outdir]
 }}}
Line 22: Line 17:
 * 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 27: Line 22:
[extensions]
hgext.inotify=!
Line 52: Line 45:
default = https://messy.fz-juelich.de/hg/messy-2.40.1-clams

MESSy/CLaMS: Get the source code (on JURECA)

  • To use Mercurial on JURECA expand your PATH:
    PATH=/homec/jicg11/jicg1108/local/bin:$PATH
    export PATH     
  • 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.40.1-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.40.1-clams

messy/GetSourceJureca (last edited 2019-01-07 09:40:18 by NicoleThomas)