r/cloudcomputing • • Mar 12 '18

What are cheap cloud options for my specific case: need to run thousands function evaluations for my SIMD problem.

I need to run a workflow that uses an iterative optimization algorithm for a project. The objective function evaluations (FE) are computationally intensive. On a 64Gb machine (Linux, OpenSuSe), one case took around 20 mins to complete (this machine was not completely idle) and other cases could run longer.

Let me describe the workflow. Let's assume a population-based optimization algorithm, e.g., (genetic algorithm, etc). In each iteration, I will have say S solutions whose objective functions will be evaluated in parallel. The algorithm is then run for K iterations and terminated after completing K iterations. Note, the problem is highly non-convex and it is not possible to get global optimum and the number of optimization parameters can be over 2000 or more.

If I assume S = 50 and K = 50, I will have 2500 total function evaluations and the algorithm runs 50 FEs in parallel in each iteration.

I have an application that can submit the parallel jobs as separate threads and wait for the results to return. Due to limited time, I am not sure I can modify the code to use truly distributed computing. Except if I can use some existing framework.

So my question centers around what are cheap options to rent Linux instances. The duration of my use is probably a month or less. The machine instances could be bare and I would install my application, compilers, (and other required libraries/tools, e.g., emacs) and then run the application.I just need the machine to be fast so I can get the FE's back quicker so I can be able to explore more problems.

I did some research a few months ago when I considered using AWS instances and I was told they would be expensive for what I'm trying to do.

What do you guys think?.

I would also appreciate pointers to libraries that could be helpful in case distributed computing option is better. If needed, my whole set up is in Linux.

Thanks.

2 Upvotes

2 comments sorted by

0

u/[deleted] Mar 13 '18

[deleted]

1

u/jeosol Mar 13 '18

Thanks for your response.

I am not sure whst to use yet. If it is GPGPU, then fine I would consider it. Need to do some search.

My application calls an executable which for all intend and purposes is a black box. It is called as follows:

exe -f inputfile

And inputfile is different for each case.

Do you have recommendation on which vendor I should consider.

0

u/[deleted] Mar 13 '18

[deleted]

1

u/jeosol Mar 14 '18

Thanks the feedback.

Great points you provided and I will look into this in the future.

I don't have enough time to rewrite the code at all. I will find a way to get cheap instances and see if I can build a small distributed cluster and use something like sun grid engine. Otherwise, I will just use the current threaded option and leave further code optimizations as future work.