From: rousseau@wallace.gemplus.fr (Ludovic Rousseau)
Newsgroups: comp.parallel.pvm
Subject: two daemons on a bi-proc
Date: 1 Mar 1999 16:04:25 GMT
Organization: Gemplus Crypto
Message-Id: <slrn7dlek9.4cv.rousseau@gromit.dvlmp.gemenos.south-europe.gemplus>
Xref: ukc comp.parallel.pvm:8073


I would like to have two pvmd on a bi-proc computer.

The idea is to have the same code for mono and bi processor machines. I
use the function pvm_config(&nhost, NULL, &hostp) in C and would like to
have nhost=number_of_cpus instead of nhost=number_of_machines and have
the struct hostp filled accordingly.

If I try to add two times the same host I have a "Duplicate host" error
message.

I don't want my program to know which computer has 2 processors and which
ones have only one.

Is there a clean way to do it ?
I haven't found in the FAQ

-- 
Ludovic Rousseau
Ludovic.Rousseau@wallace.gemplus.fr
-- Normaliser Unix c'est comme pasteuriser le Camembert, L.R. --

