search for: jbullard

Displaying 2 results from an estimated 2 matches for "jbullard".

Did you mean: bullard
2010 Mar 03
1
linking hdf5, requires setting LD_LIBRARY_PATH
...I tend to like to build/install things locally so that aspects of the system I am working on don't cause problems later when attempting to install elsewhere. To this end, I build and install the hdf5 libraries w/out incident: tar xzf hdf5-1.8.4.tar.bz2 cd hdf5-1.8.4 ./configure --prefix=/home/jbullard/scratch/hdf5_install make && make install Now, I make a shared object using the following (I am compiling hdf5.c directly in src of the hdf5 package): gcc -I/home/jbullard/projects/me/R-builder/lib64/R/include -I/home/jbullard/scratch/hdf5_install/include -I/usr/local/include -fpic -g -O2...
2011 Sep 14
2
External pointers and an apparent memory leak
I'm using external pointers and seemingly leaking memory. My determination of a memory leak is that the R process continually creeps up in memory as seen by top while the usage as reported by gc() stays flat. I have isolated the C code: void h5R_allocate_finalizer(SEXP eptr) { Rprintf("Calling the finalizer\n"); void* vector = R_ExternalPtrAddr(eptr); free(vector);