Differences between revisions 2 and 7 (spanning 5 versions)
Revision 2 as of 2014-06-12 08:23:12
Size: 1598
Editor: NicoleThomas
Comment:
Revision 7 as of 2017-11-10 09:04:36
Size: 939
Editor: NicoleThomas
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
= MESSy/CLaMS =

==
Get the source code ==
= MESSy/CLaMS: Get the source code =
Line 7: Line 5:
https://messy.fz-juelich.de/hg/messy-2.40.1-clams https://messy.fz-juelich.de/hg/messy-2.53.0-clams
Line 12: Line 10:
hg clone ssh://hg-messy@messy.fz-juelich.de/messy-2.40.1-clams [outdir] hg clone ssh://hg-messy@messy.fz-juelich.de/messy-2.53.0-clams [outdir]
Line 16: Line 14:
hg clone https://messy.fz-juelich.de/hg/messy-2.40.1-clams [outdir] hg clone https://messy.fz-juelich.de/hg/messy-2.53.0-clams [outdir]
Line 25: Line 23:

 * Add the bin subdirectory of the installation directory of MPICH library to your path:
 {{{
PATH=/usr/nfs/local/local/mpich-3.2-ifort-17.0.1/bin:$PATH
export PATH
}}}
Line 43: Line 48:


== 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.53.0-clams
  • Getting a copy of the source:
    hg clone ssh://hg-messy@messy.fz-juelich.de/messy-2.53.0-clams [outdir]
    or by https:
    hg clone https://messy.fz-juelich.de/hg/messy-2.53.0-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>
  • Add the bin subdirectory of the installation directory of MPICH library to your path:
    PATH=/usr/nfs/local/local/mpich-3.2-ifort-17.0.1/bin:$PATH
    export PATH
  • Create and run configure file in messy main directory:

    autoconf
    configure
  • Compile all
    make
    Compile only basemodel CLaMS:
    cd messy/mbm/clams
    make

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