- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello fellow developers and INTEL experts.
I'm having a lot of trouble to try and use INTEL onapi implementation of BLAS/PBLAS/BLACS/LAPACK/SCALAPACK and message passing routines.
First I installed oneapi base software for linux. After a lot of frustraded attempts to compile some code with icc, I found out that the intel classic compiler is not provided with the base package.
Tried to compile an example provided by the oneapi-cli and, as well, a lot of trouble to link and compile. No include and libs directives in the makefile.
I discovered that the environment of oneapi-base provided trhough docker images functions properly. I was able to build and run an oneapi-cli example.
Then I found out that one could use the package config tool to obtain cflags and libs option to compile programs. (? I dont understand why the cflags and lib directives are not present in the example that was pointed out as the primary test of oneapi package)
All I need for now is to find a way to code and build a C application that could use the parallel capabilities of the scalapack routines to solve generalized nonsymmetric eigenproblems.
Thing that will help me:
-A howto about building oneapi-cli examples (the make file provided is not working)
-Some additional configuration steps to setup a working oneapi environment (I already use the setvars.sh script and source it once every oneapi session!)
-An example code of scalapack routine usage with compile, link and running directions.
Thank you very much for any help or encouraging words! (right now oneapi seems a great tool but I'm scared of it)
PS. I'm also trying to use INTEL's devcloud infrastrcture to follow some learning material. But so far I'm not able to authenticate myself in the devcloud. For that I open another question in the support.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Leandro,
Thanks for reaching out to us.
>>I found out that the intel classic compiler is not provided with the base package.
Yes, you are right! The Intel classic compilers and MPI library come with oneAPI HPC Toolkit package. Since you already installed Base Toolkit we suggest you install oneAPI HPC toolkit also.
Please find the link below for downloading oneAPI HPC Toolkit
https://www.intel.com/content/www/us/en/developer/tools/oneapi/hpc-toolkit-download.html
>>Tried to compile an example provided by the oneapi-cli and, as well, a lot of trouble to link and compile...A howto about building oneapi-cli examples
Could you please let us know what are the issues that you are facing when building sample programs (also which sample code you tried) from oneapi-cli so that it would help us better and assist you accordingly?
Here are the screenshots for the couple of examples that I have tested from oneapi-cli
----Vector-add
----matrix multiplication using oneMKL GEMM operation
>>Some additional configuration steps to setup a working oneapi environment (I already use the setvars.sh script and source it once every oneapi session!)
Running the setvars.sh script file would suffice to initialize the oneAPI environment.
Please refer to the below link for more details
>>An example code of scalapack routine usage with compile, link and running directions
To use oneMKL in your application you can always take help from link line advisor a tool which will help you to get the required libraries that are recommended for a particular use case
Please refer to the below link of the link line advisor
Also, you can refer to the mkl developer guide for Linux which has more details about linking and usage of oneMKL
Here is a thread with a similar discussion regarding the issue that you are looking for (compiling, linking & running of a scalapack code) I hope it will give you a basic idea of what you are looking for
Hope it helps and please get back to us if you still have any issues.
Regards,
Vidya.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Leandro,
Thanks for reaching out to us.
>>I found out that the intel classic compiler is not provided with the base package.
Yes, you are right! The Intel classic compilers and MPI library come with oneAPI HPC Toolkit package. Since you already installed Base Toolkit we suggest you install oneAPI HPC toolkit also.
Please find the link below for downloading oneAPI HPC Toolkit
https://www.intel.com/content/www/us/en/developer/tools/oneapi/hpc-toolkit-download.html
>>Tried to compile an example provided by the oneapi-cli and, as well, a lot of trouble to link and compile...A howto about building oneapi-cli examples
Could you please let us know what are the issues that you are facing when building sample programs (also which sample code you tried) from oneapi-cli so that it would help us better and assist you accordingly?
Here are the screenshots for the couple of examples that I have tested from oneapi-cli
----Vector-add
----matrix multiplication using oneMKL GEMM operation
>>Some additional configuration steps to setup a working oneapi environment (I already use the setvars.sh script and source it once every oneapi session!)
Running the setvars.sh script file would suffice to initialize the oneAPI environment.
Please refer to the below link for more details
>>An example code of scalapack routine usage with compile, link and running directions
To use oneMKL in your application you can always take help from link line advisor a tool which will help you to get the required libraries that are recommended for a particular use case
Please refer to the below link of the link line advisor
Also, you can refer to the mkl developer guide for Linux which has more details about linking and usage of oneMKL
Here is a thread with a similar discussion regarding the issue that you are looking for (compiling, linking & running of a scalapack code) I hope it will give you a basic idea of what you are looking for
Hope it helps and please get back to us if you still have any issues.
Regards,
Vidya.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @lambda ,
Reminder:
As we haven't heard back from you, could you please provide us with an update regarding the issue? Please do let us know if you need any other information apart from the one that we have provided in the previous post and you can get back to us if you face any issues.
Regards,
Vidya.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Leondro,
Thanks for accepting our solution.
Please post a new question if you need any additional assistance from Intel as this thread will no longer be monitored.
Have a Nice Day!
Regards,
Vidya.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page