Changeset 287 for palm/trunk
- Timestamp:
- Apr 9, 2009 8:59:36 AM (16 years ago)
- Location:
- palm/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/DOC/app/chapter_5.0.html
r244 r287 39 39 LoadLeveler (IBM-AIX) and NQS/PBS (Linux-Clusters, NEC-SX).</font></li><li><font color="#000000">ssh/scp-connections to and from the remote 40 40 host 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>), 41 to 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> 44 42 at Yonsei University, Seoul (<span style="font-style: italic;">ibms</span>), 45 43 on 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;">nec k</span>),47 as well as on the Linux cluster of IMUK (<span style="font-style: italic;">lcmuk</span>) andTokyo48 Institute of Technology (<span style="font-style: italic;">lctit</span>) .44 Kyushu University, Fukuoka (<span style="font-style: italic;">necriam</span>), 45 as well as on the Linux cluster of IMUK (<span style="font-style: italic;">lcmuk</span>), Tokyo 46 Institute of Technology (<span style="font-style: italic;">lctit</span>), and the Bergen Center for Computational Science (<span style="font-style: italic;">lcxt4</span>). 49 47 The strings given in brackets are the systems names (host identifiers) under which <span style="font-weight: bold;">mrun</span> identifies the 50 48 different 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 51 49 examples given in this chapter refer to an 52 installation of PALM on an IMUK Linux workstation and the IBM-Regatta50 installation of PALM on an IMUK Linux workstation and the SGI-ICE 53 51 system of 54 52 the HLRN used as remote host. They are just called local and … … 151 149 given in the <span style="font-family: Courier New,Courier,monospace;"><host identifier></span>. 152 150 You 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 151 use 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 152 be used at the Research Institute of Applied Mechanics, Kyushu 153 University. These files have to be edited in the same way as described 154 above.</font></p><p style="line-height: 100%;"><font color="#000000">After modifying the configuration file, the 155 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 lcsgih</font></p><p style="line-height: 100%;"><font color="#000000">The 155 156 second 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 156 157 host.</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 … … 174 175 stored on the remote computer in the default directory 175 176 </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-Regattaof HLRN) is177 pre-compilation for the remote host (here the SGI-ICE system of HLRN) is 177 178 done 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 </span></div><p style="line-height: 100%;"><span style="font-family: Courier New,Courier,monospace;">mbuild179 -h lcsgih </span></div><p style="line-height: 100%;"><span style="font-family: Courier New,Courier,monospace;">mbuild 179 180 </span>will prompt some queries<font color="#000000">, 180 181 which must all be … … 209 210 test run can 210 211 now 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 “d3# pr#”</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 “d3# pr#”</font></pre> 212 213 <font color="#000000">This specific run 213 214 will be carried out on 8 PEs and is allowed to use up to 500 seconds … … 224 225 current workload of the remote host. Provided that it is executed 225 226 immediately 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>no227 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/lcsgih_example</font><font color="#000000"><span style="font-family: Courier New,Courier,monospace;"> </span>no 227 228 more than a few minutes later. The content of this 228 229 file should be carefully examined for any error messages.</font><p style="line-height: 100%;"> … … 240 241 contents of file</p> 241 242 <p style="line-height: 100%;"><span style="font-family: monospace;"> 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> 243 244 </p><p style="line-height: 100%;">with those of the 244 245 example result file which can be found under<span style="font-family: Courier New,Courier,monospace;"> 245 246 trunk/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> 246 247 diff </span>command:</p><p style="line-height: 100%; margin-left: 40px; font-family: Courier New,Courier,monospace;">diff 247 JOBS/example_cbl/MONITORING/ ibmh_example_cbl_rc248 JOBS/example_cbl/MONITORING/lcsgih_example_cbl_rc 248 249 trunk/INSTALL/example_cbl_rc</p><p style="line-height: 100%;">where 249 250 it is assumed that your working directory is<span style="font-family: Courier New,Courier,monospace;"> -
palm/trunk/SOURCE/data_output_dvrp.f90
r284 r287 93 93 CHARACTER (LEN=6) :: output_variable 94 94 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_isosurfa ve, &95 gradient_normals, i, ip, j, jp, k, l, m, n, n_isosurface, & 96 96 n_slicer, nn, section_mode, vn 97 97 INTEGER, DIMENSION(:), ALLOCATABLE :: p_c, p_t … … 99 99 LOGICAL, DIMENSION(:), ALLOCATABLE :: dvrp_mask 100 100 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 104 103 REAL(4), DIMENSION(:), ALLOCATABLE :: psize, p_x, p_y, p_z 105 104 REAL(4), DIMENSION(:,:,:), ALLOCATABLE :: local_pf
Note: See TracChangeset
for help on using the changeset viewer.