Differences between revisions 14 and 15
Revision 14 as of 2016-05-12 11:51:41
Size: 1123
Editor: NicoleThomas
Comment:
Revision 15 as of 2016-05-23 08:57:41
Size: 1277
Editor: NicoleThomas
Comment:
Deletions are marked like this. Additions are marked like this.
Line 11: 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 JURECA  * For getting the source code or committing changes by ssh, you have to copy your ssh-key used for Mercurial to JURECA
 (e.g. '''''id_rsa.mercurial''''' and '''''id_rsa.mercurial.pub''''') and add to '''''.ssh/config''''' the following lines:
 {{{
User hg-messy
IdentityFile ~/.ssh/id_rsa.mercurial
 }}}
 

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 committing changes by ssh, you have to copy your ssh-key used for Mercurial to JURECA

    (e.g. id_rsa.mercurial and id_rsa.mercurial.pub) and add to .ssh/config the following lines:

    User hg-messy
    IdentityFile ~/.ssh/id_rsa.mercurial
  • 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

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