Forum Message

 

 

We have moved the forum to https://forum.ngsolve.org . This is an archived version of the topics until 05/05/23. All the topics were moved to the new forum and conversations can be continued there. This forum is just kept as legacy to not invalidate old links. If you want to continue a conversation just look for the topic in the new forum.

Notice

The forum is in read only mode.

"Didn't find pointer" message whist using multiprocessing

More
4 years 6 months ago #1937 by BenWilson94
Hello,

I am having an issue whilst using NGSolve version 6.2.1908 in parallel on a Linux machine. The same code works on a Linux machine running NGSolve version 6.2.1905-45-g73eb677a and works for mac using 6.2.1905.

part of the message received was


Loading a nullptr
Typeids are different: ngfem::CoefficientFunction vs ngfem::ConstantCoefficientFunction
Reading pointer of type std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >
Didn't find pointer, create new registry entry at 0Loading a nullptr

Store a possibly more complicated pointer
Reading pointer of type std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >
Writeout version needed = Loading a nullptr

Reading pointer of type std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >Pickling output for object of type ngfem::CoefficientFunction = ([b'\xfd\xff\xff\xff"\x00\x00\x00ngfem::ConstantCoefficientFunction\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xf0?', b'\x00\x00\x00\x00\x00\x00\x00\x00', b'\x00\x00\x00\x00\x00\x00\x00\x00'],)


As far as I can tell the results obtained are still the same but there is a significant decrease in performance.

Kind regards,

Ben
More
4 years 6 months ago - 4 years 6 months ago #1938 by christopher
Yes we added a lot more debug output while pickling... This is way too much for normal program run. As a workaround you can set the ngsglobals.msg_level down, we will reduce the default logging output from debug to info in future releases.

Thanks for reporting,
Best
Christopher
Last edit: 4 years 6 months ago by christopher.
More
4 years 6 months ago #1939 by BenWilson94
Hi Christopher,

That's excellent, thank you for your help.

Kind regards,

Ben
Time to create page: 0.165 seconds