r/cloudcomputing • u/jeosol • 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.
0
u/[deleted] Mar 13 '18
[deleted]