Sivuyile Nzimeni

@sivuyilenzimeni.com

#rstats and other shenanigans blog: https://blog.sivuyilenzimeni.com

Installing stuff on a new M5 MacBook Pro and finally revisiting my old Makevars incantations and just learned that life is like a billion times easier nowadays for getting #rstats to work with OpenMP on macOS! Basically I just have this now and everything installs/compiles smoothly?

Contents of ~/.R/Makevars

# brew install gcc
# brew install libomp

# Homebrew bin / opt / lib locations
HB=/opt/homebrew/bin
HO=/opt/homebrew/opt
HL=/opt/homebrew/lib
HI=/opt/homebrew/include

# OpenMP via Apple Clang + libomp
CPPFLAGS += -I$(HO)/libomp/include -Xclang -fopenmp
LDFLAGS  += -L$(HO)/libomp/lib -lomp

# Homebrew gfortran
FC  = $(HB)/gfortran
F77 = $(HB)/gfortran

Starting to look like I might not be able to work at Harvard anymore due to recent funding cuts. If you know of any open statistical consulting positions that support remote work or are NYC-based, please reach out! 😅