Differences between revisions 1 and 2
Revision 1 as of 2014-06-04 08:59:53
Size: 917
Editor: NicoleThomas
Comment:
Revision 2 as of 2014-06-12 08:23:12
Size: 1598
Editor: NicoleThomas
Comment:
Deletions are marked like this. Additions are marked like this.
Line 4: Line 4:

 * To use Mercurial on JUROPA expand your PATH:
 {{{
PATH=/lustre/jhome4/jicg11/jicg1108/local/bin:.:$PATH
export PATH
 }}}
Line 20: Line 14:
 or by https (on JUROPA):  or by https:
Line 49: Line 43:


== JUROPA ==

 * To use Mercurial on Juropa expand your PATH:
 {{{
PATH=/lustre/jhome4/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 JUROPA

 * For commiting changes it is neccessary to add ''default-push'' in '''''messy-dir''/.hg/hgrc''':
 {{{
[paths]
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
 }}}

 * Add ''hgext.inotify'' to your Mercurial configuration file ''~/.hgrc'' (to avoid incorrect ''hg status'' behavior)
 {{{
# This is a Mercurial configuration file.
[ui]
username = Firstname Lastname <mailaddress>
[extensions]
hgext.inotify=!
 }}}

MESSy/CLaMS

Get the source code

  • Mercurial repository:
    https://messy.fz-juelich.de/hg/messy-2.40.1-clams
  • Getting a copy of the source:
    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]
  • 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

JUROPA

  • To use Mercurial on Juropa expand your PATH:
    PATH=/lustre/jhome4/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 JUROPA

  • For commiting changes it is neccessary to add default-push in messy-dir/.hg/hgrc:

    [paths]
    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
  • Add hgext.inotify to your Mercurial configuration file ~/.hgrc (to avoid incorrect hg status behavior)

    # This is a Mercurial configuration file.
    [ui]
    username = Firstname Lastname <mailaddress>
    [extensions]
    hgext.inotify=!

messy/GetSource (last edited 2019-02-21 11:07:37 by NicoleThomas)