Re: [R] Compiling R with zlib in non-standard location

2017-05-24 Thread Peter Carbonetto
Hi David, I found this blog post helpful. I had a similar situation where I was installing R 3.3 on CentOS 6, and I found these instructinos worked well: http://pj.freefaculty.org/blog/?p=315 The only problem I had is that the instructions as written do not allow for using the R installation wit

Re: [R] Compiling R with zlib in non-standard location

2017-05-23 Thread David Chin
Hi Marc, Pre-compiled RPMs for R are up to 3x slower than "self-compiled" R using Intel MKL. Yes, I do know about Microsoft R Open, but it wants to overwrite the default /usr/bin/R and I have AMD machines in my cluster, which cannot run MRO. So, I want to do my own compilation and install R in a

Re: [R] Compiling R with zlib in non-standard location

2017-05-23 Thread Marc Schwartz
Hi David, It has been a while since I have worked on RH based systems, but looking at Martyn's reply, which includes: CFLAGS="-g -O2 -I/path/to/my/headers" \ LDFLAGS="-L/path/to/my/libs" \ ./configure and references to the R Installation and Administration manual sections B3.3 and B7, if you u

Re: [R] Compiling R with zlib in non-standard location

2017-05-23 Thread David Chin
Hi Marc, Pre-compiled RPMs for R are up to 3x slower than "self-compiled" R using Intel MKL. Yes, I do know about Microsoft R Open, but it wants to overwrite the default /usr/bin/R and I have AMD machines in my cluster, which cannot run MRO. So, I want to do my own compilation and install R in a

Re: [R] Compiling R with zlib in non-standard location

2017-05-23 Thread Marc Schwartz
> On May 23, 2017, at 11:07 AM, David Chin wrote: > > Hi all, > > I am trying to compile R 3.4.0 on a RHEL 6.5 system. R requires a newer > version of zlib than is standard on RHEL 6.5. I do have a newer version > that satisfies R's requirement, but the configure script gives no way of > specif

[R] Compiling R with zlib in non-standard location

2017-05-23 Thread David Chin
Hi all, I am trying to compile R 3.4.0 on a RHEL 6.5 system. R requires a newer version of zlib than is standard on RHEL 6.5. I do have a newer version that satisfies R's requirement, but the configure script gives no way of specifying a non-standard location of zlib. Is there a way around this?