[Paraview-developers] general error loading plugins on Cray

Andy Bauer andy.bauer at kitware.com
Tue Nov 22 09:22:57 EST 2016


Hi Jean,

Thanks for the investigation and fix. Do you mind sharing your changes to
DynamicLoader.cxx? A VTK gitlab merge request or even just the file itself
would be great. I'd like to make sure that this fix gets into VTK and PV.

Thanks,
Andy

On Tue, Nov 22, 2016 at 7:36 AM, Favre Jean <jfavre at cscs.ch> wrote:

>
> I'll respond to my own post. Thanks to a great tip from fellow John
> Biddiscombe, we figured out that the DynamicLoader::OpenLibrary() was
> wrongly compiled to be
> {
> return 0;
> }
>
> because of an #if defined() statement checking for
> CRAYXT_COMPUTE_LINUX_TARGET
>
> 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
>
> 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/DynamicLoader.cxx to default to the last case
> called " // 6. Implementation for default UNIX machines."
>
> I am now up and running with PV5.2 on the Cray XC, running EGL.
>
> -----------------
> Jean/CSCS
>
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/
> opensource/opensource.html
>
> Search the list archives at: http://markmail.org/search/?q=
> Paraview-developers
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/paraview-developers
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview-developers/attachments/20161122/7ed43649/attachment.html>


More information about the Paraview-developers mailing list