Displaying 20 results from an estimated 10000 matches similar to: "[LLVMdev] Fix for "Bad fd number" error in test_debuginfo.pl"
2012 Jul 18
0
[LLVMdev] Fix for "Bad fd number" error in test_debuginfo.pl
Hi,
Attached is a simple patch to fix a "Bad fd number" error in test_debuginfo.pl which has come about because of an invalid redirection in the system call.
Normally the stdout+stderr to file redirection is "&>" (not ">&" as in the script!), but I have found this to be unsupported on all shell types (I think it was introduced in bash at version 4, for
2012 Jul 23
1
[LLVMdev] Fw: Fix for forward-declare-class.cpp in debuginfo-tests
Hi,
Please could someone kindly review this patch for me?
Many thanks
Andy
On Wednesday, July 18, 2012 9:15 AM, Andy Gibbs wrote:
> Hi,
>
> I'm not sure where to post this since it relates to the "debuginfo-tests"
> repository, so please tell me where to forward it if this is the wrong
> place!
>
> I've fixed the forward-declare-class.cpp test-case in
2017 Dec 06
2
PSA: debuginfo-tests workflow changing slightly
> On Dec 6, 2017, at 10:10 AM, Zachary Turner <zturner at google.com> wrote:
>
> Adrian, Mike, Chris? Any update on this? I've temporarily switched to working on something different, but I plan to be back on this in a couple of weeks. It's been a month since my first revert of this CL, which seems like a reasonable amount of lead-time to deal with issues surrounding
2017 Dec 06
3
PSA: debuginfo-tests workflow changing slightly
> On Dec 6, 2017, at 10:21 AM, Zachary Turner <zturner at google.com> wrote:
>
> Can I have some assurance that if it fails again, someone will look into who has access to the builders so I don't have to keep doing speculative commits?
Sure. I did this last time and I promise to also do it this time.
-- adrian
>
> On Wed, Dec 6, 2017 at 10:13 AM Adrian Prantl
2017 Nov 25
2
PSA: debuginfo-tests workflow changing slightly
Hi Zachary:
I was able to reproduce the greendragon results locally (OSX), and fix the
problem by excluding 'debuginfo-tests' from check-clang -- this prevents
them from being added twice, once for check-clang and again for
check-debuginfo.
Below are the minimized patches I used to reproduce and fix the problem --
based on your originals.
I've verified these patches work when
2012 Jul 31
2
[LLVMdev] [lld] Patch to incorporate lld test-suite into "make check-all"
Hi again,
Any interest in this patch to incorporate lld testing into "make check-all"
when lld built as part of llvm? Is this the best place to post patches for
lld?
I've attached it again here to include a missing dependency.
Cheers
Andy
On Thursday, July 26, 2012 1:45 PM, Andy Gibbs wrote:
> Hi,
>
> Attached is a patch which incorporates the lld test-suite into
2011 Apr 11
1
rtmvt
I have been using the rtmvt function in the {tmvtnorm} package i'm getting
the warning:
"Acceptance rate is very low and rejection sampling becomes inefficient.
Consider using Gibbs sampling."
but i AM specifying the gibbs algorithm!!:
rtmvt(M, mean=q[,,i,j], sigma=((u[i,j] + nu[i])/(p+nu[i]))*delta[,,i],
df=ceiling(nu[i]+p), lower=c(0,0), algorithm="gibbs")
Any
2009 Aug 17
1
Bayesian data analysis - help with sampler function
I have downloaded the Umacs (Universal Markov chain sampler) and submitted the following sample code from Kerman and Gelman.
s <-Sampler(
J=8,
sigma.y =c(15,10,16,11,9,11,10,18),
y =c(28, 8,-3,7,-1,1,18,12),
theta =Gibbs(theta.update,theta.init),
V =Gibbs(V.update,mu.init),
mu =Gibbs(mu.update,mu.init),
tau =Gibbs(tau.update,tau.init),
2012 Aug 01
0
[LLVMdev] Broken tests following r160899
On Tuesday, July 31, 2012 7:19 PM, Andy Gibbs wrote:
> I'm afraid it looks like commit r160899 has broken two test-cases
> which are part of the "debuginfo-tests" repository. I believe I
> have narrowed it down to the correct commit...
Erm, but I didn't post the details (obviously too much in a rush to
get home last night! My apologies!)
So here it is:
The tests that
2004 Mar 19
1
R_qsort_int_I() error
Hi,
I want to use R_qsort_int_I() in my C function, but getting the
following error. It looks like there is a conflict between Rmath.h,
which I use to generate random numbers, and R_ext/Boolean.h I would
appreciate any help to fix this problem.
gcc -ansi -g -o Gibbs gibbs.c subroutines.o rand.o vector.o -lm -lRmath
-llapack -lblas -lfrtbegin -lg2c -lm -shared-libgcc
In file included from
2006 Aug 11
2
about MCMC pack again...
Hello, thank you very much for your previous answers about the C++ code.
I am interested in the application of the Gibbs Sampler in the IRT
models, so in the function MCMCirt1d and MCMCirtkd. I've found the C++
source codes, as you suggested, but I cannot find anything about the
Gibbs Sampler. All the files are for the Metropolis algorithm.
Maybe I am not able to read them very well, by the
2011 Feb 07
1
Question about checkTmvArgs function in rtmvnorm (package tmvtnorm)
Hello!
I was wondering if it's possible to see the actual code of
checkTmvArgs function that is part of the code for rtmvnorm (which is
below - I just typed "rtmvnorm" on the prompt). I get an error:
Error in checkTmvArgs(mean, sigma, lower, upper) :
sigma must be a symmetric matrix
At the same time I am pretty sure that the matrix I am passing as
sigma is a var-covar matrix
2017 Nov 13
2
PSA: debuginfo-tests workflow changing slightly
Since this is causing all of our internal CI to back up, could you please revert your two changes, so we can make sure that they were actually responsible, and can work on a fix for this? Let me know how we can help investigate this.
-- adrian
> On Nov 13, 2017, at 3:25 PM, Adrian Prantl via llvm-dev <llvm-dev at lists.llvm.org> wrote:
>
> The first build where a test fails with
2010 Oct 11
2
topicmodels error
I try to fit a LDA model to a TermDocumentMatrix with the topicmodels
package...
but R says:
> Error in LDA(TDM, k = k, method = "Gibbs", control = list(seed = SEED, :
> x is of class ?TermDocumentMatrix??simple_triplet_matrix?
> class(TDM)
> [1] "TermDocumentMatrix" "simple_triplet_matrix"
I try to use a matrix... but don't work:
> MAT
2011 Nov 07
3
Correction in error
Hello R community, following is my code and it shows error, can some one
fix this error and explain why this occurs?
gibbs <-function(m,n, theta = 0, lambda = 1){
alpha <- 1.5
beta <- 1.5
gamma <- 1.5
x<- array(0,c(m+1, 3))
x[1,1] <- theta
x[1,2] <- lambda
x[1,3]<- n
for(t in 2:m+1){
x[t,1] <- rbinom(x[t-1,3], 1, x[t-1,1])
2017 Nov 14
2
PSA: debuginfo-tests workflow changing slightly
Yes I can reproduce this locally. It looks like we are not passing an -isysroot (pointing to the SDK) to clang but it isn’t clear what lit magic would expand this.
-- adrian
> On Nov 13, 2017, at 3:30 PM, Zachary Turner <zturner at google.com> wrote:
>
> Yea I'm preparing a revert right now. Does it happen for you when you run debuginfo-tests locally?
>
> On Mon, Nov
2008 Nov 01
2
sampling from Laplace-Normal
Hi,
I have to draw samples from an asymmetric-Laplace-Normal distribution:
f(u|y, x, beta, phi, sigma, tau) \propto exp( - sum( ( abs(lo) +
(2*tau-1)*lo )/(2*sigma) ) - 0.5/phi*u^2), where lo = (y - x*beta) and
y=(y_1, ..., y_n), x=(x_1, ..., x_n)
-- sorry for this huge formula --
A WinBUGS Gibbs sampler and the HI package arms sampler were used with the
same initial data for all parameters. I
2005 Jul 19
1
initial points for arms in package HI
Dear R-users
I have a problem choosing initial points for the function arms()
in the package HI
I intend to implement a Gibbs sampler and one of my conditional
distributions is nonstandard and not logconcave.
Therefore I'd like to use arms.
But there seem to be a strong influence of the initial point
y.start. To show the effect I constructed a demonstration
example. It is reproducible
2011 Nov 10
1
Gibbs sampler
I have the following code,
gibbs <-function(m,theta = 0.25, lambda =0.55, n =1){
alpha <- 1.5
beta <- 1.5
gamma <- 1.5
x<- array(0,c(m+1, 3))
x[1,1] <- theta
x[1,2] <- lambda
x[1,3]<- n
for(t in 2:(m+1)){
x[t,1] <- rbinom(1, x[t-1,3], x[t-1,1])
x[t,2]<-rbeta(1, x[t-1,1] + alpha, x[t-1,3] - x[t-1,1] + beta)
x[t,3]
2008 May 09
1
Have you ever experienced this problem with REAL in a C code
Dear all,
I'm currently experiencing big troubles with my C code called by .Call
in a R function.
I know this may not be the right place for such things but these errors
are driving me crazy. And I hope other people may have already
experienced these problems so that they could give me good suggestions.
Sorry if I'm completely out of topic.
Well let's go...
I'm writing a