# Intel fortran to gfortran

**URL:** <https://fortran-lang.discourse.group/t/intel-fortran-to-gfortran/3711>\
**Category:** Help\
**Created:** [June 10, 2022, 1:16pm UTC](https://fortran-lang.discourse.group/t/intel-fortran-to-gfortran/3711 "2022-06-10T13:16:20Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![alozada](https://yyz2.discourse-cdn.com/free1/user_avatar/fortran-lang.discourse.group/alozada/32/298_2.png) [@alozada](https://fortran-lang.discourse.group/u/alozada)\
**Post date:** [June 10, 2022, 2:25pm UTC](https://fortran-lang.discourse.group/t/intel-fortran-to-gfortran/3711/2 "2022-06-10T14:25:13Z")

</div>

Hi @RezaRezaei,  
this link can be useful:

> [@Equivalent gfort and ifort compilation](https://fortran-lang.discourse.group/t/equivalent-gfort-and-ifort-compilation/3092):
>
> I am trying to compile a code using gfortran instead of ifortran. The gfortran code runs much much slower than the ifortran code. It does not even use all threads from my computer. I have 40 cores and 80 threads. ifort uses all of them.I think it has to do with the ifort flag /Qm64 but can’t be sure (using the /Qm32 flag on ifort is slower and does not use all the threads on openmp - not sure why). This is the way that visual studio seems to be compiling my code: Compiling with Intel® Fortran…

you could also try _fpm_ to build your program  
[https://fpm.fortran-lang.org/en/index.html](https://fpm.fortran-lang.org/en/index.html)

---

_[View the full topic](https://fortran-lang.discourse.group/t/intel-fortran-to-gfortran/3711)._
