Re: [OMPI users] getenv issue

2008-01-15 Thread Prakash Velayutham
Hi Ralph, Sorry that I did not come back to clean up this request. Actually, it was a stupid user (my) error. I had not included stdlib.h in my source. Sorry again and thanks for the effort. Prakash On Jan 14, 2008, at 11:12 PM, Jeff Squyres wrote: Sorry, this mail slipped by me. The mo

Re: [OMPI users] getenv issue

2008-01-14 Thread Jeff Squyres
Sorry, this mail slipped by me. The most common reason that I have seen this happen is if you are not using the TM support in Open MPI to launch the MPI processes on your allocated nodes. I do not have a TM system to test with, but I *believe* that TM will replicate your entire environmen

[OMPI users] getenv issue

2008-01-05 Thread Prakash Velayutham
Hi, I am trying to start a simple MPI code below using Open MPI 1.2.4 and Torque 2.2.1. prakash@bmi-opt2-04:~/thesis/CS/Samples/changejob> cat pbs.c #include #include "mpi.h" int gdb_var; void main(argc, argv) int argc; char **argv; { int rank, size, ret; gdb_var = 0; char *job