Giter VIP home page Giter VIP logo

Comments (6)

ravibitsgoa avatar ravibitsgoa commented on August 13, 2024 1

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.

Divyanshc10 avatar Divyanshc10 commented on August 13, 2024

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.

justadityabist avatar justadityabist commented on August 13, 2024

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.

neerajmahna avatar neerajmahna commented on August 13, 2024

I am also having issues with Week 5 solution. It is not passing verification step itself.

from parallelism-intel-arch-assignments.

ltosh9802 avatar ltosh9802 commented on August 13, 2024

@neerajmahna I created a repo with the updated solution. Check it out!

from parallelism-intel-arch-assignments.

neerajmahna avatar neerajmahna commented on August 13, 2024

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 photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.