[Beowulf] Seg Fault with pvm_upkstr() and Linux.
Many of your questions may have already been answered in earlier discussions or in the FAQ. The search results page will indicate current discussions as well as past list serves, articles, and papers.
Josh Zamor jzamor at gmail.comFri Mar 18 07:29:40 PST 2005
- Previous message: [Beowulf] Seg Fault with pvm_upkstr() and Linux.
- Next message: [Beowulf] Seg Fault with pvm_upkstr() and Linux.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Mar 16, 2005, at 2:34 PM, Robert G. Brown wrote:
>
> OK, it works perfecto-mundally. See code below:
>
> #include <pvm3.h>
> #include <stdio.h>
> #include <string.h>
>
> int main(int argc, char** argv) {
> int info, mytid, myparent, child[2];
> char buf[1024];
...
> for(int i = 0; i < 2; ++i) {
> info = pvm_recv(-1, 11);
> info = pvm_upkstr(buf);
> printf("Received return string: %s\n", buf);
> }
>
>
> (So it was probably one or the other of the bugs I pointed out.)
>
That was it. I had tried that when experimenting with the factorial
program, but I had made another mistake that masked the solution. And
then of course I made the always fatal mistake of assuming that it must
be somebody else's code, as it worked on one machine and not on the
other. Thanks, I really appreciate your assistance.
Regards,
-J Zamor
jzamor at gmail.com
- Previous message: [Beowulf] Seg Fault with pvm_upkstr() and Linux.
- Next message: [Beowulf] Seg Fault with pvm_upkstr() and Linux.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Beowulf mailing list
