Find Jobs
Hire Freelancers

Speed up MATLAB code on Linux Cluster - repost

$30-250 USD

In Progress
Posted about 10 years ago

$30-250 USD

Paid on delivery
Hi there, For a customer I've got a matlab project: I've got a quite large matlab code that takes a a long time to run. Toe code solve an economic model numerically and consists of two main part: The first part solves an analytic equiation of on a large multidimensional grid (similar to the finite elements method). The second part simulates the model using random numbers and the solutions found in the first part. Part 1 is about 90 lines including emtpy lines (see EGM_parfor.m), and part 2 is about 160 lines (see Simulate.m). Both files use similar functions. The code runs fine, but it doesn't scale well and the speed up is not so large when i run on multiple cores. What I'd like help with is: EGM_parfor.m: Optimize the code so that it runs faster in parallel. Please leave inputs and outputs unchanged so I don't need to alter the code in any other place in order to use the changes. * There is probably a lot of performance to gain by correctly accessing the memmory ex by accessing data in colunmns and avoid creating unneccesary variables as outlined in [login to view URL]) * There might be some help on this blog?: [login to view URL] (But the code don't have many matrix multiplications) Simulate.m: This code is not yet parallelized. It is much quicker than the EGM_parfor, but still a little slow. Please leave inputs and outputs unchanged so I don't need to alter the code in any other place in order to use the changes. * Please optimize the code to run faster, maybe some of the tricks from above? * Further, please paralellize the code by adding an "outer" loop around it that divides the code into N "chunks" that each run on a separate matlab worker. For example, if there is 100k simulations and N=4, then create a parfor-loop that runs the first 25k simulations in the first iteration, simulations 25001-50k on the second iteration, and so on. I attach the files you need to see in order to make a bid. Once I've decided on a bidder I will send all of the files as a .zip-file. In order for me to take your bid seriously please write a few sentences about your experience of using PCT and MDCS in general and your experience with optimizing such code on a 64bit linux cluster specifically. I will put all the money on escrow, but not release the payment until I'm 100% satisfied that the code is working as before, but substantially faster. I expect a code improvement of around 10 times (EG_parfor + Simulate). If you can speed it up as much as 50 times I will double your bid as payment, 100 times tripple it.
Project ID: 5491255

About the project

6 proposals
Remote project
Active 10 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
I am expert in optimizing matlab code. I have efficient experience of using PCT and MDCS in general and optimization of code on a 64bit linux cluster.. Kindly send your response asap. With best regards, Rajiv Kumar Tiwari .........................
$188 USD in 5 days
0.0 (0 reviews)
0.0
0.0
6 freelancers are bidding on average $784 USD for this job
User Avatar
Hello, I hold a PhD in communication engineering. I have done all simulations in Matlab and am quite good in optimizing Matlab codes. I do not have access to a linux cluster. Besides, I have had little success getting better performance out of clusters myself. I will do whatever possible to make it faster on my machine. Simplifying the code is too hard. I will only be optimizing the code. The payout you have described is too low. The work is quite hard. Here is what I do to make it run faster on a cluster: I assume that you are running the same simulations multiple times and averaging the results. Open 5 Matlab windows (Assuming this is allowed by the Matlab licence). Give 1/5 number of runs on each of these windows. Get the results from each of these windows and average them. Regards EnggWorks
$222 USD in 15 days
5.0 (12 reviews)
5.0
5.0
User Avatar
MBA and PhD in physics. Large experience in complex phenomena simulations using Matlab. I will be glad to help you. Please send a message back to establish the details.
$250 USD in 30 days
5.0 (33 reviews)
4.5
4.5
User Avatar
Hello, I am a chemical engineer with a lot of experience in modeling and simulation. I have also developed some MATLAB models for science and engineering. I have placed a bid but this can only be precise if a further full revision of the code can be made, after you award the project. Regards
$500 USD in 10 days
5.0 (4 reviews)
2.3
2.3
User Avatar
Are you interested in an extremly fast CUDA implementation running on GPUs? I could provide one. I have experience in the parallelization of algorithms. On my last project (not on freelancer.de, I am new to this site) I could achieve an upspeed of about 100,
$3,333 USD in 30 days
0.0 (0 reviews)
0.0
0.0
User Avatar
I'm electronic's engineer and I worked in similar projects regarding optimization of code. I provide a well-done projects and on-time delivery. If we work together I'll be available anytime if you have questions about how the project is going on. You can contact me for further information Best regards for a future collaboration Stephane
$211 USD in 15 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of SWEDEN
stockholm, Sweden
4.7
11
Payment method verified
Member since Mar 3, 2011

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.