Re: [Rd] Fwd: C code and DLL file in the package

2014-03-13 Thread binbin lu
Hi Dirk, The problem has been fixed. Many thanks. Best regards, Binbin 2014-03-13 14:58 GMT+00:00 Dirk Eddelbuettel : > > Binbin, > > On 13 March 2014 at 14:24, binbin lu wrote: > | I am trying to compile a package, in which C code is used. > | > | When I was checking the package with the dll

[Rd] R-3.0.3 tar file not on Sources page

2014-03-13 Thread Steven McKinney
Checking CRAN today, I see that on the Sources page http://cran.r-project.org/sources.html that R-3.0.2.tar.gz is still there. R-3.0.3.tar.gz is available from the Older releases are available >>here<<. hyperlink to http://cran.r-project.org/src/base/ Is this the right place to report

Re: [Rd] 2 versions of same library loaded

2014-03-13 Thread Ross Boylan
On Thu, 2014-03-13 at 10:46 -0700, Ross Boylan wrote: > > It seems very odd that the same Rmpi.so is requiring both the old and > new libmpi.so (compare to the first > trace in in point 1). There is this code in Rmpi.c: > if (!dlopen("libmpi.so.0", RTLD_GLOBAL | RTLD_LAZY) > && !dlop

Re: [Rd] 2 versions of same library loaded

2014-03-13 Thread Ross Boylan
On Thu, 2014-03-13 at 10:46 -0700, Ross Boylan wrote: > 1. My premise that R had no references to mpi was incorrect. The logs > show > 24312: file=libmpi.so.1 [0]; needed > by /home/ross/Rlib-3.0.1/Rmpi/libs/Rmpi.so [0] > 24312: find library=libmpi.so.1 [0]; searching > 24312:

Re: [Rd] 2 versions of same library loaded

2014-03-13 Thread William Dunlap
Have you tried using the environment variable LD_DEBUG to see what the dynamic linker is doing? E.g., env LD_DEBUG=files R or % setenv RHOME `R RHOME` % R CMD env LD_DEBUG=files $RHOME/bin/exec/R 2322: 2322: file=libR.so [0]; needed by /opt/sw/R/R-3.0.2.atlas1/lib/R/bin/ex

Re: [Rd] Fwd: C code and DLL file in the package

2014-03-13 Thread Dirk Eddelbuettel
Binbin, On 13 March 2014 at 14:24, binbin lu wrote: | I am trying to compile a package, in which C code is used. | | When I was checking the package with the dll file under the sub-folder | "SRC", a WARNING msg was returned: | "Source packages should not contain undeclared executable files." |

Re: [Rd] Fwd: C code and DLL file in the package

2014-03-13 Thread Duncan Murdoch
On 13/03/2014 10:24 AM, binbin lu wrote: Hi, I am trying to compile a package, in which C code is used. When I was checking the package with the dll file under the sub-folder "SRC", a WARNING msg was returned: "Source packages should not contain undeclared executable files." When I exclued it

[Rd] Fwd: C code and DLL file in the package

2014-03-13 Thread binbin lu
Hi, I am trying to compile a package, in which C code is used. When I was checking the package with the dll file under the sub-folder "SRC", a WARNING msg was returned: "Source packages should not contain undeclared executable files." When I exclued it from the folder, I got an ERROR msg: Error