Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

The intention of this page is to demonstrate how to use the oneAPI toolkit on MedicineBow

It is not to teach C/C++/Fortran nor any of associated libraries such as the MKL. MPI and TBB.

Module Loading

To get started, first load the oneapi/<version> module you wsh to use.

This will setup you environment, adding and extending various environment variables, opening up access to compilers and libraries.

 Example Module Load Output
[salexan5@mblog2 ~]$ module load oneapi/2024.1.0
:: initializing oneAPI environment ...
   -bash: BASH_VERSION = 5.1.8(1)-release
   args: Using "$@" for setvars.sh arguments: load oneapi/2024.1.0
:: advisor -- latest
:: ccl -- latest
:: compiler -- latest
:: dal -- latest
:: debugger -- latest
:: dev-utilities -- latest
:: dnnl -- latest
:: dpcpp-ct -- latest
:: dpl -- latest
:: ipp -- latest
:: ippcp -- latest
:: mkl -- latest
:: mpi -- latest
:: tbb -- latest
:: vtune -- latest
:: oneAPI environment initialized ::

Note: Although performing a module purge will remove the module from your module list, it does not clean up the new/modified environment variables - basically because these were not directly set using the module file, but rather by an addition script that was called.

Currently, you will need to start a new session if you want a clean environment.

Using

Examples

  • No labels