Skip to content
Prev 6003 / 15075 Next

profiling C shared libraries loaded into R

Simon:

Sorry, please disregard my last email.  Shark was crashing because  
some of something with Shark, not R.  But unfortunately, the Unknown  
Libraries remain.

Here is how I compiled R.  In the config.site file, I set:

R_PAPERSIZE=letter
R_BATCHSAVE=--no-save
CC='gcc-4.2 -arch x86_64 -m64 -march=core2 -msse3 -g -pg -O2'
OBJC='gcc-4.2 -arch x86_64 -m64 -march=core2 -msse3 -g -pg -O2'
DEFS=-DHAVE_INLINE
F77='gfortran -arch x86_64 -g -pg -O2'
LIBnn=lib
CXX='g++-4.2 -arch x86_64 -march=core2 -p -pg -O2'
FC='gfortran -arch x86_64 -m64 -march=core2 -g -pg -O2'
TCLTK_LIBS=/usr/lib

To configure, I ran the following script

#!/bin/bash

./configure \
SHELL='/bin/bash' \
r_arch=x86_64 \
--with-system-zlib \
--with-blas='-framework vecLib' --with-lapack='-framework vecLib' \
--with-ICU \
--with-aqua \
--enable-R-framework \
--enable-BLAS-shlib \
--with-x \
--with-readline=/usr/local \
--with-tcltk \
--with-iconv=no \
--with-cairo \
--disable-R-profiling \
--with-recommended-packages=no


Any idea what I did wrong?

Thanks,

Michael
On Jun 12, 2009, at 7:27 PM, Simon Urbanek wrote:

            
-------------------------------------------
Michael Braun
Homer A. Burnell Career Development Professor, and
	Assistant Professor of Management Science (Marketing Group)
MIT Sloan School of Management
One Amherst St., E40-169
Cambridge, MA 02142
braunm at mit.edu
617-253-3436