MLGlobalHealth / phyloSI-RakaiAgeGender

Creative Commons Attribution 4.0 International
4 stars 2 forks source link

remove Hmisc dependency please #6

Closed olli0601 closed 1 year ago

olli0601 commented 1 year ago

Hi @ShozenD

It can be tricky to install Hmisc as installation runs into OMP support issues. I believe we only use binconf. Could you replace all instances with prop.test from the basic stats package?

https://stackoverflow.com/questions/21719578/confidence-interval-for-binomial-data-in-r

Huge thanks!!

olli

olli0601 commented 1 year ago

Ohhh, I found the explanation for the OMP issues, https://stackoverflow.com/questions/53014306/error-15-initializing-libiomp5-dylib-but-found-libiomp5-dylib-already-initial

The Intel MKL functions (e.g. FFT, LAPACK, BLAS) are threaded with the OpenMP technology.

But on macOS you do not need MKL, because the Accelerate Framework comes with its own optimization algorithms and already uses OpenMP. That is the reason for the error message: OMP Error #15: ...

Workaround:

You should install all packages without MKL support:

conda install nomkl