Displaying 1 result from an estimated 1 matches for "opnemp".
Did you mean:
openmp
2012 Jun 07
1
Lack of -O2 (or -O) gcc compiler flag causes package installation failure
...gcc/g++ -O based optimization. I can turn the
-O flags off with a ~.R/Makevars file, but when I do something odd happens.
The package installs fine when gcc is fed -O2 or -O3
*install with*
R CMD INSTALL --configure-args="CFLAGS=-g CXXFLAGS=-g --disable-openmp"
package.tar.gz
/NB: I have opnemp switched off here as it's not supported by Apple's GCC
(4.2.1). When the code runs on a linux cluster it compiles with openmp and
runs no problem./
*makevars file*
CC = gcc -arch x86_64 -std=gnu99
CFLAGS = -g -O2 $(LTO) /# with -O2 we compile fine /
CPICFLAGS = -fPIC
CPPFLAGS = -I/usr/loca...