<div dir="ltr"><font size="1">Dear all, <br><br><span><span style="font-family:arial"></span></span></font><div><font size="1"><span style="font-family:calibri;color:black">When trying to read data generated on supercomputer (big-endian), the ParaView</span><span style="font-family:calibri;color:black"> </span><span style="font-family:calibri;color:black">PFlotran</span><span style="font-family:calibri;color:black">-reader
fails. This is because the data generated on the supercomputer is
big-endian whereas my machine (Intel machine) uses little-endian. <br><br></span></font></div><div><font size="1"><span style="font-family:calibri;color:black">The workaround to fix this is to go to following directory:<br></span><br><span style="font-family:calibri;color:black">Utilities/</span><span style="font-family:calibri;color:black">VisItBridge</span><span style="font-family:calibri;color:black">/<wbr>databases/PFLOTRAN<br>and to the following file :</span><span style="font-family:calibri;color:black"> avtPFLOTRANFileFormat.C</span><span style="font-family:calibri;color:black"></span><br><span style="font-family:calibri;color:black"><br>In
the functions </span><span style="font-family:calibri;color:black">avtPFLOTRANFileFormat</span><span style="font-family:calibri;color:black">::</span><span style="font-family:calibri;color:black">GetVar</span><span style="font-family:calibri;color:black">(<wbr>...)
and </span><span style="font-family:calibri;color:black">avtPFLOTRANFileFormat</span><span style="font-family:calibri;color:black">::</span><span style="font-family:calibri;color:black">GetVect<wbr>orVar</span><span style="font-family:calibri;color:black">(...)<br>
there are the following if-statement TWO TIMES IN BOTH FUNCTIONS, so 4 modifications are needed:<br>
<br>
if (H5Tequal(</span><span style="font-family:calibri;color:black">intype</span><span style="font-family:calibri;color:black">,
H5T_NATIVE_FLOAT)
||<br>
H5Tequal(</span><span style="font-family:calibri;color:black">intype</span><span style="font-family:calibri;color:black">,
H5T_NATIVE_DOUBLE)
||<br>
H5Tequal(</span><span style="font-family:calibri;color:black">intype</span><span style="font-family:calibri;color:black">,
H5T_NATIVE_LDOUBLE) )<br>
<br>
Replace ALL 4 above OCCURRENCES by <br><br>
if (H5Tequal(</span><span style="font-family:calibri;color:black">intype</span><span style="font-family:calibri;color:black">,
H5T_NATIVE_FLOAT)
||<br>
H5Tequal(</span><span style="font-family:calibri;color:black">intype</span><span style="font-family:calibri;color:black">,
H5T_NATIVE_DOUBLE)
||<br>
H5Tequal(</span><span style="font-family:calibri;color:black">intype</span><span style="font-family:calibri;color:black">,
H5T_NATIVE_LDOUBLE) ||<br>
H5Tequal(</span><span style="font-family:calibri;color:black">intype</span><span style="font-family:calibri;color:black">,
H5T_IEEE_F32BE) ||<br>
H5Tequal(</span><span style="font-family:calibri;color:black">intype</span><span style="font-family:calibri;color:black">,
H5T_IEEE_F64BE) )</span></font></div><div><font size="1"><span style="font-family:calibri;color:black"><br>The
problem is I have to compile paraview from source for each update or on
every machine. I was wondering whether this capability to read data
from big-endian machine could be included. <br></span></font></div><font size="1"><span style="font-family:calibri;color:black">I´d appreciate your answer, </span></font><div><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><p><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;display:inline;float:none;background-color:rgb(255,255,255)"><font size="1">Hedieh Ebrahimi</font><br><font size="1">Consultant </font><a href="https://es.linkedin.com/pub/hedieh-ebrahimi/50/229/8a7" target="_blank"><img alt="" src="https://static.licdn.com/scds/common/u/img/webpromo/btn_in_20x15.png"></a></span><span></span></p><p><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;display:inline;float:none;background-color:rgb(255,255,255)"></span></p><p><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;display:inline;float:none;background-color:rgb(255,255,255)"></span><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;display:inline;float:none;background-color:rgb(255,255,255)"></span></p><p style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255)"><img src="http://amphos21.com/email/FirmaESIndi.png" width="130" height="103"><br></p><p style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255)"></p><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255)"><span style="font-size:22pt;color:rgb(31,73,125)"></span></span><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;display:inline;float:none;background-color:rgb(255,255,255)"></span></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>
</div>