I noticed that at the end of plSelectDev(), in plcore.c, a couple more fields of the PLStream needed to be filled in (feedback from valgrind :-)), so I added these two lines at line 3230:
plsc->tidy = (void*) dispatch_table[dev - 1]->pl_tidy; plsc->tidy_data = (void*) plsc; I expect the first line is correct for all devices. I think the 2nd line is OK, too (I checked it is correct for XWindows, the only device I am using) Norm ------------------------------------------------------------------------------ Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ Plplot-devel mailing list Plplot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-devel