Ignore:
Timestamp:
Jun 10, 2009 11:19:35 AM (16 years ago)
Author:
raasch
Message:

several small bugfixes; some more dvrp changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • palm/trunk/DOC/app/chapter_4.5.7.html

    r62 r336  
    11<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
    22<html><head>
    3 <meta http-equiv="CONTENT-TYPE" content="text/html; charset=windows-1252"><title>PALM
    4 chapter 4.5.7</title> <meta name="GENERATOR" content="StarOffice 7 (Win32)"> <meta name="AUTHOR" content="Siegfried Raasch"> <meta name="CREATED" content="20041029;14344622"> <meta name="CHANGED" content="20050119;9531085"> <meta name="KEYWORDS" content="parallel LES model"> <style>
     3<meta http-equiv="CONTENT-TYPE" content="text/html; charset=windows-1252"><title>PALM chapter 4.5.7</title> <meta name="GENERATOR" content="StarOffice 7 (Win32)"> <meta name="AUTHOR" content="Siegfried Raasch"> <meta name="CREATED" content="20041029;14344622"> <meta name="CHANGED" content="20050119;9531085"> <meta name="KEYWORDS" content="parallel LES model"> <style>
    54<!--
    65@page { size: 21cm 29.7cm }
    76-->
    87</style></head>
    9 
    108<body style="direction: ltr;" lang="en-US"><h4 style="line-height: 100%;"><font size="4">4.5.7
    119Plots of
    1210isosurfaces, 2d cross sections and particles with dvrp</font></h4>
    13 <p style="line-height: 100%;">The <span style="font-weight: bold;">dvrp</span>
    14 software developed by the RRZN
    15 (Stephan Olbrich, Carsten Chmielewski) allows a creation of plot
    16 sequences with PALM,
    17 which can be animated via a special plugin for internet browsers. With
    18 suitable graphic hardware even stereoscopic views are
    19 possible. <br>
     11<p style="line-height: 100%;"><span style="font-weight: bold;">Preliminary note:</span></p><p style="line-height: 100%;">Usage of the <span style="font-weight: bold;">dvrp</span>-software requires installation of additional software components (dvrp-library, streaming-server, browser-plugin) which are <span style="font-weight: bold;">not</span>
     12part of the PALM distribution. Currently (May 2009), this software is
     13only available on the the HLRN/IMUK system and partly on RIAM's NEC
     14system. If you are interested in using <span style="font-weight: bold;">dvrp</span> on your system, please contact the PALM developers.</p><br><span style="font-weight: bold;">General remarks:</span><p style="line-height: 100%;">The <span style="font-weight: bold;">dvrp</span>
     15software was originally developed by the RRZN
     16(Stephan Olbrich, Carsten Chmielewski) and is meanwhile continuosly developed and improved under the name <span style="font-weight: bold;">dsvr</span> by the University of D&uuml;sseldorf (Prof. Stephan Olbrich, see webpage of the <a href="http://www.dsvr-software.de/">dsvr-software</a>). It allows to create 3d-animations with PALM,
     17which can be displayed via a special plugin for internet browsers. With
     18suitable graphic hardware (e.g. NVIDIA quattro FX cards) even stereoscopic views are
     19possible.</p><p style="line-height: 100%;">
    2020In contrast to the other kinds of visualization output realized
    21 in PALM (<b>profil</b>, <b>iso2d</b> and <b>AVS</b>),
     21in PALM (1d-, 2d-, 3d-NetCDF output),
    2222where the data
    23 is output in a format suitable for the plot software, the creation of
    24 plots via <span style="font-weight: bold;">dvrp</span>
     23is output in a format suitable for many kinds of post-processing graphic software, the creation of animations via <span style="font-weight: bold;">dvrp</span>
    2524software is
    2625integrated in PALM, i.e. respective routines are directly called within
     
    4645the main focus of the BMBF project "Application of
    4746tele-immersion in long-distance networks" (2001-2002),
    48 which was a joint project of RRZN, ZIB and IMUK. This work is currently
    49 continued by RRZN in the new DFG-funded project "EVITA - Untersuchung
     47which was a joint project of RRZN, ZIB and IMUK. This work was
     48continued by RRZN in the DFG-funded project "<a href="http://www.rrzn.uni-hannover.de/evita.html">EVITA</a> - Untersuchung
    5049effizienter
    51 <br>Methoden zur visuellen und haptischen tele-immersiven
     50Methoden zur visuellen und haptischen tele-immersiven
    5251Exploration
    53 <br>komplexer Volumen- und Str&ouml;mungsdaten aus
     52komplexer Volumen- und Str&ouml;mungsdaten aus
    5453parallelisierten,
    55 <br>dynamischen 3D-Simulationen" (2005-2007). </p>
    56 <p style="line-height: 100%;">The calls of the <span style="font-weight: bold;">dvrp</span> routines are
     54dynamischen 3D-Simulationen" (2005-2007). </p>
     55<p style="line-height: 100%;"></p><p style="line-height: 100%;"><span style="font-weight: bold;">Using dvrp with PALM:</span></p><p style="line-height: 100%;">The calls of the <span style="font-weight: bold;">dvrp</span> routines are
    5756contained within a
    5857PALM software package (see chapter <a href="chapter_3.7.html">3.7</a>).
    59 To use this package, the additional option <tt><font size="2">-p
    60 &ldquo;dvrp_graphics&rdquo;</font></tt>
    61 has to be given in the <b>mrun</b> call. This
     58To use this package, the additional option<tt style="font-family: monospace;"> </tt><font style="font-family: Courier New,Courier,monospace;" size="2">-p
     59<span style="font-family: Helvetica,Arial,sans-serif;">&ldquo;</span>dvrp_graphics<span style="font-family: Helvetica,Arial,sans-serif;">&rdquo;</span></font><span style="font-family: monospace;">
     60</span>has to be given in the <b>mrun</b> call. This
    6261automatically links the
    6362required libraries.
     
    6766graphic
    6867data are not output to local files but directly to a special remote
    69 computer which is defined via the package parameter <a href="chapter_4.2.html#dvrp_host">dvrp_host</a>.
    70 The
    71 default values of the dvrp parameters are cause the output to be
    72 directed to a so-called streaming server at the
     68computer which is defined via the package parameter <a href="chapter_4.2.html#dvrp_host">dvrp_host</a>. If the default values of the dvrp parameters are used, data are send to a so-called <span style="font-style: italic;">streaming server</span> at the
    7369RRZN. Apart from graphic data an additional html file is created, which
    74 can be used by an internet browser to view the data (a special <span style="font-weight: bold;">dvrp</span> plugin is
    75 needed). </p>
    76 <p style="line-height: 100%;">Since July 2001, the basic
    77 functionality
    78 of the <span style="font-weight: bold;">dvrp</span>
    79 software is
    80 installed in PALM and steerable via the
    81 package parameters. However, some code modifications may still need to
    82 be done by the user (e.g. in
    83 the subroutine <tt><font style="font-size: 10pt;" size="2">plot_dvrp</font></tt>
    84 in order to define suitable color tables).
    85 <br>For further detailed information please ask Siegfried Raasch.
    86 </p>
     70can be opened by an internet browser to view the data (a special <span style="font-weight: bold;">dvrp</span> plugin is required for this).</p><p style="line-height: 100%;"></p><p style="line-height: 100%;"><span style="font-weight: bold;">Quickstart guide for using dvrp on the HLRN/IMUK-System (May 2009):</span> </p>
     71<ol><li>
     72Add the following define statements for environment variables to the configuration file (<span style="font-family: Courier New,Courier,monospace;">.mrun.config</span>):<br><br><span style="font-family: Courier New,Courier,monospace;"></span><span style="font-family: Courier New,Courier,monospace;"> &nbsp; &nbsp;%dvr_inc&nbsp;&nbsp;
     73-I/home/h/niksiraa/dvr_mvapich2/lib&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
     74&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; lcsgih parallel</span><br style="font-family: Courier New,Courier,monospace;"><span style="font-family: Courier New,Courier,monospace;">&nbsp; &nbsp;%dvr_lib&nbsp;&nbsp;&nbsp;-L/home/h/niksiraa/dvr_mvapich2/lib:-lDVRP2:-lftp&nbsp; &nbsp; lcsgih
     75parallel</span><br><br><br></li><li>Add the dvrp-steering parameters to your NAMELIST-parameter file, e.g.<br><br><span style="font-family: Courier New,Courier,monospace;">&nbsp;&amp;d3par &nbsp;end_time = 3600.0,<br>&nbsp; ... &nbsp; &nbsp; /<br><br>&nbsp;&amp;dvrp_graphics_par &nbsp; dvrp_username = '&lt;replace by your IMUK username&gt;',<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; dvrp_host = '130.75.105.2',<br>&nbsp;
     76&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
     77dvrp_directory = '&lt;replace by a name of your choice&gt;', ... /<br></span><br>For other dvrp-parameters see <a href="chapter_4.2.html#Paketparameter">chapter 4.2</a>. An example parameter file can be found in directory <span style="font-family: Courier New,Courier,monospace;">..../trunk/EXAMPLES/dvr_building</span>.<span style="font-family: Courier New,Courier,monospace;"><br><br></span></li><li>Submit the job&nbsp; with <span style="font-weight: bold;">mrun</span>-command<br><br><span style="font-family: Courier New,Courier,monospace;">&nbsp; &nbsp;mrun .... -p dvrp_graphics ....</span><br><br></li><li><span style="font-family: Courier New,Courier,monospace;"><span style="font-family: Times New Roman,Times,serif;">After the job has finished, the dvrp-output can be found on the IMUK-cluster in a subdirectory under <span style="font-family: Courier New,Courier,monospace;">/data/raasch/Dvrp_daten</span>. The name of the subdirectory is determined by the dvrp-parameter <a href="chapter_4.2.html#dvrp_directory">dvrp_directory</a> (see above), i.e. if the user has set <span style="font-family: Courier New,Courier,monospace;">dvrp_directory</span> = <span style="font-style: italic;">'movie_1'</span>, the dvrp-data are stored under&nbsp;<span style="font-family: Courier New,Courier,monospace;">/data/raasch/Dvrp_daten/movie_1</span>.<br><br></span></span></li><li><span style="font-family: Courier New,Courier,monospace;"><span style="font-family: Times New Roman,Times,serif;">Change to this subdirectory (e.g. </span></span><span style="font-family: Courier New,Courier,monospace;"><span style="font-family: Times New Roman,Times,serif;"><span style="font-family: Courier New,Courier,monospace;">/data/raasch/Dvrp_daten/movie_1</span></span></span><span style="font-family: Courier New,Courier,monospace;"><span style="font-family: Times New Roman,Times,serif;">) and enter the command<br><br><span style="font-family: Courier New,Courier,monospace;">&nbsp; &nbsp;process_dvr_output</span><br><br>It will create a file with name <span style="font-family: Courier New,Courier,monospace;">all_streams_streaming.html</span>.<br><br></span></span></li><li><span style="font-family: Courier New,Courier,monospace;"><span style="font-family: Times New Roman,Times,serif;">Call the opera-browser (i.e. enter the command <span style="font-family: Courier New,Courier,monospace;">opera</span>) and open the file </span></span><span style="font-family: Courier New,Courier,monospace;"><span style="font-family: Times New Roman,Times,serif;"><span style="font-family: Courier New,Courier,monospace;">all_streams_streaming.html</span>.</span></span><span style="font-family: Courier New,Courier,monospace;"><span style="font-family: Times New Roman,Times,serif;"></span><br><br></span>A complete example parameter file for ... can be found under &nbsp;.../trunk/.....<br></li></ol><span style="font-weight: bold;">Further features:<br></span>The script<span style="font-family: Courier New,Courier,monospace;"> process_dvr_output </span>has additional options:<br><br><span style="font-weight: bold; font-family: Courier New,Courier,monospace;">-s</span> &nbsp; &nbsp; : <span style="font-weight: bold;">create sequence output</span>.
     78All streams (and static scenes) are collected to one sequence (one
     79static scene), which can be displayed with a browser without using the
     80streaming server (the so-called sequence mode). This allows e.g. to
     81show animations on a notebook without beeing connected to the internet.
     82When the script is called with this option, the sequence is generated
     83in subdirectory sequence_data. Copy this subdirectory and the file
     84all_streams_sequence.html to a directory on your local computer and
     85open the file all_streams_sequence.html with your browser. For this,
     86you will need to install the the dvr-plugin (see webpage of the <a href="http://www.dsvr-software.de/">dsvr-software</a>) on your local computer, which is also available for Windows.<br><br><span style="font-weight: bold;">-a</span> &nbsp; &nbsp; &nbsp;: <span style="font-weight: bold;">acceleration factor</span>. If, in case of sequence mode, the performance of the animation is to slow, you can accelerate it. E.g., by using <span style="font-family: Courier New,Courier,monospace;">"-a 2</span>", only every second frame of the original streams will be used for the sequence.<br><br><br><br><br><span style="font-weight: bold;">Current limitations (May 09):</span><br>Only a special opera-version on host "bora" can be used. Log-in on "bora" and call &nbsp;<span style="font-family: Courier New,Courier,monospace;">/usr/local/bin/opera</span>. <span style="font-weight: bold;">Before that(!!!)</span>, enter the command "<span style="font-family: Courier New,Courier,monospace;">export LD_PRELOAD=libXm.so</span>" !
    8787<hr><p style="line-height: 100%;"><br>
    8888<font color="#000080"><font color="#000080"><a href="chapter_4.5.6.html"><font color="#000080"><img src="left.gif" name="Grafik1" align="bottom" border="2" height="32" width="32"></font></a><a href="index.html"><font color="#000080"><img src="up.gif" name="Grafik2" align="bottom" border="2" height="32" width="32"></font></a><a href="chapter_4.6.html"><font color="#000080"><img src="right.gif" name="Grafik3" align="bottom" border="2" height="32" width="32"></font></a></font></font></p><p style="line-height: 100%;">&nbsp;<i>Last
Note: See TracChangeset for help on using the changeset viewer.