HabibX

5 Reputation

2 Badges

13 years, 278 days

MaplePrimes Activity


These are replies submitted by HabibX

> define_external('SmallFactors', 'MAPLE', 'LIB' = "libmodLA.so");
Error, external linking: error loading external library libmodLA.so: libatlas.so: cannot enable executable stack as shared object requires: Permission denied

So the above reminds me of a problem I had during install. I kept getting SELinux complaints at startup about the execstack flag being set on libgmp.so. Rather than allowing the exception with setsebool (something which is strongly advised against), I simply cleared the flag using execstack. I really do not want to mess aorund with the settings of SELinux. They are there for a reason and have been devised by people who know oodles more than I do.

Here is the output of the processor command:

$ maple15/bin.X86_64_LINUX/processor
"Intel(R) Core(TM) i7 CPU       Q 720  @ 1.60GHz" l2cache=-1 prccores=8 prctot=8 mmx no3dnow sse sse2 sse3 sse4 nohtt

As for the question about whether or not I can run other LinearAlgebra commands, apparently I can. The LUDecomposition command seems to work just fine, as does Rank, NullSpace, and MatrixInverse.

Also, I have tried setting the executbale stack flag on both the libmodLA.so and the libatlas.so libraries and it makes no differnece. The output is exactly the same.

Edit: So I have enabled executbale stacks for SELinux using

setsebool allow_execstack 1

and it appears to have gotten the Eigenvalues function working. However, I realy do not like this solution, so if you know of another way, please do share.

> define_external('SmallFactors', 'MAPLE', 'LIB' = "libmodLA.so");
Error, external linking: error loading external library libmodLA.so: libatlas.so: cannot enable executable stack as shared object requires: Permission denied

So the above reminds me of a problem I had during install. I kept getting SELinux complaints at startup about the execstack flag being set on libgmp.so. Rather than allowing the exception with setsebool (something which is strongly advised against), I simply cleared the flag using execstack. I really do not want to mess aorund with the settings of SELinux. They are there for a reason and have been devised by people who know oodles more than I do.

Here is the output of the processor command:

$ maple15/bin.X86_64_LINUX/processor
"Intel(R) Core(TM) i7 CPU       Q 720  @ 1.60GHz" l2cache=-1 prccores=8 prctot=8 mmx no3dnow sse sse2 sse3 sse4 nohtt

As for the question about whether or not I can run other LinearAlgebra commands, apparently I can. The LUDecomposition command seems to work just fine, as does Rank, NullSpace, and MatrixInverse.

Also, I have tried setting the executbale stack flag on both the libmodLA.so and the libatlas.so libraries and it makes no differnece. The output is exactly the same.

Edit: So I have enabled executbale stacks for SELinux using

setsebool allow_execstack 1

and it appears to have gotten the Eigenvalues function working. However, I realy do not like this solution, so if you know of another way, please do share.

Page 1 of 1