mpi Questions
3
Solved
I am working on an Fortan code that already uses MPI.
Now, I am facing a situation, where a set of data grows very large but is same for every process, so I would prefer to store it in memory only...
Therapeutic asked 17/7, 2014 at 7:24
1
Solved
I'm new to the MPI world and there is a question that is really annoying me. What's the real difference between -n and -np?
1
Solved
I am now dealing with a large dataset and I want to use parallel calculation to accelerate the process. WestGird is a Canadian computing system which has clusters with interconnect.
I use two pack...
Carminecarmita asked 2/12, 2016 at 21:39
1
Solved
What is the safest way to send a size_t type number in MPI? For instance, I am sure that it is not safe to send it blindly as an MPI_INT. Will MPI_LONG always work?
1
Solved
I noticed that the sized of the int and double are different that the ones that are calculated using the function MPI_Type_size(MPI_INT, &MPI_INT_SIZE); Does that mean sizeof(MPI_INT) returns t...
Prostrate asked 11/11, 2016 at 18:55
1
Solved
I have one process running a program called t1.py which spawns 3 other processes, all of which run t2.py. I want to broadcast a value from the spawned process with a rank of 0 to the two other spaw...
Prohibitionist asked 5/11, 2016 at 15:33
1
Solved
I have 20,000*515 numpy matrix,representing biological datas. I need to find the correlation coefficient of the biological data,meaning as a result I would have a 20,000*20,000 matrix with correlat...
Lashonda asked 1/11, 2016 at 15:21
2
Solved
Usually when I use mpirun, I can "overload" it, using more processors than there acctually are on my computer. For example, on my four-core mac, I can run mpirun -np 29 python -c "print 'hey'" no p...
2
This program written using C Lagrange and MPI. I am new to MPI and want to use all processors to do some calculations, including process 0. To learn this concept, I have written the following simpl...
Archaize asked 10/10, 2016 at 22:46
3
Solved
1
Solved
I am new to MPI and this program has been written using C language. In the following program, I am asking other processors to print messages. But I want to print the "END" message at process/rank 0...
2
Solved
Is MPI_Bcast() blocking or nonblocking? In other word, when the root sends a data, do all processors block until every processor has received this data? If not, how to synchronized (block) all of t...
Barghest asked 17/9, 2016 at 19:3
2
Solved
I'm trying to profile some C code but one of the most intuitively costly functions isn't showing up in the GProf output.
int main() {
initialise...
haloSwap();
for(...) {
functions...
propa...
2
Solved
I'm trying to broadcast a message from the root node to all other nodes using MPI_Bcast. However, whenever I run this program it always hangs at the beginning. Does anybody know what's wrong with i...
1
Solved
I am passing an mpi communicator from python to C. I chose to use boost's mpi communicator as mpi4py does not seem to have good C support. Check it out:
try: from boost.mpi import world
except I...
Nostoc asked 25/2, 2016 at 23:31
4
Solved
Every time I come across something like "process 0 does x task" , I am inclined to think they mean processor.
After reading a bit more about it, I find that there are two memory classifications, ...
Parke asked 10/8, 2016 at 12:27
1
Solved
That's pretty much the question. I mean, I know mpi_file_write_all is the "collective" version, but I figure mpi_file_write is going to be called by several processes all at once anyway, so what is...
3
Solved
Since MPI doesn't offer binary compatibility, only source compatibility, we're forced to ship our solver source code to customers for them to use our solver with their preferred version of MPI. Wel...
3
Solved
I'm experimenting with MPI and was wondering if this code could cause a deadlock.
MPI_Comm_rank (comm, &my_rank);
if (my_rank == 0) {
MPI_Send (sendbuf, count, MPI_INT, 1, tag, comm);
MPI_Re...
3
Solved
According to this post (https://github.com/mxcl/homebrew/pull/2953), the flag "--with-mpi" should enable boost_mpi build support for the related homebrew formula, so I am trying to install boost vi...
3
Solved
Suppose I have a very large array of things and I have to do some operation on all these things.
In case operation fails for one element, I want to stop the work [this work is distributed across nu...
Ample asked 31/1, 2016 at 4:50
1
Solved
Desired behavior:
I am trying to take a number of lists of varied lengths on different nodes, collect them together in one node, and have that master node place them in a set. This list is named r...
1
Solved
I got confused about 3 things: mpirun, mpiexec and mpiexec.hydra
On my cluster, all of them exist, and all of them belong to intel.
What is the difference and relationship between them? Especial...
Synthesize asked 22/5, 2016 at 1:43
2
Solved
As per my little knowledge mpirun and mpiexec both are launcher. Can anybody tell the exact difference between mpiexec and mpirun?
2
Solved
Can anyone please explain what are the differences between MPI_Scatter and MPI_Bcast? (Beside the fact that any process can broadcast using MPI_Scatter and only root can use MPI_Bcast)
In which ca...
© 2022 - 2024 — McMap. All rights reserved.