Re: [OMPI users] OMPI seg fault by a class with weird address.

2011-03-15 Thread Belaid MOA
Hi, I think it is time to see the actual code:) Would it be possible to send us a part of the code that we can run and test with? With best regards, -Belaid. From: dtustud...@hotmail.com To: us...@open-mpi.org List-Post: users@lists.open-mpi.org Date: Tue, 15 Mar 2011 09:44:35 -0600 Subject: R

Re: [OMPI users] OMPI seg fault by a class with weird address.

2011-03-15 Thread Belaid MOA
Hi Jack, I may need to see the whole code to decide but my quick look suggest that ptmalloc is causing a problem with STL-vector allocation. ptmalloc is the openMPI internal malloc library. Could you try to build openMPI without memory management (using --without-memory-manager) and let us kn

Re: [OMPI users] OMPI seg fault by a class with weird address.

2011-03-15 Thread Belaid MOA
Hi Jack, 1- Where is your main function to see how you called your class? 2- I do not see the implementation of GetPosition, GetName, etc.? With best regards, -Belaid. From: dtustud...@hotmail.com To: us...@open-mpi.org List-Post: users@lists.open-mpi.org Date: Mon, 14 Mar 2011 19:04:12 -0600

Re: [OMPI users] Open MPI access the same file in parallel ?

2011-03-10 Thread Belaid MOA
Hi Jack, cplex.importModel(model, problemFile) basically reads the problem from "problemFile" and add its content to "model". So, I do not see any problem calling that in your code for each process. The best way is just to try it out and let us know how it goes. With best regards, -Belaid.

Re: [OMPI users] Open MPI access the same file in parallel ?

2011-03-10 Thread Belaid MOA
Hi, You can do that with C++ also. Just for fun of it, I produced a little program for that; each process reads the whole file and print the content to stdout. I hope this helps: #include #include #include #include using namespace std; int main (int argc, char* argv[]) { int rank

Re: [OMPI users] mpirun is using one PBS node only

2009-12-02 Thread Belaid MOA
> Gustavo Correa > Lamont-Doherty Earth Observatory - Columbia University > Palisades, NY, 10964-8000 - USA > --------- > > > Belaid MOA wrote: > > I actually tried both: > > -- in the in

Re: [OMPI users] mpirun is using one PBS node only

2009-12-01 Thread Belaid MOA
S will launch you on. Hope that is clearRalph On Dec 1, 2009, at 7:35 PM, Belaid MOA wrote:> Yes, this page is definitely incorrect if you want to run with PBS/TM > support -- you definitely need to install with TM support on all nodes. > > The reason is that PBS will launch your script

Re: [OMPI users] mpirun is using one PBS node only

2009-12-01 Thread Belaid MOA
what to install and where. Thanks a lot Gus. ~Belaid. > Date: Tue, 1 Dec 2009 19:15:53 -0500 > From: g...@ldeo.columbia.edu > To: us...@open-mpi.org > Subject: Re: [OMPI users] mpirun is using one PBS node only > > Hi Belaid Moa > > Belaid MOA wrote: > > I

Re: [OMPI users] mpirun is using one PBS node only

2009-12-01 Thread Belaid MOA
> Yes, this page is definitely incorrect if you want to run with PBS/TM > support -- you definitely need to install with TM support on all nodes. > > The reason is that PBS will launch your script (and therefore > "mpirun") on the first node of the job. This node must have an Open > MPI mp

Re: [OMPI users] mpirun is using one PBS node only

2009-12-01 Thread Belaid MOA
with TM support on all nodes. > > On Dec 1, 2009, at 6:08 PM, Belaid MOA wrote: > > > I tried -bynode option but it did not change anything. I also tried > > the "hostname" name command and > > I keep getting only the name of one node repeated according to t

Re: [OMPI users] mpirun is using one PBS node only

2009-12-01 Thread Belaid MOA
Subject: Re: [OMPI users] mpirun is using one PBS node only > > Hi Belaid Moa > > The OpenMPI I install and use is on a NFS mounted directory. > Hence, all the nodes see the same version, which has "tm" support. > > After reading your OpenMPI configuration paramete

Re: [OMPI users] mpirun is using one PBS node only

2009-12-01 Thread Belaid MOA
file. Also, that file (and the entire path to it) must be >readable by the user. >Can you check that this is the case?The file exist and the user can read it. I >can actually cat its content from the PBS script I am running. With Best Begards. ~Belaid. On Dec 1, 2009, at 4:08 PM, B

Re: [OMPI users] mpirun is using one PBS node only

2009-12-01 Thread Belaid MOA
nstall all Is this correct? Thanks a lot in advance. ~Belaid. > Date: Tue, 1 Dec 2009 17:07:58 -0500 > From: g...@ldeo.columbia.edu > To: us...@open-mpi.org > Subject: Re: [OMPI users] mpirun is using one PBS node only > > Hi Belaid Moa > > Belaid MOA wrote: > > Tha

Re: [OMPI users] mpirun is using one PBS node only

2009-12-01 Thread Belaid MOA
s] mpirun is using one PBS node only > > Hi Belaid Moa > > Belaid MOA wrote: > > Hi everyone, > > Here is another elementary question. I tried the following steps found > > in the FAQ section of www.open-mpi.org with a simple hello world example > > (with P

[OMPI users] mpirun is using one PBS node only

2009-12-01 Thread Belaid MOA
Hi everyone, Here is another elementary question. I tried the following steps found in the FAQ section of www.open-mpi.org with a simple hello world example (with PBS/torque): $ qsub -l nodes=2 my_script.sh my_script.sh is pasted below: #!/bin/sh -l #PBS -N hell

Re: [OMPI users] Elementary question on openMPI application location when using PBS submission

2009-12-01 Thread Belaid MOA
gt; Date: Tue, 1 Dec 2009 15:14:01 -0500 > From: g...@ldeo.columbia.edu > To: us...@open-mpi.org > Subject: Re: [OMPI users] Elementary question on openMPI application location > when using PBS submission > > Hi Belaid Moa > > I spoke too fast, and burnt my tongue. >

Re: [OMPI users] Elementary question on openMPI application location when using PBS submission

2009-12-01 Thread Belaid MOA
] Elementary question on openMPI application location > when using PBS submission > > Hi Belaid Moa > > Belaid MOA wrote: > > Thank you very very much Gus. Does this mean that OpenMPI does not copy > > the executable from the master node to the worker nodes? > > Not t

Re: [OMPI users] Elementary question on openMPI application location when using PBS submission

2009-12-01 Thread Belaid MOA
To: us...@open-mpi.org > Subject: Re: [OMPI users] Elementary question on openMPI application location > when using PBS submission > > Hi Belaid MOA > > See this FAQ: > http://www.open-mpi.org/faq/?category=running#do-i-need-a-common-filesystem > http://www.open-mpi.org/f

[OMPI users] Elementary question on openMPI application location when using PBS submission

2009-12-01 Thread Belaid MOA
Hello everyone, I am new to this list and I have a very elementary question: suppose we have three machines, HN (Head Node hosting the pbs server), WN1 (A worker node) and WN (another worker node). The PBS nodefile has WN1 and WN2 in it (DOES NOT HAVE HN). My openMPI program (hello) and PBS sc