Skip to content
Prev 14477 / 15075 Next

symbol not found in flat namespace '___kmpc_critical'

Rodney,

I don't know much about OpenMP and macOS, but note that these days
  https://mac.r-project.org/tools/
says
  "Additional information on the OpenMP page is available for those
interested in OpenMP support which is not supported by Apple, but still
possible with additional libraries."
and links to
  https://mac.r-project.org/openmp/

I _believe_ that this requires the _user_ (or the check/build system) of
the package on macOS to install one of the custom clang compilers listed on
the page. For this reason, I don't think it is trivial to get the
package through CRAN or distribute the package if it links / uses OpenMP. I
could be wrong of course, since it is not something I follow. I am guessing
the best solution (which could be complicated) is to have a configure
script which checks at build time whether the system supports OpenMP. This
feels like something someone has thought about.

Best,
Kasper




On Sat, Apr 29, 2023 at 6:32?PM Sparapani, Rodney via R-SIG-Mac <
r-sig-mac at r-project.org> wrote:

            

  
    
Message-ID: <CAC2h7usUVKjW4ckhpJczUUJNvdzrtAE6Ovey4bn6ohr7_pCPKg@mail.gmail.com>
In-Reply-To: <CO6PR01MB7452095DD9B7EC5CF3BD5326CB689@CO6PR01MB7452.prod.exchangelabs.com>