trick. The vignettes and tests were not as bad.
We'll try a resubmission and see how we fare.
Thanks again,
Rodrigo
Von: Dirk Eddelbuettel
Gesendet: Dienstag, 4. April 2023 22:00
An: Rodrigo Tobar Carrizo
Cc: r-package-devel@r-project.org
Betreff: R
Hi Rodrigo,
This came up recently again on social media where I illustrated how the
tiledb package deals with it. So a quick recap:
First off, let's make the goals clear.
We want to _simultaneously_
- abide by CRAN Policy rules and cap ourselves to two cores there
- do not impose any limits
Hi list,
We are having an issue with submitting a new version of the imager package to
CRAN, and would like to understand how we are getting a particular NOTE. The
package uses OpenMP for parallelisation of tasks. While we have a routine to
set the number of threads that OpenMP should use (it i
Ensure you surround all your omp pragmas like so:
#ifdef _OPENMP
#pragma omp parallel ...
#endif
Essentially, detecting the operating system is not enough -- you need
to condition your use of OpenMP if and only if _OPENMP is available.
You should also do the same for
#if _OPENMP
#include
#endi
See
https://cran.r-project.org/doc/manuals/r-release/R-exts.html#OpenMP-support
for a way to enable OpenMP when it's available. If you need more detailed
checks for the OpenMP support in the toolchain, you would need to use a
configure script. For example, I'm using an autoconf configure script for
Dear all,
I have a problem regarding OpenMP on Mac OS. Recently I submitted my package to
CRAN (https://cran.r-project.org/web/packages/paropt/index.html). However,
there seems to be a problem with 'fopenmp' on Mac OS using clang++. I have read
many forums regarding the topic. Thus, I know that
On Mon, 23 Mar 2020 15:29:20 +0100
Emil Sjørup wrote:
> const int iMaxLag = 20;
> error: ‘iMaxLag’ not specified in enclosing ‘parallel’
> error: ‘iMaxLag’ is predetermined ‘shared’ for ‘shared’
This looks like a compiler bug to me. g++ seems to forget the rule that
"const" variables are suppo
Hi,
I am getting an error message during pre-checks when I upload a new
version of my package to CRAN, and I need help.
See:
https://win-builder.r-project.org/incoming_pretest/DriftBurstHypothesis_0.3.0.1_20200322_134148/Debian/00install.out
The package installs just fine on windows, an
Hello.
I am at my wits end as to how to comply with CRAN regarding my
Delaporte package which uses Fortran and OpenMP [1].
Recently, it was announced [2] that going forward, OpenMP should be
linked with SHLIB_OPENMP_CFLAGS.
Moreover, I received an email from Professor Ripley, stating:
---ST
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 ‘+’, ‘*’, ‘-’, ‘&’, ‘^’,
On 24 August 2015 at 09:14, Joshua N Pritikin wrote:
| On Sun, Aug 23, 2015 at 08:01:08AM +0200, Mark van der Loo wrote:
| >Afaik, openmp is available on windows. According to writing R
| >extensions:
| >
| >There is nothing to say what version of OpenMP is supported: version
| >3
On Sun, Aug 23, 2015 at 08:01:08AM +0200, Mark van der Loo wrote:
>Afaik, openmp is available on windows. According to writing R
>extensions:
>
>There is nothing to say what version of OpenMP is supported: version
>3.0 (May 2008) is supported by recent versions of the Linux, _Windo
Many CRAN packages offer improved performance when compiled with
OpenMP. However, the MacOS and Windows binaries built by CRAN are built
without openmp enabled. Would it be possible to build openmp enabled
binaries for some CRAN packages?
--
Joshua N. Pritikin
Department of Psychology
Universi
17 matches
Mail list logo