Hi Mark,
if you consider backward compatibility (and potential compatibility with
other compilers) a worthy goal, you can easily reduce manually in a
'#pragma omp critical' block. An example here (around the middle of the
page):
http://www.parallelr.com/r-and-openmp-boosting-compiled-code-on-mult
I am using #pragma omp statements all over the place and this is the only
type causing crashes. I'm guessing it has something to do with travis
building on a 12.04 ubuntu VM with a rather old gcc (4.6.3).
2. Is there a workaround, or should I just go for another build service
(which one)?
Yo
Thanks Dirk! that did it. I wasn't aware of the trusty 14.04 option.
Just adding
sudo: required
dist: trusty
at the top of my .travis.yaml solved it
https://docs.travis-ci.com/user/trusty-ci-environment/,
Cheers,
Mark
Op wo 3 aug. 2016 om 14:38 schreef Dirk Eddelbuettel :
>
> On 3 August
On 3 August 2016 at 08:13, Mark van der Loo wrote:
| Dear pkg developers,
|
|
| I'm working on a package using C code and openMP. The package builds and
| tests fine on my own machine[1] and also on r-hub[2]. However on travis-ci
| the build crashes[3] with the following message (plus a few simi
Dear pkg developers,
I'm working on a package using C code and openMP. The package builds and
tests fine on my own machine[1] and also on r-hub[2]. However on travis-ci
the build crashes[3] with the following message (plus a few similar):
gower.c:297:29: error: expected ‘+’, ‘*’, ‘-’, ‘&’, ‘^’,