Berend,
I have compiled gmp on an older machine (2008 MacPro) - in fact the same that
we used until 4.0.0. Apparently there are some new instruction on more recent
CPUs that gmp leverages if it finds them. Oddly, I could not find any good info
on this so it's hard to pin-point the difference or
Simon,
The issue has gone away. Hurrah!
But what actually was the problem and how did you solve it?
regards and many thanks,
Berend
> On 16 Apr 2020, at 15:26, Simon Urbanek wrote:
>
> Thanks, please re-install Rmpfr and gmp from the Mac master mirror:
>
> install.packages(c("gmp","Rmpfr")
Thanks, please re-install Rmpfr and gmp from the Mac master mirror:
install.packages(c("gmp","Rmpfr"),repos="https://mac.R-project.org";)
and let me know if the issue goes away.
Thanks,
Simon
> On 16/04/2020, at 7:21 PM, carsten.dorm...@biom.uni-freiburg.de wrote:
>
> Can confirm problem:
>
Here is mine:
Hardware Overview:
Model Name: MacBook Pro
Model Identifier: MacBookPro11,1
Processor Name: Intel Core i7
Processor Speed: 2,8 GHz
Number of Processors: 1
Total Number of Cores: 2
L2 Cache (per Core): 256 KB
L3 Cache: 4 MB
H
> On 16 Apr 2020, at 10:38, Simon Urbanek wrote:
>
> Carsten and Berend,
>
> It means your CPU doesn't support the instructions used, so your Mac is
> likely older. Can you, please, post the output of
>
> system_profiler SPHardwareDataType
>
Here is the output
Model Name: Mac mini
This one seems happy (not too surprising, I guess)
Hardware Overview:
Model Name: MacBook Air
Model Identifier: MacBookAir8,2
Processor Name: Intel Core i5
Processor Speed: 1,6 GHz
Number of Processors: 1
Total Number of Cores: 2
L2 Cache (per Core):
... I should add you can remove the serial number from the output, I need
mainly the Processor and Model lines so something like:
Model Name: Mac mini
Model Identifier: Macmini8,1
Processor Name: 6-Core Intel Core i5
Processor Speed: 3 GHz
Number of Processors: 1
Carsten and Berend,
It means your CPU doesn't support the instructions used, so your Mac is likely
older. Can you, please, post the output of
system_profiler SPHardwareDataType
Thanks,
Simon
> On 16/04/2020, at 7:21 PM, carsten.dorm...@biom.uni-freiburg.de wrote:
>
> Can confirm problem:
>
Can confirm problem:
> dpois(mpfr(x, 120), 1000)
*** caught illegal operation ***
address 0x1116f7c42, cause 'illegal opcode'
Traceback:
1: .class1(object)
2: as(value, dataClass)
3: setDataPart(x, .Call(Math_mpfr, x, .Math.codes[[.Generic]]))
4: exp(-lambda)
5: exp(-lambda)
6: dpois(mpfr
Works just fine for me on 10.15.4 and r78227. You might want to check your
compiler setup against the recommended toolchain and reinstall all packages for
R 4.0.
``` r
library(gmp)
#>
#> Attaching package: 'gmp'
#> The following objects are masked from 'package:base':
#>
#> %*%, apply, crossprod
10 matches
Mail list logo