Comments (6)
Can you please clarify what you mean by "answer of the codes"?
I think these are my solutions only.
But I took this course around 6 months back, hence my memory is a bit hazy.
For week 2, can you please take a look at this: https://github.com/ravibitsgoa/Parallelism-Intel-Arch-Assignments/blob/master/week2-integral/solutions/4-mpi/worker.cc
from parallelism-intel-arch-assignments.
Hey man ! The "worker.cc" file of your week 5 is not being verified by the Coursera external tool. There must be an error in it ; can you please see to it and rectify if any. Tnx
from parallelism-intel-arch-assignments.
the course has updated the question.Ravi did the course 6 monnths back and thats why it will be showing verification error if you try his code.Its written in the important notice in week5 assignment
from parallelism-intel-arch-assignments.
I am also having issues with Week 5 solution. It is not passing verification step itself.
from parallelism-intel-arch-assignments.
@neerajmahna I created a repo with the updated solution. Check it out!
from parallelism-intel-arch-assignments.
Any help in resolving issues in Week 5 assignment would be appreciable. I am stuck in following area:
int right = rank+1, left = rank-1;
if(rank == world_size-1)
{
MPI_Send(&d_t[start_segment], 1, MPI_FLOAT, left, 0, MPI_COMM_WORLD);
MPI_Recv(&d_t[start_segment-1], 1, MPI_FLOAT, left, 0, MPI_COMM_WORLD, &status);
}
else if(rank==0)
{
MPI_Send(&d_t[last_segment -1], 1, MPI_FLOAT, right, 0, MPI_COMM_WORLD);
MPI_Recv(&d_t[last_segment], 1, MPI_FLOAT, right, 0, MPI_COMM_WORLD, &status);
}
else
{
MPI_Send(&d_t[start_segment], 1, MPI_FLOAT, left, 0, MPI_COMM_WORLD);
MPI_Recv(&d_t[start_segment-1], 1, MPI_FLOAT, left, 0, MPI_COMM_WORLD, &status);
MPI_Send(&d_t[last_segment -1], 1, MPI_FLOAT, right, 0, MPI_COMM_WORLD);
MPI_Recv(&d_t[start_segment], 1, MPI_FLOAT, right, 0, MPI_COMM_WORLD, &status);
}
from parallelism-intel-arch-assignments.
Related Issues (4)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from parallelism-intel-arch-assignments.