Library Kernel Mac

Installing Intel Math Kernel Library

Go to the site:

Dengue outbreaks in Divinopolis, south-eastern Brazil and the geographic and climatic distribution of Aedes albopictus and Aedes aegypti in 2011–2012. I've been programming in VBA for Excel 2003 for some years now, and only recently I've been introduced to: Declare Sub AAAA Lib 'kernel32' Alias 'AAAA' By an answer here in stackoverflow.

Oct 26, 2014  well, I installed everything, removed the machkernel lines. Used unibeast 5.0.1. Booting again from my usb thumbdrive after complete install. Dec 16, 2019  Intel® Math Kernel Library (Intel® MKL) offers two collections of wrappers for the FFTW interface (www.fftw.org). The wrappers are the superstructure of FFTW to be used for calling the Intel® MKL Fourier transform functions. These collections correspond to the FFTW versions 2.x and 3.x and the Intel® MKL versions 7.0 and later.

fill out the personal data form, and from the list of Intel Performance Libraries for Linux download the Intel Math Kernel Library. In a terminal go to your ~/Downloads directory and unzip the downloaded file (in this case l_mkl_2017.4.239.tgz):

$ tar -xvf l_mkl_2017.4.239.tgz

then within the ~/Downloads/l_mkl_2017.4.239/ directory execute:

$ ./install_GUI.sh

Which will open the following installation window:

Select 'Install as root using sudo' and provide your superuser password. accept Terms and License agreement, and in the next window (options) you should see:

Select the 'Customize..' button. Hit 'Next' and you will be prompted to the following window:

In this window select the boxes 'Cluster support for C/C++' and 'Cluster support for Fortran', as shown above. This is a very important step that will give the MPI capability to the library that FDS requires. Hit 'Next' and in the following window 'Install'.

In Linux

If you are working in Linux, once the installation is complete, go to your ~/.bashrc startup file and add the following lines:

These lines define the environment variables that are used by the Math Kernel Library in your 64 bit system. In particular, the variable MKL_ROOT is of interest for us, as it is used for the makefile instructions for building FDS.Don't forget to either source the startup file, log out and log in, or open a new terminal for your environment changes to take place.

Note that I installed a 2017 version of the library. If you installed version 2018, use compilers_and_libraries_2018 in your above defined INTEL_COMPILERS_AND_LIBS path.

Additions of MPI and MKL environment variables (as you just did in your ~/.bashrc) can alternatively be done by defining Modules. The interested reader is referred to the wiki Modules.

You can go back to instructions on compiling and running FDS with GNU Fortran in Ubuntu Linux here, or Debian here.

Library Kernel Machine

In Mac OSX

In OSX we need to build a custom MKL mpi wrapper. Assuming you have access to the MPI C compiler wrapper mpicc from your command window (you followed the instructions here), navigate to the following directory:

and type:

provide your admin password. This will create a custom wrapper library libmkl_blacs_custom_lp64.a for your Homebrew installed open-mpi. This library is a parallel version of BLAS (Basic Linear Algebra Subprograms) that employs MPI, and is used, among others, by the MKL sparse cluster solver.

Note that I installed a 2017 version of the library. If you installed version 2018, use compilers_and_libraries_2018 in the above defined directory path. If you are using Mac OSX Catalina you will want to get the latest version of MKL (2020 as of this edit).

Next add the sourcing of MKL environment variables to your ~/.bash_profile:

Don't forget to source the startup file ~/.bash_profile. Again, note that if you installed version 2018, use compilers_and_libraries_2018 in your above defined INTEL_COMPILERS_AND_LIBS path. Same for version 2020 (required by OSX Catalina), compilers_and_libraries_2020 in INTEL_COMPILERS_AND_LIBS.

You can go back to instructions on compiling and running FDS with GNU Fortran in Mac OSX here.

If you are here, because you wish to fix issues with your NVIDIA web driver, please head over to the new NVWebDriverLibValFix page. This software is obsolete for fixing NVIDIA web driver issues.

Beware: This software intentionally weakens the security of your Mac and may turn your machine into a fire-breathing dragon. You should not install it.

Library Kernel32 Methods

With that out of the way: This software installs a small kernel patch at boot-time, which disables Library Validation. Library Validation exists independently of SIP and cannot be disabled without a kernel patch.

You don't want Library Validation to be disabled on your Mac. However, if it were to be disabled:

Intel Math Kernel Library Mac

  • Processes can load arbitrary libraries
  • root becomes more powerful (may load arbitrary libraries into any process depending on SIP status)
  • Security is weakened, because some user processes could be fooled to run additional code without root's explicit request, which may grant access to daemons that depend on Library Validation for secure validation of code identity.

Installation

The latest release and installation instructions are available on the Releases Page.

All releases are unsigned and require kernel code signing to be disabled (csrutil enable --without kext).

Installation (from source)

Install Xcode, then ./install.sh.

On success, you should see a message from 'DisableLibraryValidation' in the output of sudo dmesg and find 'com.apple.kext.mologie.DisableLibraryValidation' in the output of kextstat.

The patches take effect immediately, but you might have to restart processes that are broken by Library Validation (such as iBooks with the NVIDIA Web Drivers.)

Removal

sudo ./install.sh uninstall, which runs kextunloadMac os x library folder not visible. to unload the extension and deletes it from disk.

Bug Reports

Library Kernel Mac Os

This software comes with no support or implied warrenty. I do not accept bug reports, but I welcome pull requests that fix bugs should you have found any. You may also submit pull requests for adding information to this readme file, or contact my privately via the email address on my GitHub profile.

Legal

Copyright 2017 Oliver Kuckertz; released under the MIT license.