[Rd] Fortran runtime error with package cts on CRAN/Mac
Zhu Wang
Zwang at ccmckids.org
Mon Nov 21 03:09:27 CET 2011
Hello,
As the author of package cts, I hope somebody on this list can kindly help (perhaps off-list)
to resolve the build/check issue with package cts for Mac. The error occurred on Mac machines only:
http://cran.r-project.org/web/checks/check_results_cts.html.
Here is the error message:
At line 10 of file machine.f
Fortran runtime error: Range error during floating point read
The source file machine.f is to read machine dependent parameters stored in machine.txt, which was saved from R function .Machine. For convenience, the source file machine.f is listed below, along with machine.txt from a non Mac system (the last line NA was added for a test version of cts).
CCC READ MACHINE INFORMATION SAVED WITH R CODE
SUBROUTINE MACHINE(EPS, BASE, T, EMIN, RMIN)
DOUBLE PRECISION EPS, RMIN
INTEGER BASE, T, EMIN
OPEN(UNIT=3,FILE='machine.txt',STATUS='OLD')
READ(3,*)EPS
READ(3,*)BASE
READ(3,*)T
READ(3,*)EMIN
READ(3,*)RMIN
CLOSE(UNIT=3)
RETURN
END
machine.txt:
1.11022302462516e-16
2
53
-1022
2.2250738585072e-308
NA
Another question is whether there is a way to submit a test to just one platform. I know this can be done for Windows, but I'm not sure for Mac.
Thanks in advance.
Zhu Wang
Department of Research
Connecticut Children's Medical Center
Hartford, CT 06106
More information about the R-devel
mailing list