<html>#1829: ExternalLibraries/MPI: increase verbosity when 'export VERBOSE=yes' is set
<table style='border-spacing: 1ex 0pt; '>
<tr><td style='text-align:right'> Reporter:</td><td>Bruno Mundim</td></tr>
<tr><td style='text-align:right'>   Status:</td><td>open</td></tr>
<tr><td style='text-align:right'>Milestone:</td><td></td></tr>
<tr><td style='text-align:right'>  Version:</td><td>development version</td></tr>
<tr><td style='text-align:right'>     Type:</td><td>enhancement</td></tr>
<tr><td style='text-align:right'> Priority:</td><td>minor</td></tr>
<tr><td style='text-align:right'>Component:</td><td>EinsteinToolkit thorn</td></tr>
</table>

<p>Changes (by Roland Haas):</p>
<p><table>
<tr><td>status:</td><td>open (was new)</td></tr>
</table></p>
<p>Ticket #1667 touched on this issue a bit, but since I would like to see a solution just for the verbosity level and not a rewriting of how a external library should be reconfigured I think it is worth a ticket on its on.</p>
<p>Currently if I set 'export VERBOSE=yes', the only message output I get from the MPI thorn is:</p>
<div class="codehilite"><pre><span></span>Running configuration script for thorn MPI:
Found MPI compiler wrapper at /usr/bin/mpic++!
Successfully configured MPI.
Finished running configuration script for thorn MPI.
</pre></div>


<p>while for other external library detect bash scripts I have a verbose output as requested:</p>
<div class="codehilite"><pre><span></span>Running configuration script for thorn HDF5:
+ set -e
+ . /home/bruno/tmp/ET_test/Cactus/lib/make/bash_utils.sh
+ &#39;[&#39; -n &#39;&#39; &#39;]&#39;
+ HDF5_DIR_INPUT=
++ echo &#39;&#39;
++ tr &#39;[a-z]&#39; &#39;[A-Z]&#39;
+ &#39;[&#39; &#39;&#39; = BUILD &#39;]&#39;
+ HDF5_BUILD=
+ HDF5_C_LIBS=&#39;hdf5_hl hdf5&#39;
+ &#39;[&#39; no = yes &#39;]&#39;
+ &#39;[&#39; yes = yes &#39;]&#39;
+ &#39;[&#39; gfortran &#39;!=&#39; none &#39;]&#39;
+ HDF5_FORTRAN_LIBS=&#39;hdf5hl_fortran hdf5_fortran&#39;
...
+ echo &#39;INCLUDE_DIRECTORY $(HDF5_INC_DIRS)&#39;
+ echo &#39;LIBRARY_DIRECTORY $(HDF5_LIB_DIRS)&#39;
+ echo &#39;LIBRARY           $(HDF5_LIBS)&#39;
Additional requested language support:  Fortran
HDF5 selected, but HDF5_DIR not set. Checking pkg-config ...
HDF5 not found. Checking standard paths ...
HDF5 not found.
Using bundled HDF5...
</pre></div>


<p>One way of doing something similar in perl is using the module Devel::ebug* and write an utility in the lines of the one presented here:</p>
<div class="codehilite"><pre><span></span>http://www.nntp.perl.org/group/perl.beginners/2008/03/msg99151.html
</pre></div>


<p>Would someone be interested in pursuing this path for debugging perl scripts in Cactus and then increasing its verbosity?</p>
<p><strong>Keyword:</strong> ExternalLibraries<br />
<strong>Keyword:</strong> MPI</
<p>--<br/>
Ticket URL: <a href='https://bitbucket.org/einsteintoolkit/tickets/issues/1829/externallibraries-mpi-increase-verbosity'>https://bitbucket.org/einsteintoolkit/tickets/issues/1829/externallibraries-mpi-increase-verbosity</a></p>
</html>