Newsgroups: comp.parallel.pvm
From: Antonio Scotti <scotti@centauro.upc.es>
Subject: [HELP}: Bus Error doing PVM_SPAWN()
Organization: Universitat Politecnica de Catalunya
Date: 20 Nov 1995 17:22:57 GMT
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <48qdhh$agl@diable.upc.es>

Hi,
does anyone know what may cause a program to crash while executing
pvm_spawn()?
This seemed to happen suddenly, that is the program was perfectly working
just a few seconds before, and I didn't make any change, especially
to the line that do the spawning.
I checked all of pvm_spawn() parameters but everything looks ok
here is the piece of code under investigation:

    info = pvm_spawn("pxgj", (char**)0, 0, "", NTASKS-1, &tids[1]); 
    if(info != NTASKS-1 || info < 0){
      pvm_perror("pxgj");
      pvm_exit();
      cout<<"pvm_spawn failed: info = "<<info<<" n = "<<n<<endl;
      return -1;
    }  

The other thing is that it doesn't even return an Error message, (apart for the
"Bus Error", system message), but it just runs down before a value for 'info'
could be produced.
Any help would be appreciated.
Cheers

	-- Antonio


=============================================================
= Antonio Scotti                                            =
= CIMNE                                                     =     
= International Centre for Numerical Methods in Engineering =
= Universitat Politecnica de Catalunya, Campus Norte        =
= s/n Gran Capita`, Edificio C1                             =
= Barcelona, Spain                                          =
=                                                           =
= phone: ++ 34 3 401.74.03                                  =
= E-mail: scotti@centauro.upc.es                            =
= 							    =
=           "The mind leads, the body follows"              =
=                                     KOICHI TOHEI          =       
=============================================================


