search for: fcflag

Displaying 20 results from an estimated 97 matches for "fcflag".

Did you mean: cflag
2024 May 20
1
config.site settings for M3 Mac typo in manual?
I've just upgraded to an M3 Mac laptop, and I'm working through getting the right configure settings to build R. The Installation and Administration manual says to have this in config.site: FFLAGS="-g -O2 -mmacos-version-min=11.0" FCFLAGS="-g -O2 -mmacos-version-min=11.0" but those give an error on my system, with it suggesting the FFLAGS and FCFLAGS version option should be -mmacosx-version-min=11.0. I don't know if that's a typo or a change. Besides
2017 Jan 13
0
[PATCH 1/4] Do not override CFLAGS, as CFLAGS is a user flag.
...([test "x$enable_debug" = "x"], + [enable_debug="yes"]) + + # case of debug + AS_CASE([$enable_debug], + [yes],[ + AC_MSG_RESULT(yes) + CFLAGS="${CFLAGS} -g -O0" + CXXFLAGS="${CXXFLAGS} -g -O0" + FFLAGS="${FFLAGS} -g -O0" + FCFLAGS="${FCFLAGS} -g -O0" + OBJCFLAGS="${OBJCFLAGS} -g -O0" + ], + [info],[ + AC_MSG_RESULT(info) + CFLAGS="${CFLAGS} -g" + CXXFLAGS="${CXXFLAGS} -g" + FFLAGS="${FFLAGS} -g" + FCFLAGS="${FCFLAGS} -g" + OBJCFLAGS="${OBJCFLAGS} -g&...
2017 Jan 15
0
[PATCH 1/2] Do not override CFLAGS, as CFLAGS is a user flag.
...([test "x$enable_debug" = "x"], + [enable_debug="yes"]) + + # case of debug + AS_CASE([$enable_debug], + [yes],[ + AC_MSG_RESULT(yes) + CFLAGS="${CFLAGS} -g -O0" + CXXFLAGS="${CXXFLAGS} -g -O0" + FFLAGS="${FFLAGS} -g -O0" + FCFLAGS="${FCFLAGS} -g -O0" + OBJCFLAGS="${OBJCFLAGS} -g -O0" + ], + [info],[ + AC_MSG_RESULT(info) + CFLAGS="${CFLAGS} -g" + CXXFLAGS="${CXXFLAGS} -g" + FFLAGS="${FFLAGS} -g" + FCFLAGS="${FCFLAGS} -g" + OBJCFLAGS="${OBJCFLAGS} -g&...
2011 Feb 09
1
Problem installing MCMCpack on SPARC Solaris 10
...ssful R installation is the following, CC="cc -xc99 -m64 -xarch=sparcvis2" CPPFLAGS="-I/opt/csw/include" CFLAGS="-xcode=abs64 -xlibmieee -xtarget=ultra3 -xarch=sparcvis2" F77=f95 CXX="CC -m64 -library=stlport4" FC=$F77 FFLAGS="-m64 -xarch=sparcvis2" FCFLAGS=$FFLAGS LDFLAGS="-L/opt/csw/lib/sparcv9 -L/opt/solstudio12.2/prod/lib/v9" export CC CPPFLAGS CFLAGS F77 FFLAGS CXX CXXFLAGS FC FCFLAGS LDFLAGS ./configure --prefix=/apps/sparcv9/R-2.12.0 --with-tcl-config=/opt/csw/lib/tclCo nfig.sh --with-tk-config=/opt/csw/lib/tkConfig.sh --disable-nls...
2010 Dec 19
1
Unable to build R-2.10.0 and later releases on AIX 6.1
...-L/usr/X11R6/lib" CONFIG_SHELL=/usr/bin/bash MAKE=/opt/freeware/bin/make CC="xlc" CXX="xlc++" FC="xlf" F77="xlf" CFLAGS="-qarch=auto -qcache=auto -qtune=auto -O3 -qstrict -ma" FFLAGS="-qarch=auto -qcache=auto -qtune=auto -O3 -qstrict" FCFLAGS="-qarch=auto -qcache=auto -qtune=auto -O3 -qstrict" CXXFLAGS="-qarch=auto -qcache=auto -qtune=auto -O3 -qstrict" export OBJECT_MODE LIBICONV CC CFLAGS CXX CXXFLAGS F77 CPPFLAGS LDFLAGS export CONFIG_SHELL MAKE export FCFLAGS FFLAGS FC ./configure --prefix=$PRFX --without-readli...
2017 Jan 15
4
Updated CFLAGS patches and make test compilation conditional
Hi Erik, I've found a middleground for the problem of setting default CFLAGS. I've gone back to setting them if {C,CXX,CPP,LD}FLAGS are unset at the onset of the configure script (i.e., the user hasn't specified anything) and then proceed to set them to the defaults as before. This has been suggested before: https://lists.gnu.org/archive/html/autoconf/2006-04/msg00022.html In
2017 Jan 13
9
Upstreaming Gentoo patches
Dear FLAC devs, I would like to get some of our patches merged into master. Most of them deal with adhering to GNU conventions, respectively not overriding flags/variables that are up to the user to set. For instance, honoring $(htmldir) is important, as we have installation paths for the documentation that differ from what is currently coded in the various Makefile.am's. Regards David
2008 May 29
2
problem building R packages on RHEL 4 Linux with Intel compilers
...ig tail output that follows far below. It looks like gcc is still being searched for. I did read the R install and admin manual but could not find an answer. Help? CC=icc CFLAGS="-fast -unroll" F77=ifort FLAGS="-fast -unroll" CXX=icpc CXXFLAGS="-fast -unroll" FC=ifort FCFLAGS="-fast -unroll" LDFLAGS="-L$ICC_LIBS -L$IFC_LIBS -L/usr/local/lib64" SHLIB_CXXLD=icpc ../configure --prefix=/N/u/mkimpel/Quarry/R_HOME/R-patched/R-build\ CC=icc CFLAGS="-fast -unroll -wd188" F77=ifort FFLAGS="-fast -unroll" \ CXX=icpc CXXFLAGS="-fast -u...
2013 Jun 08
2
Compile error with gfortran-4.6
...   !$omp parallel         tid = omp_get_thread_num()        print *, 'Hello World from thread = ', tid        print *, 'Number of threads =', omp_get_thread_num()        !$omp end parallel        end subroutine hello ### Compiling and testing system("R CMD COMPILE hello.f90 FCFLAGS=-fopenmp") system("R CMD SHLIB hello.o") dyn.load("hello.so") .Fortran("hello") ### Error message /home/fmcron/Documentos/Fortran/OpenMP/exemplos/hello.so: undefined symbol: _gfortran_transfer_character_write Thanks           Fábio Mathias Corrêa    Uni...
2020 Jul 10
3
Compilation error for R 4.0.2
...v F77 ifort setenv FC ifort setenv CFLAGS " -axCORE-AVX512,CORE-AVX2,AVX,SSE4.2 -O3 -qopenmp -fp-model precise -fPIC -I${MKLROOT}/include -I${CURLDIR}/include -I${PCRE2DIR}/include " setenv CXXFLAGS " ${CFLAGS} " setenv FFLAGS " ${CFLAGS} " setenv FCFLAGS " ${CFLAGS} " setenv LDFLAGS " -Wl,-rpath=${MKLROOT}/lib/intel64_lin -L${MKLROOT}/lib/intel64_lin -lmkl_intel_lp64 -lmkl_intel_thread -lmkl_core -Wl,-rpath=/uufs/ chpc.utah.edu/sys/installdir/intel/compilers_and_libraries_2019.5.281/linux/compiler/lib/intel64_lin...
2010 Oct 05
2
Intel i7 utilization
Hello, Is there a way to force through R the amount of the cpu's cores (or the cpu's utilization level) used under Windows 7 or Linux? Thanks, Costas
2013 Sep 09
1
How to get R cmd to check Fortran array bounds
I'm trying to get the this Fortran array bounds check to run on my code as my package has been rejected for failing this test. I read writing R extensions and it appears to run this test I should use a Makevars file with one of the following two flags depending on my compiler: FCFLAGS = -g -O2 -mtune=native -fbounds-check FFLAGS = -g -O2 -mtune=native -fbounds-check and store it in the src subdirectory of my package. I've tried this using each of the above in a Makevars file. It's not giving me the information on where my code is failing the array bounds check and no...
2012 Dec 28
1
linux multi-threaded compilation is running only on one processor
...ntel/lib/intel64 MKL_LIB_PATH=/opt/intel/composerxe/mkl/lib/intel64 INC_LIB_PATH=/usr/local/lib export CC="icc -std=c99" export CFLAGS="-g -O3 -wd188 -ip" export F77=ifort export FFLAGS="-g -O3" export CXX=icpc export CXXFLAGS="-g -O3" export FC=ifort export FCFLAGS="-g -O3" export SHLIB_CXXLD=icpc export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${MKL_LIB_PATH}:${INC_LIB_PATH}:${CMP_LIB_PATH} export LDFLAGS="-L${MKL_LIB_PATH},-L${INC_LIB_PATH},-L${CMP_LIB_PATH},-Bdirect,--hash-style=both,-Wl,-O1" export SHLIB_LDFLAGS="-lpthread" expo...
2012 Apr 06
1
Building R on Solaris (OpenIndiana) with gcc 4.6.2 for amd64 target - relocation problems solved
...XXLDFLAGS and SHLIB_FCLDFLAGS before starting configure. So the complete set of variables' values sufficient to build for the amd64 target (as used on OpenIndiana 151a2 with gcc 4.6.2): SHLIB_LDFLAGS=-shared SHLIB_CXXFLAGS=-shared SHLIB_FCLDFLAGS=-shared CFLAGS=-m64 CXXFLAGS=-m64 FFLAGS=-m64 FCFLAGS=-m64 LDFLAGS=-m64 -L/usr/local/lib/amd64 CPPFLAGS=-I/usr/local/include Additionally you'll need the gnu libiconv, which resides probably in /usr/gnu, so the CPPFLAGS will need an -I/usr/gnu/include and the LDFLAGS needs a -L/usr/gnu/lib/amd64 (on my machines I keep everything in /usr/local...
2015 Aug 22
2
Build optimized R : openblas, MKL, ATLAS
I want to build R optimized, with either MKL, OpenBLAS or ATLAS. My OS: Fedora 22 Hardware: CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian CPU(s): 8 Thread(s) per core: 2 Vendor ID: GenuineIntel Model name: Intel(R) Core(TM) i7-2600K CPU @ 3.40GHz I am a little confused when it comes to choose a method and would like to hear your experiences. If I am right, I have 3 possibilities: -
2014 Jul 25
1
Multiple -g flags in R CMD SHLIB
Does anybody know why two "-g" flags appear in the call to gcc in R CMD SHLIB Example: gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG -fpic *-g* -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 *-g* -c c_file1.c -o c_object1.o Surely it need only be listed once? Alan [[alternative HTML version deleted]]
2012 Jan 11
1
R error in make check
...ith ./configure --prefix=/usr/local/packages/R/builds/2.14.1 --with-blas="-mkl=sequential" --with-lapack="-mkl=sequential" CC=icc CFLAGS="-O3 -mkl=sequential" F77=ifort FFLAGS="-O3 -mkl=sequential" CXX=icpc CXXFLAGS="-O3 -mkl=sequential" FC=ifort FCFLAGS="-O3 -mkl=sequential" LDFLAGS="-O3 -mkl=sequential" I also tried building with O2 intead of O3, it gave the same error on running "make check". I had previously built R 2.11.1 similarly on the same system, and that build passed all tests. Is this error sth to be...
2014 Mar 24
1
Timezone warnings on package install in R-alpha
....sh --with-tk-config=/System/Library/Frameworks/Tk.framework/tkConfig.sh CC=gcc-4.8 CXX=g++-4.8 OBJC=clang F77=gfortran-4.8 FC=gfortran-4.8 CPPFLAGS="-D__ACCELERATE__" CFLAGS="-mtune=native -g -O2" CXXFLAGS="-mtune=native -g -O2" FFLAGS="-mtune=native -g -O2" FCFLAGS="-mtune=native -g -O2" Session info is R version 3.1.0 alpha (2014-03-23 r65266) Platform: x86_64-apple-darwin13.1.0 (64-bit) locale: [1] en_GB.UTF-8/en_GB.UTF-8/en_GB.UTF-8/C/en_GB.UTF-8/en_GB.UTF-8 attached base packages: [1] stats graphics grDevices utils datasets method...
2009 Feb 23
1
Build Error on Solaris
...llowing command: CC="cc -xarch=v9" CFLAGS="-xO5 -xlibmil -dalign" F77="f95 -xarch=v9" FFLAGS="-xO5 -xlibmil -dalign" CXX="CC -xarch=v9" CXXFLAGS="-xO5 -xlibmil -dalign" FC="f95 -xarch=v9" FCFLAGS="-xO5 -xlibmil -dalign" LIBnn="lib" ./configure --prefix=/where/R/installed--enable-R-shlib --with-x --with-readline=no it throws below error message cc -xarch=v9 -I/R/src/R-2.8.1/include -I/myiconv/include -I/mypng/SunOS/include -I/myjpeg/SunOS/include...
2016 Nov 12
0
Ubuntu 16.10 Yakkety Yak uses GCC 6 but -std=c++98 is missing
...,-Bsymbolic-functions -Wl,-z,relro' 'CPPFLAGS=' 'F77=gfortran' 'FFLAGS=-g -O2 -fstack-protector-strong' 'CXX=g++' 'CXXFLAGS=-g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g' 'FC=gfortran' 'FCFLAGS=-g -O2 -fstack-protector-strong' +# configure '--prefix=/usr' '--with-cairo' '--with-jpeglib' '--with-readline' '--with-tcltk' '--with-system-bzlib' '--with-system-pcre' '--with-system-zlib' '--mandir=/usr/share/man' &...