UCL / openqcd-oneapi

GNU General Public License v2.0
0 stars 0 forks source link

Get OneAPI 2022.1 installed on CSD3 #19

Closed tkoskela closed 2 years ago

tkoskela commented 2 years ago

Request sent today, ref HPCSSUP-42156

tkoskela commented 2 years ago

Chris Darke commented:

Hi Tuomas,

We have this module installed (intel/oneapi/2022.1.0/vtune). Does that suit your needs? intel/oneapi/2021.1.4 is the latest version we have without vtune.

Kind Regards

Chris

tkoskela commented 2 years ago

Hi Chris,

As far as I understand, the 2022.1.0/vtune module only has the VTune profiler in it, and I'm having some trouble determining that. The path the module sets points to a directory that isn't accessible to me

[dc-kosk1@login-e-12 ~]$ module show intel/oneapi
-------------------------------------------------------------------
/usr/local/software/modulefiles/intel/oneapi/2022.1.0/vtune:

conflict     vtune32
conflict     vtune
module-whatis     Intel(R) VTune(TM) Profiler 2022.1.0
prepend-path     PATH /intel/oneapi/2022.1/vtune/2022.1.0/bin64
setenv         VTUNE_PROFILER_2022_DIR /intel/oneapi/2022.1/vtune/2022.1.0
-------------------------------------------------------------------

[dc-kosk1@login-e-12 ~]$ ls /intel/oneapi/2022.1/vtune/2022.1.0/bin64
ls: cannot access /intel/oneapi/2022.1/vtune/2022.1.0/bin64: No such file or directory

What I'm interested in are the dpcpp compiler and the SYCL headers. They should come with the OneAPI base toolkit,

https://www.intel.com/content/www/us/en/developer/tools/oneapi/dpc-compiler.html

Cheers, -Tuomas

tkoskela commented 2 years ago

Hi,

All the components are now installed in subdirectories of /usr/local/software/intel/oneapi/2022.1/. Module files are missing as I am still thinking what is the best way to expose them to the users. However you should be able to use the software by sourcing env/vars.sh files.

Best wishes, Kacper

tkoskela commented 2 years ago

Hi,

The system libstdc++.so.6 in centos7 is too old for dpct. There are two solutions:

1) Use icelake nodes (login-icelake.hpc.cam.ac.uk) as they run centos8. But it would not work if you want to run job on skylake or cclake nodes.

2) Load module for gcc. The default one, gcc/8, should be ok. It brings newer libstdc++ with it.

Best wishes, Kacper

tkoskela commented 2 years ago

Hi,

Thanks for an update. I will mark the issue as resolved.

Best wishes, Kacper