# Fpm build on multiple threads

**URL:** <https://fortran-lang.discourse.group/t/fpm-build-on-multiple-threads/9497>\
**Category:** Help\
**Created:** [March 27, 2025, 11:46am UTC](https://fortran-lang.discourse.group/t/fpm-build-on-multiple-threads/9497 "2025-03-27T11:46:46Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![rzehumat](https://avatars.discourse-cdn.com/v4/letter/r/ed655f/32.png) [@rzehumat](https://fortran-lang.discourse.group/u/rzehumat)\
**Post date:** [March 27, 2025, 11:46am UTC](https://fortran-lang.discourse.group/t/fpm-build-on-multiple-threads/9497/1 "2025-03-27T11:46:46Z")

</div>

Hello,

is there any option to run `fpm build` on multiple CPU threads to speed up the initial build process?  
Basically I’m looking for equivalent of `make -j`.

Thanks for any comments

---

<div class="post-metadata">

**Author:** ![urbanjost](https://avatars.discourse-cdn.com/v4/letter/u/0ea827/32.png) [@urbanjost](https://fortran-lang.discourse.group/u/urbanjost)\
**Post date:** [March 27, 2025, 1:44pm UTC](https://fortran-lang.discourse.group/t/fpm-build-on-multiple-threads/9497/2 "2025-03-27T13:44:26Z")

</div>

Not sure what the pre-built versions are compiled with but if you compile and load it yourself with openmp then it runs in parallel. Perhaps a pre-built version should be built with OpenMP. Not sure if any of the available install methods take advantage of that either. @lkedward put that in very early on if memory serves me well. One of the reasons I always build from scratch, so maybe others would like that clarified/available in the various packaging available.
