Hello,
Is there a canonical way to obtain a globally unique 64bit unsigned integer
across all mpi processes, multiple times?
Thanks
MM
Unique to each process?
Try this:
int rank;
MPI_Comm_rank(MPI_COMM_WORLD, &rank);
uint64_t unique = rank;
To get additional unique values:
int size;
MPI_Comm_size(MPI_COMM_WORLD, &size);
unique += size;
If this isn't insufficient, please ask to question differently.
There is no canonical met
Hello
Yes thanks. I can split the 64bit universe into the number of processors
indeed, then generate in each process unique ids that will never conflict
with ids from other processors.
This will be an index into a data structure that is cloned in each
processor (and maintained cloned throughout th
Hi Reuti,
May I know how to starts the second mpi program once the previous program is
finished? I am using Fedora Cluster.
Hope you can provide me some guide on this.
Thank you.
Best Regards,Shi Wei.
> From: re...@staff.uni-marburg.de
> Date: Tue, 27 Aug 2013 08:56:26 +0200
> To: us...@open-mpi.
Hello,
It is against the idea of parallel computing but you can do something like
this
if (rank == 0)
{
//do something
int done = 1;
MPI_Send((void*)&done, 1, MPI_INT, 1, 0, MPI_COMM_WORLD):
}
else if (rank == 1)
{
MPI_Status * status;
int start;
MPI_Recv((void*)&start, 1
Oh sorry I just misunderstand the question :) We are using qsub command in
our universities cluster and it schedules and it does all the scheduling.
On Sat, Jan 4, 2014 at 1:44 AM, Özgür Pekçağlıyan <
ozgur.pekcagli...@gmail.com> wrote:
> Hello,
>
>
> It is against the idea of parallel computing
Why don't you just have one script that executes all the jobs sequentially, and
then use the "at" command to start it?
On Jan 3, 2014, at 8:36 AM, Ng Shi Wei wrote:
> Hi Reuti,
>
> May I know how to starts the second mpi program once the previous program is
> finished? I am using Fedora Clus