Changes between Version 16 and Version 17 of doc/install


Ignore:
Timestamp:
Sep 15, 2010 8:51:09 AM (14 years ago)
Author:
witha
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • doc/install

    v16 v17  
    1 == Code Installation ==
     1= Code Installation =
    22
    33This chapter describes the installation of PALM on a Linux workstation (local host). There are two methods to install and run PALM. With the [#simple simple method], you can run PALM interactively on the local computer. This method is using the scripts '''palm_simple_install''' and '''palm_simple_run'''. The simple method cannot create batch jobs itself, and cannot be used to create restart runs. Also file handling and most other features of the [#advanced advanced method] are not available. This method is only recommended for those who like to test PALM quickly.\\\\
     
    55Only the [#advanced advanced method] gives full access to all PALM features.
    66
    7 === Requirements ===
     7== Requirements ==
    88
    99The installation and operation of PALM requires at mimimum (for the [#advanced advanced method] on both, the local and the remote host, unless stated otherwise):
     
    2020Currently, '''mrun''' is configured to be used on a limited number of selected machines. These are SGI-ICE systems at computing center HLRN in Hannover (''lcsgih''), Berlin (''lcsgib''), IBM-Regatta systems at Yonsei University (''ibmy''), and at DKRZ, Hamburg (''ibmh''), an NEC-SX8 system at RIAM, Kyushu University, Fukuoka (''necriam''), as well as on the Linux cluster of IMUK (''lcmuk''), Tokyo Institute of Technology (''lctit''), Kyoto computing center (''lckyoto''), and Cray-XT4/5 systems at the Bergen Center for Computational Science (''lcxt4'') and at the Finish Meteorological Institute (''lcxt5m''). The strings given in brackets are the systems names (host identifiers) under which '''mrun''' identifies the different hosts.\\\\
    2121You can also use '''mrun'''/PALM on other Linux-Cluster, IBM-AIX, or NEC-SX machines. See [../below below] on how to configure mrun for other machines. However, these configurations currently (version 3.7a) allow to run PALM in interactive mode only. Batch mode requires manual adjustments for the respective queing system and MPI installation in scripts '''mrun''', '''mbuild''', and '''subjob'''.\\\\
    22 
    2322The examples given in this chapter refer to an installation of PALM on an IMUK Linux workstation and (for the [#advanced advanced method]) the SGI-ICE system of HLRN, used as remote host. They are just referred to as local and remote host from now on.\\\\
    24 
    2523The installation process for the advanced method requires a valid account on the local and on the remote host as well.\\\\
    2624The [#advanced advanced installation method] is described below. For the [#simple simple method] see the end of this chapter.\\\\
    2725
    28 === [=#advanced]Advanced installation method ===
     26== [=#advanced]Advanced installation method ==
    2927All hosts (local as well as remote) are accessed via the secure shell (ssh). The user must establish passwordless login using the private/public-key mechanism (see e.g. the [https://www.hlrn.de/home/view/System/Access#Password_and_passphrase_less_ssh HLRN documentation]). '''To ensure proper function of mrun, passwordless login must be established in both directions, from the local to the remote host as well as from the remote to the local host! '''Test this by carrying out e.g. on the local host:
    3028
     
    3634
    3735In both cases you should not be prompted for a password. '''Before continuing the further installation process, this must be absolutely guaranteed! '''It must also be guaranteed for '''all''' other remote hosts, on which PALM shall run.\\\\
    38 
    3936Please note that on many remote hosts, passwordless login must also work '''within the remote host''', i.e. for ssh connections from the remote host to itself. Test this by executing on the remote host:
    4037
     
    4239
    4340You should not be prompted for a password.
     41
     42=== Package Installation ===
     43
     44The '''first installation step''' requires creating a set of directories on the local and, for the [#advanced advanced method], on the remote host. These are:
     45
     46  {{{~/job_queue
     47  ~/palm
     48  ~/palm/current_version
     49  ~/palm/current_version/JOBS}}}
     50
     51The names of these directories can be freely selected (except {{{~/job_queue}}}), however new users should choose them as suggested, since many examples in this documentation as well as all example files are based on these settings. The directory {{{~/palm/current_version}}} on the local host will be called the working directory from now on.\\\\
     52In the second step a working copy of the recent PALM version, including the source code, scripts, documentation, etc.  must be copied to the working directory (local host!) by executing the following commands. Replace {{{<your username>}}} by the name that you have chosen to access the repository, and {{{<#>}}} by any of the available PALM releases, e.g. "''3.7a''" (new releases will be announced to members of the PALM mailing list).
     53
     54  {{{cd ~/palm/current_version}}}
     55  {{{svn checkout --username <your username> svn://130.75.105.2/palm/tags/release-<#> trunk}}}
     56
     57You will then be prompted for your password. After completion, there should be a subdirectory {{{trunk}}} in your working directory. It contains a number of further subdirectories, which contain e.g. the PALM source code ({{{SOURCE}}}) and the scripts for running PALM ({{{SCRIPTS}}}).\\\\
     58Alternatively, executing
     59
     60  {{{svn checkout --username <your username> svn://130.75.105.2/palm/tags/release-<#> abcde}}}
     61
     62will place your working copy in a directory named {{{abcde}}} (instead of a directory named {{{trunk}}}). But keep in mind that you will have to adjust several paths given below, if you do not use the default directory {{{trunk}}}.\\\\
     63Please never touch any file in your working copy of PALM, unless you know what you are doing.\\\\
     64You can also get a copy of the most recent developer code by executing
     65
     66  {{{svn checkout --username <your username> svn://130.75.105.2/palm/trunk trunk}}}
     67
     68This version may contain new features (they might not be documented well), but it may also contain bugs.