I have an application which can use multiple processor cores, but it only uses one.
I think I need to install openMP to enable this ability.
Is this correct and, if so, how do I install it.
openSUSE Leap 15
I have an application which can use multiple processor cores, but it only uses one.
I think I need to install openMP to enable this ability.
Is this correct and, if so, how do I install it.
openSUSE Leap 15
First you need us to tell the exact openSUSE Leap version you use. Leap 15.3 is EOL (category where you posted it) and Leap 15 is not an exact identifier.
Sorry for that - the version is Leap 15.3. I can upgrade to 15.6 if needed.
Well, one can “freeze” a system at a certain level if one can be sure that the normal security concerns do not apply to it (e.g. not connected to the Internet at all, trusted user base, etc.) but then it must be kept “frozen”. You don’t do that. You install an application (name kept secret and thus also where from and how, e.g. is there still some old Leap 15.3 repo available?). And that leads to a chain of actions. Now you want to install something else (from where and how?). The next step is to ask advice from people who maybe vague remember that they once run 15.3, but forgot about all the details (was that in 15.2 or started that only in 15.4?). Problem re-creation is impossible, etc.
Thus we can only say: why didn’t you follow the path 15.3 > 15.4 >15.5 > 15.6 in the first place. I doubt an upgrade is worthwhile (again almost nobody here ever did that, thus help may be a problem). An new installation (of course keeping user data etc.) might be the way to go.
And if it is “needed” is your decision.
Why do you keep the name secret? I need openMp urgently.
openMP is part of the compiler. As nobody here uses such an old Leap installation, you need to check yourself if your compiler supports openMP. As example GCC provides support for openMP starting from version 4.2.0
echo |cpp -fopenmp -dM |grep -i open
Well, you are missing the point. What you do need urgently to make openmp installable, is an upgrade of the system to 15.6 . OpenMP packages for 15.3 are no longer in the repos. Upgrading 15.3 → 15.6 in one go is not supported.
OpenMP is not a product - it is the API. There are multiple compilers implementing this API including GCC that is part of openSUSE.
Care to explain what package needs to be installed on Leap 15.6?
My bad, got confused with openmpi
My compiler does support onenMP. I plan to do a fresh install of 15.6. What should I do to get openMP running?
I am going to upgrade to 15.6 (fresh install). Do you mean that packages are available for 15.6?
I know that! But how to run programs on multiple cores? I will first upgrade to 15.6.
As you do not name your compiler, we can only point you to the basics:
https://www.google.com/search?q=how+to+use+openmp
You could start with telling us the program name. And it is better to open new topic with clear subject.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.