Dear R Group,
I can build a simple R/4.0.0 OK using gcc/8.1.0, but when I tried to
link
it with the Intel MKL, 'make check' produced this error
tail tests/reg-tests-1d.Rout.fail
(m <- cbind(0, c(NA, 0), 0:-1))
[,1] [,2] [,3]
[1,] 0 NA 0
[2,] 0 0 -1
nTypes <- eval(formals(base::norm)$type) # "O" "I" "F" "M" "2"
stopifnot(is.na( print(vapply(nTypes, norm, 0., x = m)) )) # print():
show NA *or* NaN
O I F M 2
NA NA 1 NA NA
Error: is.na(print(vapply(nTypes, norm, 0, x = m))) are not all TRUE
Execution halted
Is this a significant error?
There may be differences in how NaN are treated between GNU and MKL
that
caused this.
regards
*---Simon Michnowicz *
Senior Application Specialist, High-Performance Computing
*Research Support Services - eSolutions*
*Monash eResearch Centre*
Monash University
15 Innovation Walk, Building 75, Clayton Campus
Wellington Road, VIC 3800
Australia
T: +61 3 9902 0794
M: +61 3 0418 302 046
E: simon.michnowicz at monash.edu
monash.edu
[[alternative HTML version deleted]]