Intel® oneAPI Data Parallel C++
Support for Intel® oneAPI DPC++ Compiler, Intel® oneAPI DPC++ Library, Intel ICX Compiler , Intel® DPC++ Compatibility Tool, and GDB*
561 Discussions

unresolved symbol: _for_stop_core_quiet

Terry_G_
Beginner
2,254 Views

I have a numerical model with Fortran, "C" and C++ libraries called from a "C" main.

I use Intel Fortran and Intel C++/C compilers for compiling the project.

 

After a Visual Studio update, Intel C++/C stopped working.

 

Found this link which describes my problem:

https://community.intel.com/t5/Intel-C-Compiler/Visual-Studio-2019-16-8-preview-breaks-ICL-for-lt-utility-gt-AND/m-p/1214097#M37627

An Intel guru on that thread suggested using  "oneAPI".

Downloaded it and modified my VS solution.

I can compile this numerical model  (7 Libs - mixed Fortran, C and C++)  and a C main - but I am getting one unresolved reference:

 

"error LNK2019: unresolved external symbol _for_stop_core_quit ..."

"_for_stop_core_quit" is not one of my functions.

 

Any suggestions?

 

 

0 Kudos
5 Replies
AbhishekD_Intel
Moderator
2,235 Views

Hi,


Thanks for reaching out to us.

Please let us know the version of your OneAPI toolkits.

Also, wanted confirmation, are you using VS 2019 16.8 preview? If not then please give us your VS version.

And send us a small reproducer with the steps that you have followed, so that it will help us to get more insight into the problem.



Warm Regards,

Abhishek


0 Kudos
Terry_G_
Beginner
2,230 Views

Thanks for the prompt reply!

 

Well....

I started to build a "reduced sub-model" to duplicate the error.

 

I discovered that I was compiling the "C" and "C++" libraries with Intel C++ 19.2.

But, I was compiling the main app with Intel C++ 19.0.

 

Setting the main app to be compiled with Intel C++ 19.2 solved the problem.

 

So - the problem only occurs if I mix libraries/app with differing versions of Intel C++.

 

 

0 Kudos
AbhishekD_Intel
Moderator
2,219 Views

Hi,

 

Thanks for the confirmation.

It is recommended to build your complete project with the latest Intel oneAPI C compiler which comes with the latest basekit, even if you are getting errors with the latest compiler do let us know.

We will try to resolve the problem.

 

 

Warm Regards,

Abhishek

 

0 Kudos
AbhishekD_Intel
Moderator
2,116 Views

Hi,


Please give us an update on your issues.

Are you still getting the errors from the latest compiler?


Warm Regards,

Abhishek


0 Kudos
AbhishekD_Intel
Moderator
2,090 Views

Hi,


We are assuming that the provided details have solved your issues. We will no longer monitor this thread.

Please post a new thread if you have any other issues.


Warm Regards,

Abhishek


0 Kudos
Reply