<div dir="ltr"> <div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div style="direction:ltr;font-family:tahoma;color:rgb(0,0,0);font-size:10pt">Depending on whether your compile with the Cray wrapper, or with g++, you'll get a different behavior; the Cray wrapper automatically sets a -DCRAYXT_COMPUTE_LINUX_TARGET<br></div></div></blockquote><div><br></div><div>Ugh, this is leftover from an older time.<br></div><div> <br><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div style="direction:ltr;font-family:tahoma;color:rgb(0,0,0);font-size:10pt">
Well, compiling with shared libs, I really should be able to open the shared libs objects. I have modified the source code of VTK/Utilities/KWSys/vtksys/<wbr>DynamicLoader.cxx to default to the last case called " // 6. Implementation for default UNIX machines."<br></div></div></blockquote><div><br></div><div>I reworked a lot of the Cray toolchain support in newer CMake versions so CMake knows how to interpret and introspec the Cray wrappers (See Modules/Compiler/CrayPrgEnv*). Using a newer CMake (>= 3.6) then CMake should be correctly determining whether or not shared libraries are supported. Using that, we should be able to use the global property "TARGET_SUPPORTS_SHARED_LIBS" to set a #define in the kwsys configured header file. This, I believe, would be a better way to handle it rather than searching for various #ifdefs in the c++ code, since CMake already knows way more about differemt platforms and compilers that this dynamic loader source file does. I'll submit the patch to kwsys and give you a like to the review so you can test it if you'd like.<br></div><div><br> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div style="direction:ltr;font-family:tahoma;color:rgb(0,0,0);font-size:10pt">
I am now up and running with PV5.2 on the Cray XC, running EGL.<br></div></div></blockquote><div><br></div><div>Woo hoo! For what it's worth, we also run on a lot of CPU-only Crays using OSMesa and OpenSWR, both old and new Crays (i.e. CLE5 and CLE6).<br><br></div><div>- Chuck<br></div></div><br></div></div>