You might try
call system("echo $PATH")
to make sure your PATH is correctly set up in a sub-shell.
Hoping this helps.
Pierre.
On Wed, 13 Oct 2004, Jeff Squyres wrote:
> On Oct 11, 2004, at 4:44 AM, Tony Saad wrote:
>
> > Can i start lamboot from another program?
>
> Yes.
>
> > i.e. system("lamboot") or system("lamboot hostfile")
> >
> > The first error i got was that it cant find lamboot; however, my paths
> > are set up correctly.
>
> Hmm -- this seems contradictory. If your paths are setup properly,
> then lamboot should be able to be found.
>
> You might want to double check the permissions on lamboot / hboot /
> etc. in the bin directory where those executables reside.
>
> > So ive tried system("/usr/.../lamboot") and it was still failing.
>
> > I tried to decipher it, and issued the command
> > system("/usr/.../hboot") and it said that it couldnt find lamd!
>
> Without more details, all three of these sound like the same problem
> (perhaps PATH or permissions problems).
>
> > this is very weird since i am able to run mpirun, lamclean and tkill
> > using the same procedure.
> >
> > any suggestions???
> >
> > Thank you
> > Toni
> >
> > _______________________________________________
> > This list is archived at http://www.lam-mpi.org/MailArchives/lam/
> >
>
>
--
Soutenez le mouvement SAUVONS LA RECHERCHE :
au national : http://recherche-en-danger.apinc.org/
sur Grenoble : http://recherchegrenoble.free.fr et http://etatsg.free.fr
_/_/_/_/ _/ _/ Dr. Pierre VALIRON
_/ _/ _/ _/ Laboratoire d'Astrophysique (UMR 5571 CNRS)
_/ _/ _/ _/ Observatoire de Grenoble / U. Joseph Fourier
_/_/_/_/ _/ _/ BP 53 F-38041 Grenoble Cedex 9 (France)
_/ _/ _/ http://www-laog.obs.ujf-grenoble.fr
_/ _/ _/ mail: Pierre.Valiron_at_[hidden]
_/ _/ _/ Phone: +33 4 76 51 47 87 Fax: +33 4 76 44 88 21
_/ _/_/ Mobile: 06 73 78 86 36
|