Changes between Version 11 and Version 12 of doc/install/advanced


Ignore:
Timestamp:
Nov 1, 2018 3:43:23 PM (7 years ago)
Author:
raasch
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • doc/install/advanced

    v11 v12  
    6969{{{
    7070   cd ~/palm/current_version
    71    palmbuild -h default
    72 }}}
    73 Option {{{-h default}}} can be omitted, because {{{default}}} is the default.
     71   palmbuild -c default
     72}}}
     73Option {{{-c default}}} can be omitted, because {{{default}}} is the default.
    7474
    7575{{{palmbuild}}} will prompt some queries, which must all be answered "y". Depending on which compiler optimization options have been set in the configuration file, compilations may take up to 10 minutes. {{{palmbuild}}} is using the ''make'' mechanism. Dependencies are described in a [source:palm/trunk/SOURCE/Makefile Makefile]. {{{palmbuild}}} creates a folder {{{MAKE_DEPOSITORY_<configuration identifier>}}} in your working directory (in the default case it is {{{MAKE_DEPOSITORY_default}}}.\\\\
     
    8888The test run can now be started by entering
    8989{{{
    90   palmrun -d example_cbl -h default -X4 -a "d3#"
     90  palmrun -r example_cbl -c default -X4 -a "d3#"
    9191}}}
    9292See the [wiki:doc/app/palmrun palmrun description] for detailed explanations of available options. This specific run will be carried out on 4 cores (if available on your system, others you may need to adjust the {{{-X}}} option). Most important settings of this run are displayed at the terminal window and you are prompted for o.k. ("{{{y}}}") to continue. Informations about the progress of the simulation will be output to the terminal. After {{{palmrun}}} has finished, you should find some result files in folder {{{JOBS/example_cbl/MONITORING}}}. Please compare the contents of file
     
    109109Running PALM in batch mode on your local computer (requires that the computer where you are logged in has a batch system running) requires to add appropriate batch directives to the configuration file as well as settings for variables like {{{local_jobcatalog}}}, {{{defaultqueue}}}, {{{memory}}}, and {{{submit_command}}}. Settings for {{{module_commands}}} and {{{login_init_cmd}}} may be needed too. See the [wiki:doc/app/palm_config configuration file description] for further details. In order to run PALM in batch mode, the installation process is the same as described above, but {{{palmrun}}} requires additional options and may look like this
    110110{{{
    111    palmrun -d example_cbl -h default -X4 -T4 -t200 -m1000 -a "d3#" -q testqueue -b
     111   palmrun -r example_cbl -c default -X4 -T4 -t200 -m1000 -a "d3#" -q testqueue -b
    112112}}}
    113113The {{{-b}}} option is essential to tell {{{palmrun}}} to generate and submit a batch job. Otherwise, it will try to execute PALM interactively in your terminal session. Again, result files for verifying the installation can be found in folder {{{JOBS/example_cbl/MONITORING}}}, after the batch job has been executed. The protocol file of the batch job, which is typically created by every batch system, can be found in the folder that has been set by {{{local_jobcatalog}}} under the name {{{<configuration identifier>_<run identifier>}}}, which is {{{default_example_cbl}}} in the given example. Further informations about running PALM in batch mode on local machines can be found in the [wiki:doc/app/palmrun_quickstart palmrun quickstart guide].
     
    118118Follow the installation steps described above. In addition to the settings for a local batch job, installation of PALM for running batch jobs on remote machines requires further additional entries in the configuration file, at least variables {{{remote_ip}}}, {{{remote_username}}}, and {{{remote_jobcatalog}}} need to be set. For further informations see the [wiki:doc/app/palmrun_quickstart palmrun quickstart guide] and the [wiki:doc/app/palmrun palmrun documentation]. Assuming a configuration file {{{.palm.config.remote_system}}}, compiling the PALM sources via
    119119{{{
    120    palmbuild -h remote_system
     120   palmbuild -c remote_system
    121121}}}
    122122will copy the PALM sources by {{{scp}}} from your local computer to the remote system and invokes the remote compiler using {{{ssh}}}. The binaries will be put in folder {{{$HOME/palm/current_version/MAKE_DEPOSITORY_remote_system}}} on the remote system.
     
    124124For using {{{palmrun}}}, additional batch directives have to be added to the configuration file in order to transfer back the job protocol file (see the [wiki:doc/app/palmrun_quickstart palmrun quickstart guide] for further details). The {{{palmrun}}} command for generating the test run then reads
    125125{{{
    126    palmrun -d example_cbl -h remote_system -X4 -T4 -t200 -m1000 -a "d3#" -q testqueue
     126   palmrun -r example_cbl -c remote_system -X4 -T4 -t200 -m1000 -a "d3#" -q testqueue
    127127}}}
    128128{{{palmrun}}} transfers back the result file via {{{scp}}} and you should find it on your local system in folder {{{JOBS/example_cbl/MONITORING}}} under the name {{{remote_system_example_cbl_rc}}} after the job on the remote system has finished. The job protocol file will also be copied to the folder that has been set by {{{local_jobcatalog}}}.
     
    173173The compiled PALM code and helper routines must then be updated via
    174174{{{
    175    palmbuild -h default
     175   palmbuild -c default
    176176}}}
    177177or for any other configuration files that you are using.\\\\
     
    204204%fast_io_catalog   <replace with your fast file system folder>
    205205}}}
    206 Every user will then use the pre-compiled version of PALM that has been created for the central installation under the configuration identifier {{{default}}}. {{{palmrun}}} can only be called with this configuration identifier ({{{palmrun -h default ....}}}). If other configurations are required, they have to be created ''by the administrator'' under the central installation
     206Every user will then use the pre-compiled version of PALM that has been created for the central installation under the configuration identifier {{{default}}}. {{{palmrun}}} can only be called with this configuration identifier ({{{palmrun -c default ....}}}). If other configurations are required, they have to be created ''by the administrator'' under the central installation
    207207{{{
    208208   cp  /path_to_the_central_installation/trunk/SCRIPTS/.palm.config.default  /path_to_the_central_installation/.palm.config.config_new
    209209   # edit .palm.config.config_new
    210210   cd /path_to_the_central_installation
    211    palmbuild  -h config_new
    212 }}}
    213 After that, users need to copy and modify this configuration file as described above, and can use this configuration via {{{palmrun -h config_new ....}}}.
     211   palmbuild  -c config_new
     212}}}
     213After that, users need to copy and modify this configuration file as described above, and can use this configuration via {{{palmrun -c config_new ....}}}.