Centos openmp with gcc 4.1.2
I cant tell if openmp is installed in thi开发者_如何学编程s fresh install of centos I just put on with the developer tools.
I tried to run ldconfig -p | grep openmp and I dont see it listed.
Is it available for centos with that version of gcc?
Thanks
/sbin/ldconfig -p | grep gomp
library is call libgomp
Try:
$ ldconfig -p | grep -i "gomp"
libgomp.so.1 (libc6,x86-64) => /usr/lib64/libgomp.so.1
Basically, it's called gomp
... GCC's OpenMP.
The alternative is to compile a hello world openmp program; if it doesn't work, it isn't installed.
Search "yum search gomp" this way on a Red Hat distro. To find out what the groups are use "yum grouplist | less". This pages the output so you can see the complete list. You will notice which groups are installed and available. Of course you can always use "yum help".
Not familiar with CentOS or yum
, but take a stab with this:
yum list installed | grep "penmp"
Good luck!
精彩评论