Changeset 287 for palm/trunk


Ignore:
Timestamp:
Apr 9, 2009 8:59:36 AM (16 years ago)
Author:
raasch
Message:

bugfix concerning dvr

Location:
palm/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • palm/trunk/DOC/app/chapter_5.0.html

    r244 r287  
    3939LoadLeveler (IBM-AIX) and NQS/PBS (Linux-Clusters, NEC-SX).</font></li><li><font color="#000000">ssh/scp-connections to and from the remote
    4040host must not be blocked by a firewall.<br></font></li></ol><font color="#000000"><span style="font-weight: bold;"></span></font><font color="#000000"> Currently, <span style="font-weight: bold;">mrun</span> is configured
    41 to be used on a limited number of selected machines. These are
    42 IBM-Regatta at computing center HLRN in Hannover (<span style="font-style: italic;">ibmh</span>), Berlin (<span style="font-style: italic;">ibmb</span>), at KISTI,
    43 Korea (<span style="font-style: italic;">ibms</span>),
     41to be used on a limited number of selected machines. These are SGI-ICE systems at computing center HLRN in Hannover (<span style="font-style: italic;">lcsgih</span>), Berlin (<span style="font-style: italic;">lcsgib</span>), IBM-Regatta system<span style="font-style: italic;"></span>
    4442at Yonsei University, Seoul (<span style="font-style: italic;">ibms</span>),
    4543on NEC-SX6/8 systems at DKRZ, Hamburg (<span style="font-style: italic;">nech</span>) and RIAM,
    46 Kyushu University, Fukuoka (<span style="font-style: italic;">neck</span>),
    47 as well as on the Linux cluster of IMUK (<span style="font-style: italic;">lcmuk</span>) and Tokyo
    48 Institute of Technology (<span style="font-style: italic;">lctit</span>).
     44Kyushu University, Fukuoka (<span style="font-style: italic;">necriam</span>),
     45as well as on the Linux cluster of IMUK (<span style="font-style: italic;">lcmuk</span>), Tokyo
     46Institute of Technology (<span style="font-style: italic;">lctit</span>), and the Bergen Center for Computational Science (<span style="font-style: italic;">lcxt4</span>).
    4947The strings given in brackets are the systems names (host identifiers) under which <span style="font-weight: bold;">mrun</span> identifies the
    5048different hosts.<br><br>You can also use <span style="font-weight: bold;">mrun</span>/PALM on other Linux-Cluster, IBM-AIX, or NEC-SX machines. See <a href="#configuration_for_other_machines">below</a> on how to configure <span style="font-weight: bold;">mrun</span> for other machines. However, these configurations currently (version 3.2a) allow to run PALM in interactive mode only.<br><span style="font-weight: bold;"></span><span style="font-weight: bold;"></span><span style="font-weight: bold;"></span><span style="font-weight: bold;"></span></font><p style="line-height: 100%;"><font color="#000000">The
    5149examples given in this chapter refer to an
    52 installation of PALM on an IMUK Linux workstation and the IBM-Regatta
     50installation of PALM on an IMUK Linux workstation and the SGI-ICE
    5351system of
    5452the HLRN used as&nbsp;remote host. They are just called local and
     
    151149given in the <span style="font-family: Courier New,Courier,monospace;">&lt;host identifier&gt;</span>.
    152150You only have to uncomment lines for those hosts on which you intend to
    153 use PALM.</font></p><p style="line-height: 100%;"><font color="#000000">After modifying the configuration file, the
    154 respective executables are generated by executing</font></p><p style="line-height: 100%; margin-left: 40px; font-family: Courier New,Courier,monospace;"><font color="#000000">mbuild -u -h lcmuk<br>mbuild -u -h ibmh</font></p><p style="line-height: 100%;"><font color="#000000">The
     151use PALM.</font></p><p style="line-height: 100%;"><font color="#000000">Beside the default configuration file</font><font style="font-family: Courier New,Courier,monospace;" color="#000000"> .mrun.config.default</font><font color="#000000">, the directory<span style="font-family: Courier New,Courier,monospace;"> trunk/SCRIPTS </span>contains additional configuration files which are already adjusted for special hosts:<span style="font-family: Courier New,Courier,monospace;"> .mrun.config.imuk </span>can be used at Hannover University,<span style="font-family: Courier New,Courier,monospace;"> .mrun.config.riam </span>can
     152be used at the Research Institute of Applied Mechanics, Kyushu
     153University. These files have to be edited in the same way as described
     154above.</font></p><p style="line-height: 100%;"><font color="#000000">After modifying the configuration file, the
     155respective executables are generated by executing</font></p><p style="line-height: 100%; margin-left: 40px; font-family: Courier New,Courier,monospace;"><font color="#000000">mbuild -u -h lcmuk<br>mbuild -u -h lcsgih</font></p><p style="line-height: 100%;"><font color="#000000">The
    155156second call also copies the PALM scripts (like <span style="font-weight: bold;">mrun</span> and <span style="font-weight: bold;">mbuild</span>) to the remote
    156157host.</font></p><p style="line-height: 100%;"></p><p style="line-height: 100%;"><font color="#000000"><span style="font-weight: bold; text-decoration: underline;">Pre-Compilation
     
    174175stored&nbsp;on the remote computer in the default directory
    175176</font><font style="font-family: Courier New,Courier,monospace;" color="#000000">~/palm/current_version/MAKE_DEPOSITORY</font>.<font color="#000000"><span style="font-weight: bold;"></span></font><p style="line-height: 100%;"><font color="#000000">The
    176 pre-compilation for the remote host (here the IBM-Regatta of HLRN) is
     177pre-compilation for the remote host (here the SGI-ICE system of HLRN) is
    177178done by</font><span style="font-family: monospace;"></span></p><div style="margin-left: 40px;"><span style="font-family: Courier New,Courier,monospace;">mbuild
    178 -h ibmh&nbsp;&nbsp;</span></div><p style="line-height: 100%;"><span style="font-family: Courier New,Courier,monospace;">mbuild
     179-h lcsgih &nbsp;</span></div><p style="line-height: 100%;"><span style="font-family: Courier New,Courier,monospace;">mbuild
    179180</span>will prompt some queries<font color="#000000">,
    180181which must all be
     
    209210test run can
    210211now be started by executing the command </font>
    211 </p><pre style="margin-left: 1cm; margin-right: 1cm; margin-bottom: 0.5cm; line-height: 100%; font-family: Courier New,Courier,monospace;"><font color="#000000">mrun -d example_cbl -h ibmh -K parallel -X 8 -T 8 -t 500 -q cdev -r &ldquo;d3# pr#&rdquo;</font></pre>
     212</p><pre style="margin-left: 1cm; margin-right: 1cm; margin-bottom: 0.5cm; line-height: 100%; font-family: Courier New,Courier,monospace;"><font color="#000000">mrun -d example_cbl -h lcsgih -K parallel -X 8 -T 8 -t 500 -q testq -r &ldquo;d3# pr#&rdquo;</font></pre>
    212213<font color="#000000">This specific run
    213214will be carried out on 8 PEs and is allowed to use up to 500 seconds
     
    224225current workload of the remote host. Provided that it is executed
    225226immediately and that all things work as designed, the job protocol of
    226 this run will appear under the file name<span style="font-family: Courier New,Courier,monospace;"> </span></font><font style="font-family: Courier New,Courier,monospace;" color="#000000">~/job_queue/ibmh_example</font><font color="#000000"><span style="font-family: Courier New,Courier,monospace;"> </span>no
     227this run will appear under the file name<span style="font-family: Courier New,Courier,monospace;"> </span></font><font style="font-family: Courier New,Courier,monospace;" color="#000000">~/job_queue/lcsgih_example</font><font color="#000000"><span style="font-family: Courier New,Courier,monospace;"> </span>no
    227228more than a few minutes later. The content of this
    228229file should be carefully examined for any error messages.</font><p style="line-height: 100%;">
     
    240241contents of file</p>
    241242<p style="line-height: 100%;"><span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;
    242 </span><span style="font-family: Courier New,Courier,monospace;">~/palm/current_version/JOBS/example_cbl/MONITORING/ibmh_example_rc</span><br>
     243</span><span style="font-family: Courier New,Courier,monospace;">~/palm/current_version/JOBS/example_cbl/MONITORING/lcsgih_example_rc</span><br>
    243244</p><p style="line-height: 100%;">with those of the
    244245example result file which can be found under<span style="font-family: Courier New,Courier,monospace;">
    245246trunk/INSTALL/example_cbl_rc</span>., e.g. by using the<span style="font-family: Courier New,Courier,monospace;"><span style="font-family: Times New Roman,Times,serif;"> standard</span>
    246247diff </span>command:</p><p style="line-height: 100%; margin-left: 40px; font-family: Courier New,Courier,monospace;">diff
    247 &nbsp;JOBS/example_cbl/MONITORING/ibmh_example_cbl_rc
     248&nbsp;JOBS/example_cbl/MONITORING/lcsgih_example_cbl_rc
    248249trunk/INSTALL/example_cbl_rc</p><p style="line-height: 100%;">where
    249250it is assumed that your working directory is<span style="font-family: Courier New,Courier,monospace;">
  • palm/trunk/SOURCE/data_output_dvrp.f90

    r284 r287  
    9393    CHARACTER (LEN=6) ::  output_variable
    9494    INTEGER ::  c_mode, c_size_x, c_size_y, c_size_z, dvrp_nop, dvrp_not,     &
    95                 gradient_normals, i, ip, j, jp, k, l, m, n, n_isosurfave,     &
     95                gradient_normals, i, ip, j, jp, k, l, m, n, n_isosurface,     &
    9696                n_slicer, nn, section_mode, vn
    9797    INTEGER, DIMENSION(:), ALLOCATABLE ::  p_c, p_t
     
    9999    LOGICAL, DIMENSION(:), ALLOCATABLE ::  dvrp_mask
    100100
    101     REAL(4) ::  center(3), distance, slicer_position, surface_value,         &
    102                 tmp_alpha, tmp_alpha_w, tmp_b, tmp_c_alpha, tmp_g, tmp_norm, &
    103                 tmp_pos, tmp_r, tmp_t, tmp_th
     101    REAL(4) ::  slicer_position, tmp_alpha, tmp_alpha_w, tmp_b, tmp_c_alpha, &
     102                tmp_g, tmp_norm, tmp_pos, tmp_r, tmp_t, tmp_th
    104103    REAL(4), DIMENSION(:),     ALLOCATABLE   ::  psize, p_x, p_y, p_z
    105104    REAL(4), DIMENSION(:,:,:), ALLOCATABLE   ::  local_pf
Note: See TracChangeset for help on using the changeset viewer.