Find Jobs
Hire Freelancers

multithreaded programming

$10-30 USD

Terminado
Publicado hace alrededor de 6 años

$10-30 USD

Pagado a la entrega
I need you to develop some software for me. I would like this software to be developed for Linux using C. Write a multithreaded program in C under Linux using the pthread user-thread API to calculate the matrix multiplication as described above. Your program should read one command-line parameter which is the name of a file that contains the following data: 1. In the first line: three integers M, K and N, indicating the dimensions of matrices AMxK and BKxN 2. The matrix values, one row per line starting by matrix A, then matrix B. 3. This means that the file must contain 3+(M x K)+(K x N) values in 1+M +K lines. The program (main thread) must then create M x N worker threads, each responsible for calculating one element of matrix C, then it must wait for all the worker threads to finish. Each worker thread must write one output line identifying itself in terms of the parameters passed to it and printing the result of its calculation. The main thread shall then print the resulting matrix and terminate. Your program must check for all possible errors and if there are some errors, it shall attempt correcting them by interacting with the user or terminate gracefully after printing a useful error message. All work should be in a single .zip file that contains ONLY three files: a) Your C source program, fully documented and commented, b) Your test data file as described above. c) Your program output including: M, K, N, A, B and C.
ID del proyecto: 16460761

Información sobre el proyecto

2 propuestas
Proyecto remoto
Activo hace 6 años

¿Buscas ganar dinero?

Beneficios de presentar ofertas en Freelancer

Fija tu plazo y presupuesto
Cobra por tu trabajo
Describe tu propuesta
Es gratis registrarse y presentar ofertas en los trabajos
Adjudicado a:
Avatar del usuario
Hello, I am interested in this project and so wanted to discuss more it in details. I have experience in C and C++ programming. Thanks
$25 USD en 1 día
4,9 (39 comentarios)
5,1
5,1

Sobre este cliente

Bandera de SAUDI ARABIA
Saudi Arabia
0,0
0
Forma de pago verificada
Miembro desde mar 10, 2018

Verificación del cliente

¡Gracias! Te hemos enviado un enlace para reclamar tu crédito gratuito.
Algo salió mal al enviar tu correo electrónico. Por favor, intenta de nuevo.
Usuarios registrados Total de empleos publicados
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Cargando visualización previa
Permiso concedido para Geolocalización.
Tu sesión de acceso ha expirado y has sido desconectado. Por favor, inica sesión nuevamente.