Apple’s Worldwide Developers Conference to kick off June 10 at 10 a.m. PDT with Keynote address

The Keynote will be available to stream on apple.com, the Apple Developer app, the Apple TV app, and the Apple YouTube channel. On-demand playback will be available after the conclusion of the stream.

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

What is and why Mac does not provide OpenMP support?

When using R in Mac (see versions info below) I get the following message when trying to load the package data.table


Message:


> library(data.table) # loading and wrangling data

data.table 1.14.2 using 1 threads (see ?getDTthreads). Latest news: r-datatable.com

**********

This installation of data.table has not detected OpenMP support. It should still work but in single-threaded mode.

This is a Mac. Please read https://mac.r-project.org/openmp/. Please engage with Apple and ask them for support. Check r-datatable.com for updates, and our Mac instructions here: https://github.com/Rdatatable/data.table/wiki/Installation. After several years of many reports of installation problems on Mac, it's time to gingerly point out that there have been no similar problems on Windows or Linux.

**********


R version Info:


R version 4.2.0 (2022-04-22)

Platform: x86_64-apple-darwin17.0 (64-bit)

Running under: macOS Monterey 12.6


RStudio 2022.07.2+576 "Spotted Wakerobin" Release (e7373ef832b49b2a9b88162cfe7eac5f22c40b34, 2022-09-06) for macOS

Mozilla/5.0 (Macintosh; Intel Mac OS X 12_6_0) AppleWebKit/537.36 (KHTML, like Gecko) QtWebEngine/5.12.10 Chrome/69.0.3497.128 Safari/537.36


MacBook Pro 14″, macOS 12.6

Posted on Dec 14, 2022 3:11 AM

Reply
Question marked as Best reply

Posted on Dec 14, 2022 3:37 AM

Nobody can answer as to why Apple does this or that, as we are only users like you; but if I read it correctly, the page you linked to provides instructions for how to get around the problem.


You should use feedback to report this. Maybe they will get around to provide support for openmp without having to jump through hoops, but I would not hold my breath.


https://www.apple.com/feedback


There is also another direction, which is to install a different compiler. It is a bit of a hassle, but you could install a full gcc with openmp support, and use that in alternative to the clang that comes with XCode.

Similar questions

1 reply
Question marked as Best reply

Dec 14, 2022 3:37 AM in response to estebanfromberlin

Nobody can answer as to why Apple does this or that, as we are only users like you; but if I read it correctly, the page you linked to provides instructions for how to get around the problem.


You should use feedback to report this. Maybe they will get around to provide support for openmp without having to jump through hoops, but I would not hold my breath.


https://www.apple.com/feedback


There is also another direction, which is to install a different compiler. It is a bit of a hassle, but you could install a full gcc with openmp support, and use that in alternative to the clang that comes with XCode.

What is and why Mac does not provide OpenMP support?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.