Page 1 of 1

Speedtest error

Posted: 14 Sep 2020, 19:26
by dkopcino
Hi,

I'm using Apollo_example_26.r and trying to add the speedTest (apollo_speedTest(apollo_beta, apollo_fixed, apollo_probabilities, apollo_inputs), all previously defined), but I'm getting the following error:
--
___Draws___ sec/
nCores inter intra progress LLCall RAM(MB)
Error: $ operator is invalid for atomic vectors
--

Can you please help? Thx!

Re: Speedtest error

Posted: 15 Sep 2020, 10:18
by stephanehess
Hi

the apollo_speedTest function is not suitable for example 26 as this is a HB model, and RSGHB can only use a single core. But the error message wasn't clear, and I've improved this in the new release

Best wishes

Stephane

Re: Speedtest error

Posted: 15 Sep 2020, 11:24
by dkopcino
I see. Well, this is a pity because it means that the HB evaluation cannot be accelerated 3, 4 or more times. It would be great if this functionality could be added in some future releases.
Btw, is Apollo being actively developed? I see really a lot of potential here for different improvements (one being mentioned above :)).

Best,
Danijel

Re: Speedtest error

Posted: 15 Sep 2020, 13:06
by stephanehess
Danijel

Apollo is being developed all the time, please see the website.

In relation to HB though, Apollo uses an external routine (RSGHB) which is constrained to single core. Even so, multi-core with HB would likely not make as big a difference as it does with classical estimation. Each iteration in HB takes very little time, and the overhead of going backwards and forwards between the cores would cost

Stephane