Scientific code optimisation services: faster simulations without changing the physics
Updated · Scientifically reviewed by Priyank Srivastava, PhD on
Short answer
Vlasify Labs optimises scientific codes by measuring first and changing second. We profile your code on representative cases, identify whether it is limited by computation, memory bandwidth, communication or I/O, and make targeted improvements: better algorithms and data layouts, vectorisation, threading, MPI communication and load balance, and parallel I/O. Regression tests confirm that results stay the same within agreed tolerances, and a report documents each change and its measured effect.
Who this is for
Research groups and R&D teams whose simulation or analysis codes are too slow, do not scale, or waste their compute allocation.
Core-hours from job size calculator
Results update as you type. Scientific notation such as 1e18 is accepted.
| Core-hours | — | |
|---|---|---|
| Node-hours | — | |
| GPU-hours | — |
When you need this
- Runs take so long that parameter scans or convergence studies are impractical.
- The code stops speeding up beyond a few nodes.
- Your allocation runs out before the science is done.
- Output writing or input reading takes a large fraction of run time.
Scope
| Area | Typical work |
|---|---|
| Profiling | Hot spots, roofline analysis, MPI and I/O traces on representative cases |
| Single-core | Algorithmic improvements, data layout, vectorisation, avoiding redundant work |
| Threading | OpenMP or task-based parallelism, NUMA-aware memory placement |
| Distributed | Domain decomposition, load balancing, communication overlap and reduction |
| I/O | Parallel HDF5 or ADIOS2, fewer and larger writes, appropriate file-system settings |
| Python | Vectorisation, Numba, Cython or GPU arrays; see speed up Python code |
A profiling audit typically takes one to two weeks; optimisation projects are scoped from its findings.
How we work
- Baseline: agree representative test cases, measure time-to-solution and record reference outputs.
- Profile and diagnose, explaining what limits performance and what gains are plausible.
- Prioritise changes by expected benefit and effort, with your approval.
- Implement incrementally in your version control; regression tests run at every step.
- Measure strong and weak scaling after changes; see strong vs weak scaling.
- Hand over with documentation and a short training session.
A self-help starting point is our guide on how to optimise HPC simulations.
Deliverables
- Optimised code with a changelog explaining each modification.
- Regression test suite and benchmark scripts.
- Performance report with before-and-after measurements and scaling plots.
- Recommendations for further work, including whether a GPU port is worthwhile.
Assumptions and limitations
- Gains depend on the code; no speedup is promised before profiling.
- Performance measured on one system may differ on others; we test on your target hardware where possible.
- Some limits are algorithmic or physical (for example, required resolution) and cannot be removed by tuning alone.
Frequently asked questions
Where do the biggest gains usually come from?+
Often from algorithms and data layout rather than low-level tuning: avoiding repeated work, better solvers or preconditioners, cache-friendly memory access, and removing serial bottlenecks in I/O or set-up. Profiling shows which applies to your code.
Will optimisation change our results?+
Physics changes are made only with your approval. Regression tests compare outputs before and after each change within agreed tolerances, since reordering floating-point operations can change the last digits.
Our code is in Python. Can it be made fast?+
Often, yes: vectorising with NumPy, using compiled extensions (Numba, Cython) or GPU array libraries, and choosing better algorithms. Some codes benefit from moving a few kernels to a compiled language.
Can you help with an allocation proposal?+
Yes. Optimisation work often produces exactly the scaling data and performance figures that supercomputing allocation proposals ask for.
References
- Williams, Waterman & Patterson, Roofline: an insightful visual performance model for multicore architectures, Commun. ACM 52, 65 (2009) · Peer-reviewed article
- Hager & Wellein, Introduction to High Performance Computing for Scientists and Engineers (CRC Press, 2010) · Standard textbook
- Intel VTune Profiler documentation · Intel
Let’s scope your project
Tell us what you need. A founder replies within one working day with a plan and a fixed quote.
Services listed on this page are available today. Products marked “early access” or “in development” on our platform page are not yet generally available.
Spotted an error or an outdated command? Tell us. We correct verified issues promptly.