Closed vanessambrown closed 4 years ago
Are you running install_cmdstan(overwrite=TRUE)
with the cores argument? If so, try with
install_cmdstan(overwrite=TRUE, cores = 1)
That specific error message came from running install_cmdstan(overwrite=TRUE) - sorry for not noting that - but the same messages happen if I delete the previous install. I also tried install_cmdstan(overwrite=TRUE,cores=1), same issue.
Ok, found what is going on. This is an issue with cmdstan relying on some commands that are not part of rtools.
In your case run install_cmdstan(overwrite=TRUE) until it fails then do:
file.copy(file.path(cmdstanr::cmdstan_default_path(),"bin","windows-stanc"), file.path(cmdstanr::cmdstan_default_path(),"bin","stanc.exe"))
processx::run("mingw32-make", c("build","-j4"), wd=cmdstanr::cmdstan_default_path(), echo = TRUE)
then restart the R session and start using cmdstanr.
when I try the first command (file.copy), RStudio returns "FALSE". There is a stanc.exe in the directory now though, but when I tried the second command I got the output at the bottom (it's long).
I tried adding the specified path to my PATH variable (this is in Control Panel -> Advanced System Settings -> Environment Variables -> System Variables -> Path) , closing RStudio, rerunning the command, and got the output: "NOTE: Please add C:/Users/vanes/Documents/.cmdstanr/cmdstan-2.23.0/stan/lib/stan_math/lib/tbb to your PATH variable. You may call
mingw32-make install-tbb
to automatically update your user configuration. --- CmdStan v2.23.0 built --- $status [1] 0
$stdout [1] "\nNOTE: Please add C:/Users/vanes/Documents/.cmdstanr/cmdstan-2.23.0/stan/lib/stan_math/lib/tbb to your PATH variable.\nYou may call\n\nmingw32-make install-tbb\n\nto automatically update your user configuration.\n--- CmdStan v2.23.0 built ---\n"
$stderr [1] ""
$timeout [1] FALSE"
Full output from first time running second command:
INFO: Could not find files for the given pattern(s).
g++ -std=c++1y -m64 -D_REENTRANT -Wall -Wno-unused-function -Wno-uninitialized -Wno-unused-but-set-variable -Wno-unused-variable -Wno-sign-compare -Wno-unused-local-typedefs -I stan/lib/stan_math/lib/tbb_2019_U8/include -O3 -I src -I stan/src -I lib/rapidjson_1.1.0/ -I stan/lib/stan_math/ -I stan/lib/stan_math/lib/eigen_3.3.3 -I stan/lib/stan_math/lib/boost_1.72.0 -I stan/lib/stan_math/lib/sundials_5.2.0/include -D_USE_MATH_DEFINES -DBOOST_DISABLE_ASSERTS -c -o bin/cmdstan/print.o src/cmdstan/print.cpp
g++ -std=c++1y -m64 -D_REENTRANT -Wall -Wno-unused-function -Wno-uninitialized -Wno-unused-but-set-variable -Wno-unused-variable -Wno-sign-compare -Wno-unused-local-typedefs -I stan/lib/stan_math/lib/tbb_2019_U8/include -O3 -I src -I stan/src -I lib/rapidjson_1.1.0/ -I stan/lib/stan_math/ -I stan/lib/stan_math/lib/eigen_3.3.3 -I stan/lib/stan_math/lib/boost_1.72.0 -I stan/lib/stan_math/lib/sundials_5.2.0/include -D_USE_MATH_DEFINES -DBOOST_DISABLE_ASSERTS -c -o bin/cmdstan/diagnose.o src/cmdstan/diagnose.cpp
g++ -pipe -m64 -D_REENTRANT -O3 -I stan/lib/stan_math/lib/sundials_5.2.0/include -DNO_FPRINTF_OUTPUT -D_USE_MATH_DEFINES -c -x c -include stan/lib/stan_math/lib/sundials_5.2.0/include/stan_sundials_printf_override.hpp stan/lib/stan_math/lib/sundials_5.2.0/src/nvector/serial/nvector_serial.c -o stan/lib/stan_math/lib/sundials_5.2.0/src/nvector/serial/nvector_serial.o
g++ -std=c++1y -m64 -D_REENTRANT -Wall -Wno-unused-function -Wno-uninitialized -Wno-unused-but-set-variable -Wno-unused-variable -Wno-sign-compare -Wno-unused-local-typedefs -I stan/lib/stan_math/lib/tbb_2019_U8/include -O3 -I src -I stan/src -I lib/rapidjson_1.1.0/ -I stan/lib/stan_math/ -I stan/lib/stan_math/lib/eigen_3.3.3 -I stan/lib/stan_math/lib/boost_1.72.0 -I stan/lib/stan_math/lib/sundials_5.2.0/include -D_USE_MATH_DEFINES -DBOOST_DISABLE_ASSERTS -Wl,-L,"C:/Users/vanes/Documents/.cmdstanr/cmdstan-2.23.0/stan/lib/stan_math/lib/tbb" -Wl,-rpath,"C:/Users/vanes/Documents/.cmdstanr/cmdstan-2.23.0/stan/lib/stan_math/lib/tbb" bin/cmdstan/stansummary.o -static-libgcc -static-libstdc++ -o bin/stansummary.exe
g++ -pipe -m64 -D_REENTRANT -O3 -I stan/lib/stan_math/lib/sundials_5.2.0/include -DNO_FPRINTF_OUTPUT -D_USE_MATH_DEFINES -c -x c -include stan/lib/stan_math/lib/sundials_5.2.0/include/stan_sundials_printf_override.hpp stan/lib/stan_math/lib/sundials_5.2.0/src/sundials/sundials_math.c -o stan/lib/stan_math/lib/sundials_5.2.0/src/sundials/sundials_math.o
g++ -pipe -m64 -D_REENTRANT -O3 -I stan/lib/stan_math/lib/sundials_5.2.0/include -DNO_FPRINTF_OUTPUT -D_USE_MATH_DEFINES -c -x c -include stan/lib/stan_math/lib/sundials_5.2.0/include/stan_sundials_printf_override.hpp stan/lib/stan_math/lib/sundials_5.2.0/src/cvodes/cvodes_nls_stg1.c -o stan/lib/stan_math/lib/sundials_5.2.0/src/cvodes/cvodes_nls_stg1.o
g++ -pipe -m64 -D_REENTRANT -O3 -I stan/lib/stan_math/lib/sundials_5.2.0/include -DNO_FPRINTF_OUTPUT -D_USE_MATH_DEFINES -c -x c -include stan/lib/stan_math/lib/sundials_5.2.0/include/stan_sundials_printf_override.hpp stan/lib/stan_math/lib/sundials_5.2.0/src/cvodes/cvodes_nls_sim.c -o stan/lib/stan_math/lib/sundials_5.2.0/src/cvodes/cvodes_nls_sim.o
g++ -pipe -m64 -D_REENTRANT -O3 -I stan/lib/stan_math/lib/sundials_5.2.0/include -DNO_FPRINTF_OUTPUT -D_USE_MATH_DEFINES -c -x c -include stan/lib/stan_math/lib/sundials_5.2.0/include/stan_sundials_printf_override.hpp stan/lib/stan_math/lib/sundials_5.2.0/src/cvodes/cvodes_ls.c -o stan/lib/stan_math/lib/sundials_5.2.0/src/cvodes/cvodes_ls.o
g++ -pipe -m64 -D_REENTRANT -O3 -I stan/lib/stan_math/lib/sundials_5.2.0/include -DNO_FPRINTF_OUTPUT -D_USE_MATH_DEFINES -c -x c -include stan/lib/stan_math/lib/sundials_5.2.0/include/stan_sundials_printf_override.hpp stan/lib/stan_math/lib/sundials_5.2.0/src/cvodes/cvodea_io.c -o stan/lib/stan_math/lib/sundials_5.2.0/src/cvodes/cvodea_io.o
g++ -pipe -m64 -D_REENTRANT -O3 -I stan/lib/stan_math/lib/sundials_5.2.0/include -DNO_FPRINTF_OUTPUT -D_USE_MATH_DEFINES -c -x c -include stan/lib/stan_math/lib/sundials_5.2.0/include/stan_sundials_printf_override.hpp stan/lib/stan_math/lib/sundials_5.2.0/src/cvodes/cvodes_spils.c -o stan/lib/stan_math/lib/sundials_5.2.0/src/cvodes/cvodes_spils.o
g++ -pipe -m64 -D_REENTRANT -O3 -I stan/lib/stan_math/lib/sundials_5.2.0/include -DNO_FPRINTF_OUTPUT -D_USE_MATH_DEFINES -c -x c -include stan/lib/stan_math/lib/sundials_5.2.0/include/stan_sundials_printf_override.hpp stan/lib/stan_math/lib/sundials_5.2.0/src/cvodes/cvodes.c -o stan/lib/stan_math/lib/sundials_5.2.0/src/cvodes/cvodes.o
g++ -pipe -m64 -D_REENTRANT -O3 -I stan/lib/stan_math/lib/sundials_5.2.0/include -DNO_FPRINTF_OUTPUT -D_USE_MATH_DEFINES -c -x c -include stan/lib/stan_math/lib/sundials_5.2.0/include/stan_sundials_printf_override.hpp stan/lib/stan_math/lib/sundials_5.2.0/src/cvodes/cvodes_bandpre.c -o stan/lib/stan_math/lib/sundials_5.2.0/src/cvodes/cvodes_bandpre.o
g++ -pipe -m64 -D_REENTRANT -O3 -I stan/lib/stan_math/lib/sundials_5.2.0/include -DNO_FPRINTF_OUTPUT -D_USE_MATH_DEFINES -c -x c -include stan/lib/stan_math/lib/sundials_5.2.0/include/stan_sundials_printf_override.hpp stan/lib/stan_math/lib/sundials_5.2.0/src/cvodes/cvodes_bbdpre.c -o stan/lib/stan_math/lib/sundials_5.2.0/src/cvodes/cvodes_bbdpre.o
g++ -pipe -m64 -D_REENTRANT -O3 -I stan/lib/stan_math/lib/sundials_5.2.0/include -DNO_FPRINTF_OUTPUT -D_USE_MATH_DEFINES -c -x c -include stan/lib/stan_math/lib/sundials_5.2.0/include/stan_sundials_printf_override.hpp stan/lib/stan_math/lib/sundials_5.2.0/src/cvodes/cvodes_nls_stg.c -o stan/lib/stan_math/lib/sundials_5.2.0/src/cvodes/cvodes_nls_stg.o
g++ -pipe -m64 -D_REENTRANT -O3 -I stan/lib/stan_math/lib/sundials_5.2.0/include -DNO_FPRINTF_OUTPUT -D_USE_MATH_DEFINES -c -x c -include stan/lib/stan_math/lib/sundials_5.2.0/include/stan_sundials_printf_override.hpp stan/lib/stan_math/lib/sundials_5.2.0/src/cvodes/cvodea.c -o stan/lib/stan_math/lib/sundials_5.2.0/src/cvodes/cvodea.o
g++ -pipe -m64 -D_REENTRANT -O3 -I stan/lib/stan_math/lib/sundials_5.2.0/include -DNO_FPRINTF_OUTPUT -D_USE_MATH_DEFINES -c -x c -include stan/lib/stan_math/lib/sundials_5.2.0/include/stan_sundials_printf_override.hpp stan/lib/stan_math/lib/sundials_5.2.0/src/cvodes/cvodes_io.c -o stan/lib/stan_math/lib/sundials_5.2.0/src/cvodes/cvodes_io.o
g++ -pipe -m64 -D_REENTRANT -O3 -I stan/lib/stan_math/lib/sundials_5.2.0/include -DNO_FPRINTF_OUTPUT -D_USE_MATH_DEFINES -c -x c -include stan/lib/stan_math/lib/sundials_5.2.0/include/stan_sundials_printf_override.hpp stan/lib/stan_math/lib/sundials_5.2.0/src/cvodes/cvodes_direct.c -o stan/lib/stan_math/lib/sundials_5.2.0/src/cvodes/cvodes_direct.o
g++ -pipe -m64 -D_REENTRANT -O3 -I stan/lib/stan_math/lib/sundials_5.2.0/include -DNO_FPRINTF_OUTPUT -D_USE_MATH_DEFINES -c -x c -include stan/lib/stan_math/lib/sundials_5.2.0/include/stan_sundials_printf_override.hpp stan/lib/stan_math/lib/sundials_5.2.0/src/cvodes/cvodes_diag.c -o stan/lib/stan_math/lib/sundials_5.2.0/src/cvodes/cvodes_diag.o
g++ -pipe -m64 -D_REENTRANT -O3 -I stan/lib/stan_math/lib/sundials_5.2.0/include -DNO_FPRINTF_OUTPUT -D_USE_MATH_DEFINES -c -x c -include stan/lib/stan_math/lib/sundials_5.2.0/include/stan_sundials_printf_override.hpp stan/lib/stan_math/lib/sundials_5.2.0/src/cvodes/cvodes_nls.c -o stan/lib/stan_math/lib/sundials_5.2.0/src/cvodes/cvodes_nls.o
g++ -pipe -m64 -D_REENTRANT -O3 -I stan/lib/stan_math/lib/sundials_5.2.0/include -DNO_FPRINTF_OUTPUT -D_USE_MATH_DEFINES -c -x c -include stan/lib/stan_math/lib/sundials_5.2.0/include/stan_sundials_printf_override.hpp stan/lib/stan_math/lib/sundials_5.2.0/src/sundials/sundials_dense.c -o stan/lib/stan_math/lib/sundials_5.2.0/src/sundials/sundials_dense.o
g++ -pipe -m64 -D_REENTRANT -O3 -I stan/lib/stan_math/lib/sundials_5.2.0/include -DNO_FPRINTF_OUTPUT -D_USE_MATH_DEFINES -c -x c -include stan/lib/stan_math/lib/sundials_5.2.0/include/stan_sundials_printf_override.hpp stan/lib/stan_math/lib/sundials_5.2.0/src/sundials/sundials_nvector_senswrapper.c -o stan/lib/stan_math/lib/sundials_5.2.0/src/sundials/sundials_nvector_senswrapper.o
g++ -pipe -m64 -D_REENTRANT -O3 -I stan/lib/stan_math/lib/sundials_5.2.0/include -DNO_FPRINTF_OUTPUT -D_USE_MATH_DEFINES -c -x c -include stan/lib/stan_math/lib/sundials_5.2.0/include/stan_sundials_printf_override.hpp stan/lib/stan_math/lib/sundials_5.2.0/src/sundials/sundials_nvector.c -o stan/lib/stan_math/lib/sundials_5.2.0/src/sundials/sundials_nvector.o
g++ -pipe -m64 -D_REENTRANT -O3 -I stan/lib/stan_math/lib/sundials_5.2.0/include -DNO_FPRINTF_OUTPUT -D_USE_MATH_DEFINES -c -x c -include stan/lib/stan_math/lib/sundials_5.2.0/include/stan_sundials_printf_override.hpp stan/lib/stan_math/lib/sundials_5.2.0/src/sundials/sundials_linearsolver.c -o stan/lib/stan_math/lib/sundials_5.2.0/src/sundials/sundials_linearsolver.o
g++ -pipe -m64 -D_REENTRANT -O3 -I stan/lib/stan_math/lib/sundials_5.2.0/include -DNO_FPRINTF_OUTPUT -D_USE_MATH_DEFINES -c -x c -include stan/lib/stan_math/lib/sundials_5.2.0/include/stan_sundials_printf_override.hpp stan/lib/stan_math/lib/sundials_5.2.0/src/sundials/sundials_iterative.c -o stan/lib/stan_math/lib/sundials_5.2.0/src/sundials/sundials_iterative.o
g++ -pipe -m64 -D_REENTRANT -O3 -I stan/lib/stan_math/lib/sundials_5.2.0/include -DNO_FPRINTF_OUTPUT -D_USE_MATH_DEFINES -c -x c -include stan/lib/stan_math/lib/sundials_5.2.0/include/stan_sundials_printf_override.hpp stan/lib/stan_math/lib/sundials_5.2.0/src/sundials/sundials_band.c -o stan/lib/stan_math/lib/sundials_5.2.0/src/sundials/sundials_band.o
g++ -pipe -m64 -D_REENTRANT -O3 -I stan/lib/stan_math/lib/sundials_5.2.0/include -DNO_FPRINTF_OUTPUT -D_USE_MATH_DEFINES -c -x c -include stan/lib/stan_math/lib/sundials_5.2.0/include/stan_sundials_printf_override.hpp stan/lib/stan_math/lib/sundials_5.2.0/src/sundials/sundials_version.c -o stan/lib/stan_math/lib/sundials_5.2.0/src/sundials/sundials_version.o
g++ -pipe -m64 -D_REENTRANT -O3 -I stan/lib/stan_math/lib/sundials_5.2.0/include -DNO_FPRINTF_OUTPUT -D_USE_MATH_DEFINES -c -x c -include stan/lib/stan_math/lib/sundials_5.2.0/include/stan_sundials_printf_override.hpp stan/lib/stan_math/lib/sundials_5.2.0/src/sundials/sundials_nonlinearsolver.c -o stan/lib/stan_math/lib/sundials_5.2.0/src/sundials/sundials_nonlinearsolver.o
g++ -pipe -m64 -D_REENTRANT -O3 -I stan/lib/stan_math/lib/sundials_5.2.0/include -DNO_FPRINTF_OUTPUT -D_USE_MATH_DEFINES -c -x c -include stan/lib/stan_math/lib/sundials_5.2.0/include/stan_sundials_printf_override.hpp stan/lib/stan_math/lib/sundials_5.2.0/src/sundials/sundials_direct.c -o stan/lib/stan_math/lib/sundials_5.2.0/src/sundials/sundials_direct.o
g++ -pipe -m64 -D_REENTRANT -O3 -I stan/lib/stan_math/lib/sundials_5.2.0/include -DNO_FPRINTF_OUTPUT -D_USE_MATH_DEFINES -c -x c -include stan/lib/stan_math/lib/sundials_5.2.0/include/stan_sundials_printf_override.hpp stan/lib/stan_math/lib/sundials_5.2.0/src/sundials/sundials_futils.c -o stan/lib/stan_math/lib/sundials_5.2.0/src/sundials/sundials_futils.o
g++ -pipe -m64 -D_REENTRANT -O3 -I stan/lib/stan_math/lib/sundials_5.2.0/include -DNO_FPRINTF_OUTPUT -D_USE_MATH_DEFINES -c -x c -include stan/lib/stan_math/lib/sundials_5.2.0/include/stan_sundials_printf_override.hpp stan/lib/stan_math/lib/sundials_5.2.0/src/sundials/sundials_matrix.c -o stan/lib/stan_math/lib/sundials_5.2.0/src/sundials/sundials_matrix.o
g++ -pipe -m64 -D_REENTRANT -O3 -I stan/lib/stan_math/lib/sundials_5.2.0/include -DNO_FPRINTF_OUTPUT -D_USE_MATH_DEFINES -c -x c -include stan/lib/stan_math/lib/sundials_5.2.0/include/stan_sundials_printf_override.hpp stan/lib/stan_math/lib/sundials_5.2.0/src/sunmatrix/band/sunmatrix_band.c -o stan/lib/stan_math/lib/sundials_5.2.0/src/sunmatrix/band/sunmatrix_band.o
g++ -pipe -m64 -D_REENTRANT -O3 -I stan/lib/stan_math/lib/sundials_5.2.0/include -DNO_FPRINTF_OUTPUT -D_USE_MATH_DEFINES -c -x c -include stan/lib/stan_math/lib/sundials_5.2.0/include/stan_sundials_printf_override.hpp stan/lib/stan_math/lib/sundials_5.2.0/src/sunmatrix/dense/sunmatrix_dense.c -o stan/lib/stan_math/lib/sundials_5.2.0/src/sunmatrix/dense/sunmatrix_dense.o
g++ -pipe -m64 -D_REENTRANT -O3 -I stan/lib/stan_math/lib/sundials_5.2.0/include -DNO_FPRINTF_OUTPUT -D_USE_MATH_DEFINES -c -x c -include stan/lib/stan_math/lib/sundials_5.2.0/include/stan_sundials_printf_override.hpp stan/lib/stan_math/lib/sundials_5.2.0/src/sunlinsol/band/sunlinsol_band.c -o stan/lib/stan_math/lib/sundials_5.2.0/src/sunlinsol/band/sunlinsol_band.o
g++ -pipe -m64 -D_REENTRANT -O3 -I stan/lib/stan_math/lib/sundials_5.2.0/include -DNO_FPRINTF_OUTPUT -D_USE_MATH_DEFINES -c -x c -include stan/lib/stan_math/lib/sundials_5.2.0/include/stan_sundials_printf_override.hpp stan/lib/stan_math/lib/sundials_5.2.0/src/sunlinsol/dense/sunlinsol_dense.c -o stan/lib/stan_math/lib/sundials_5.2.0/src/sunlinsol/dense/sunlinsol_dense.o
g++ -pipe -m64 -D_REENTRANT -O3 -I stan/lib/stan_math/lib/sundials_5.2.0/include -DNO_FPRINTF_OUTPUT -D_USE_MATH_DEFINES -c -x c -include stan/lib/stan_math/lib/sundials_5.2.0/include/stan_sundials_printf_override.hpp stan/lib/stan_math/lib/sundials_5.2.0/src/sunnonlinsol/newton/sunnonlinsol_newton.c -o stan/lib/stan_math/lib/sundials_5.2.0/src/sunnonlinsol/newton/sunnonlinsol_newton.o
g++ -pipe -m64 -D_REENTRANT -O3 -I stan/lib/stan_math/lib/sundials_5.2.0/include -DNO_FPRINTF_OUTPUT -D_USE_MATH_DEFINES -c -x c -include stan/lib/stan_math/lib/sundials_5.2.0/include/stan_sundials_printf_override.hpp stan/lib/stan_math/lib/sundials_5.2.0/src/sunnonlinsol/fixedpoint/sunnonlinsol_fixedpoint.c -o stan/lib/stan_math/lib/sundials_5.2.0/src/sunnonlinsol/fixedpoint/sunnonlinsol_fixedpoint.o
g++ -pipe -m64 -D_REENTRANT -O3 -I stan/lib/stan_math/lib/sundials_5.2.0/include -DNO_FPRINTF_OUTPUT -D_USE_MATH_DEFINES -c -x c -include stan/lib/stan_math/lib/sundials_5.2.0/include/stan_sundials_printf_override.hpp stan/lib/stan_math/lib/sundials_5.2.0/src/idas/idas_nls.c -o stan/lib/stan_math/lib/sundials_5.2.0/src/idas/idas_nls.o
g++ -pipe -m64 -D_REENTRANT -O3 -I stan/lib/stan_math/lib/sundials_5.2.0/include -DNO_FPRINTF_OUTPUT -D_USE_MATH_DEFINES -c -x c -include stan/lib/stan_math/lib/sundials_5.2.0/include/stan_sundials_printf_override.hpp stan/lib/stan_math/lib/sundials_5.2.0/src/idas/idas_nls_sim.c -o stan/lib/stan_math/lib/sundials_5.2.0/src/idas/idas_nls_sim.o
g++ -pipe -m64 -D_REENTRANT -O3 -I stan/lib/stan_math/lib/sundials_5.2.0/include -DNO_FPRINTF_OUTPUT -D_USE_MATH_DEFINES -c -x c -include stan/lib/stan_math/lib/sundials_5.2.0/include/stan_sundials_printf_override.hpp stan/lib/stan_math/lib/sundials_5.2.0/src/idas/idas_ls.c -o stan/lib/stan_math/lib/sundials_5.2.0/src/idas/idas_ls.o
g++ -pipe -m64 -D_REENTRANT -O3 -I stan/lib/stan_math/lib/sundials_5.2.0/include -DNO_FPRINTF_OUTPUT -D_USE_MATH_DEFINES -c -x c -include stan/lib/stan_math/lib/sundials_5.2.0/include/stan_sundials_printf_override.hpp stan/lib/stan_math/lib/sundials_5.2.0/src/idas/idas.c -o stan/lib/stan_math/lib/sundials_5.2.0/src/idas/idas.o
g++ -pipe -m64 -D_REENTRANT -O3 -I stan/lib/stan_math/lib/sundials_5.2.0/include -DNO_FPRINTF_OUTPUT -D_USE_MATH_DEFINES -c -x c -include stan/lib/stan_math/lib/sundials_5.2.0/include/stan_sundials_printf_override.hpp stan/lib/stan_math/lib/sundials_5.2.0/src/idas/idas_bbdpre.c -o stan/lib/stan_math/lib/sundials_5.2.0/src/idas/idas_bbdpre.o
g++ -pipe -m64 -D_REENTRANT -O3 -I stan/lib/stan_math/lib/sundials_5.2.0/include -DNO_FPRINTF_OUTPUT -D_USE_MATH_DEFINES -c -x c -include stan/lib/stan_math/lib/sundials_5.2.0/include/stan_sundials_printf_override.hpp stan/lib/stan_math/lib/sundials_5.2.0/src/idas/idas_nls_stg.c -o stan/lib/stan_math/lib/sundials_5.2.0/src/idas/idas_nls_stg.o
g++ -pipe -m64 -D_REENTRANT -O3 -I stan/lib/stan_math/lib/sundials_5.2.0/include -DNO_FPRINTF_OUTPUT -D_USE_MATH_DEFINES -c -x c -include stan/lib/stan_math/lib/sundials_5.2.0/include/stan_sundials_printf_override.hpp stan/lib/stan_math/lib/sundials_5.2.0/src/idas/idaa_io.c -o stan/lib/stan_math/lib/sundials_5.2.0/src/idas/idaa_io.o
g++ -pipe -m64 -D_REENTRANT -O3 -I stan/lib/stan_math/lib/sundials_5.2.0/include -DNO_FPRINTF_OUTPUT -D_USE_MATH_DEFINES -c -x c -include stan/lib/stan_math/lib/sundials_5.2.0/include/stan_sundials_printf_override.hpp stan/lib/stan_math/lib/sundials_5.2.0/src/idas/idas_direct.c -o stan/lib/stan_math/lib/sundials_5.2.0/src/idas/idas_direct.o
g++ -pipe -m64 -D_REENTRANT -O3 -I stan/lib/stan_math/lib/sundials_5.2.0/include -DNO_FPRINTF_OUTPUT -D_USE_MATH_DEFINES -c -x c -include stan/lib/stan_math/lib/sundials_5.2.0/include/stan_sundials_printf_override.hpp stan/lib/stan_math/lib/sundials_5.2.0/src/idas/idas_io.c -o stan/lib/stan_math/lib/sundials_5.2.0/src/idas/idas_io.o
g++ -pipe -m64 -D_REENTRANT -O3 -I stan/lib/stan_math/lib/sundials_5.2.0/include -DNO_FPRINTF_OUTPUT -D_USE_MATH_DEFINES -c -x c -include stan/lib/stan_math/lib/sundials_5.2.0/include/stan_sundials_printf_override.hpp stan/lib/stan_math/lib/sundials_5.2.0/src/idas/idaa.c -o stan/lib/stan_math/lib/sundials_5.2.0/src/idas/idaa.o
g++ -pipe -m64 -D_REENTRANT -O3 -I stan/lib/stan_math/lib/sundials_5.2.0/include -DNO_FPRINTF_OUTPUT -D_USE_MATH_DEFINES -c -x c -include stan/lib/stan_math/lib/sundials_5.2.0/include/stan_sundials_printf_override.hpp stan/lib/stan_math/lib/sundials_5.2.0/src/idas/idas_ic.c -o stan/lib/stan_math/lib/sundials_5.2.0/src/idas/idas_ic.o
g++ -pipe -m64 -D_REENTRANT -O3 -I stan/lib/stan_math/lib/sundials_5.2.0/include -DNO_FPRINTF_OUTPUT -D_USE_MATH_DEFINES -c -x c -include stan/lib/stan_math/lib/sundials_5.2.0/include/stan_sundials_printf_override.hpp stan/lib/stan_math/lib/sundials_5.2.0/src/idas/idas_spils.c -o stan/lib/stan_math/lib/sundials_5.2.0/src/idas/idas_spils.o
g++ -pipe -m64 -D_REENTRANT -O3 -I stan/lib/stan_math/lib/sundials_5.2.0/include -DNO_FPRINTF_OUTPUT -D_USE_MATH_DEFINES -c -x c -include stan/lib/stan_math/lib/sundials_5.2.0/include/stan_sundials_printf_override.hpp stan/lib/stan_math/lib/sundials_5.2.0/src/kinsol/kinsol_io.c -o stan/lib/stan_math/lib/sundials_5.2.0/src/kinsol/kinsol_io.o
g++ -pipe -m64 -D_REENTRANT -O3 -I stan/lib/stan_math/lib/sundials_5.2.0/include -DNO_FPRINTF_OUTPUT -D_USE_MATH_DEFINES -c -x c -include stan/lib/stan_math/lib/sundials_5.2.0/include/stan_sundials_printf_override.hpp stan/lib/stan_math/lib/sundials_5.2.0/src/kinsol/kinsol_spils.c -o stan/lib/stan_math/lib/sundials_5.2.0/src/kinsol/kinsol_spils.o
g++ -pipe -m64 -D_REENTRANT -O3 -I stan/lib/stan_math/lib/sundials_5.2.0/include -DNO_FPRINTF_OUTPUT -D_USE_MATH_DEFINES -c -x c -include stan/lib/stan_math/lib/sundials_5.2.0/include/stan_sundials_printf_override.hpp stan/lib/stan_math/lib/sundials_5.2.0/src/kinsol/kinsol_ls.c -o stan/lib/stan_math/lib/sundials_5.2.0/src/kinsol/kinsol_ls.o
g++ -pipe -m64 -D_REENTRANT -O3 -I stan/lib/stan_math/lib/sundials_5.2.0/include -DNO_FPRINTF_OUTPUT -D_USE_MATH_DEFINES -c -x c -include stan/lib/stan_math/lib/sundials_5.2.0/include/stan_sundials_printf_override.hpp stan/lib/stan_math/lib/sundials_5.2.0/src/kinsol/kinsol.c -o stan/lib/stan_math/lib/sundials_5.2.0/src/kinsol/kinsol.o
g++ -pipe -m64 -D_REENTRANT -O3 -I stan/lib/stan_math/lib/sundials_5.2.0/include -DNO_FPRINTF_OUTPUT -D_USE_MATH_DEFINES -c -x c -include stan/lib/stan_math/lib/sundials_5.2.0/include/stan_sundials_printf_override.hpp stan/lib/stan_math/lib/sundials_5.2.0/src/kinsol/kinsol_bbdpre.c -o stan/lib/stan_math/lib/sundials_5.2.0/src/kinsol/kinsol_bbdpre.o
g++ -pipe -m64 -D_REENTRANT -O3 -I stan/lib/stan_math/lib/sundials_5.2.0/include -DNO_FPRINTF_OUTPUT -D_USE_MATH_DEFINES -c -x c -include stan/lib/stan_math/lib/sundials_5.2.0/include/stan_sundials_printf_override.hpp stan/lib/stan_math/lib/sundials_5.2.0/src/kinsol/kinsol_direct.c -o stan/lib/stan_math/lib/sundials_5.2.0/src/kinsol/kinsol_direct.o
touch stan/lib/stan_math/lib/tbb/tbb-make-check
g++ -std=c++1y -m64 -D_REENTRANT -Wall -Wno-unused-function -Wno-uninitialized -Wno-unused-but-set-variable -Wno-unused-variable -Wno-sign-compare -Wno-unused-local-typedefs -I stan/lib/stan_math/lib/tbb_2019_U8/include -O3 -I src -I stan/src -I lib/rapidjson_1.1.0/ -I stan/lib/stan_math/ -I stan/lib/stan_math/lib/eigen_3.3.3 -I stan/lib/stan_math/lib/boost_1.72.0 -I stan/lib/stan_math/lib/sundials_5.2.0/include -D_USE_MATH_DEFINES -DBOOST_DISABLE_ASSERTS -c -o src/cmdstan/main.o src/cmdstan/main.cpp
ar -rs stan/lib/stan_math/lib/sundials_5.2.0/lib/libsundials_nvecserial.a stan/lib/stan_math/lib/sundials_5.2.0/src/nvector/serial/nvector_serial.o stan/lib/stan_math/lib/sundials_5.2.0/src/sundials/sundials_math.o
ar: creating stan/lib/stan_math/lib/sundials_5.2.0/lib/libsundials_nvecserial.a
ar -rs stan/lib/stan_math/lib/sundials_5.2.0/lib/libsundials_cvodes.a stan/lib/stan_math/lib/sundials_5.2.0/src/cvodes/cvodes_nls_stg1.o stan/lib/stan_math/lib/sundials_5.2.0/src/cvodes/cvodes_nls_sim.o stan/lib/stan_math/lib/sundials_5.2.0/src/cvodes/cvodes_ls.o stan/lib/stan_math/lib/sundials_5.2.0/src/cvodes/cvodea_io.o stan/lib/stan_math/lib/sundials_5.2.0/src/cvodes/cvodes_spils.o stan/lib/stan_math/lib/sundials_5.2.0/src/cvodes/cvodes.o stan/lib/stan_math/lib/sundials_5.2.0/src/cvodes/cvodes_bandpre.o stan/lib/stan_math/lib/sundials_5.2.0/src/cvodes/cvodes_bbdpre.o stan/lib/stan_math/lib/sundials_5.2.0/src/cvodes/cvodes_nls_stg.o stan/lib/stan_math/lib/sundials_5.2.0/src/cvodes/cvodea.o stan/lib/stan_math/lib/sundials_5.2.0/src/cvodes/cvodes_io.o stan/lib/stan_math/lib/sundials_5.2.0/src/cvodes/cvodes_direct.o stan/lib/stan_math/lib/sundials_5.2.0/src/cvodes/cvodes_diag.o stan/lib/stan_math/lib/sundials_5.2.0/src/cvodes/cvodes_nls.o stan/lib/stan_math/lib/sundials_5.2.0/src/sundials/sundials_dense.o stan/lib/stan_math/lib/sundials_5.2.0/src/sundials/sundials_nvector_senswrapper.o stan/lib/stan_math/lib/sundials_5.2.0/src/sundials/sundials_nvector.o stan/lib/stan_math/lib/sundials_5.2.0/src/sundials/sundials_math.o stan/lib/stan_math/lib/sundials_5.2.0/src/sundials/sundials_linearsolver.o stan/lib/stan_math/lib/sundials_5.2.0/src/sundials/sundials_iterative.o stan/lib/stan_math/lib/sundials_5.2.0/src/sundials/sundials_band.o stan/lib/stan_math/lib/sundials_5.2.0/src/sundials/sundials_version.o stan/lib/stan_math/lib/sundials_5.2.0/src/sundials/sundials_nonlinearsolver.o stan/lib/stan_math/lib/sundials_5.2.0/src/sundials/sundials_direct.o stan/lib/stan_math/lib/sundials_5.2.0/src/sundials/sundials_futils.o stan/lib/stan_math/lib/sundials_5.2.0/src/sundials/sundials_matrix.o stan/lib/stan_math/lib/sundials_5.2.0/src/sunmatrix/band/sunmatrix_band.o stan/lib/stan_math/lib/sundials_5.2.0/src/sunmatrix/dense/sunmatrix_dense.o stan/lib/stan_math/lib/sundials_5.2.0/src/sunlinsol/band/sunlinsol_band.o stan/lib/stan_math/lib/sundials_5.2.0/src/sunlinsol/dense/sunlinsol_dense.o stan/lib/stan_math/lib/sundials_5.2.0/src/sunnonlinsol/newton/sunnonlinsol_newton.o stan/lib/stan_math/lib/sundials_5.2.0/src/sunnonlinsol/fixedpoint/sunnonlinsol_fixedpoint.o
ar: creating stan/lib/stan_math/lib/sundials_5.2.0/lib/libsundials_cvodes.a
ar -rs stan/lib/stan_math/lib/sundials_5.2.0/lib/libsundials_idas.a stan/lib/stan_math/lib/sundials_5.2.0/src/idas/idas_nls.o stan/lib/stan_math/lib/sundials_5.2.0/src/idas/idas_nls_sim.o stan/lib/stan_math/lib/sundials_5.2.0/src/idas/idas_ls.o stan/lib/stan_math/lib/sundials_5.2.0/src/idas/idas.o stan/lib/stan_math/lib/sundials_5.2.0/src/idas/idas_bbdpre.o stan/lib/stan_math/lib/sundials_5.2.0/src/idas/idas_nls_stg.o stan/lib/stan_math/lib/sundials_5.2.0/src/idas/idaa_io.o stan/lib/stan_math/lib/sundials_5.2.0/src/idas/idas_direct.o stan/lib/stan_math/lib/sundials_5.2.0/src/idas/idas_io.o stan/lib/stan_math/lib/sundials_5.2.0/src/idas/idaa.o stan/lib/stan_math/lib/sundials_5.2.0/src/idas/idas_ic.o stan/lib/stan_math/lib/sundials_5.2.0/src/idas/idas_spils.o stan/lib/stan_math/lib/sundials_5.2.0/src/sundials/sundials_dense.o stan/lib/stan_math/lib/sundials_5.2.0/src/sundials/sundials_nvector_senswrapper.o stan/lib/stan_math/lib/sundials_5.2.0/src/sundials/sundials_nvector.o stan/lib/stan_math/lib/sundials_5.2.0/src/sundials/sundials_math.o stan/lib/stan_math/lib/sundials_5.2.0/src/sundials/sundials_linearsolver.o stan/lib/stan_math/lib/sundials_5.2.0/src/sundials/sundials_iterative.o stan/lib/stan_math/lib/sundials_5.2.0/src/sundials/sundials_band.o stan/lib/stan_math/lib/sundials_5.2.0/src/sundials/sundials_version.o stan/lib/stan_math/lib/sundials_5.2.0/src/sundials/sundials_nonlinearsolver.o stan/lib/stan_math/lib/sundials_5.2.0/src/sundials/sundials_direct.o stan/lib/stan_math/lib/sundials_5.2.0/src/sundials/sundials_futils.o stan/lib/stan_math/lib/sundials_5.2.0/src/sundials/sundials_matrix.o stan/lib/stan_math/lib/sundials_5.2.0/src/sunmatrix/band/sunmatrix_band.o stan/lib/stan_math/lib/sundials_5.2.0/src/sunmatrix/dense/sunmatrix_dense.o stan/lib/stan_math/lib/sundials_5.2.0/src/sunlinsol/band/sunlinsol_band.o stan/lib/stan_math/lib/sundials_5.2.0/src/sunlinsol/dense/sunlinsol_dense.o stan/lib/stan_math/lib/sundials_5.2.0/src/sunnonlinsol/newton/sunnonlinsol_newton.o stan/lib/stan_math/lib/sundials_5.2.0/src/sunnonlinsol/fixedpoint/sunnonlinsol_fixedpoint.o
ar: creating stan/lib/stan_math/lib/sundials_5.2.0/lib/libsundials_idas.a
ar -rs stan/lib/stan_math/lib/sundials_5.2.0/lib/libsundials_kinsol.a stan/lib/stan_math/lib/sundials_5.2.0/src/kinsol/kinsol_io.o stan/lib/stan_math/lib/sundials_5.2.0/src/kinsol/kinsol_spils.o stan/lib/stan_math/lib/sundials_5.2.0/src/kinsol/kinsol_ls.o stan/lib/stan_math/lib/sundials_5.2.0/src/kinsol/kinsol.o stan/lib/stan_math/lib/sundials_5.2.0/src/kinsol/kinsol_bbdpre.o stan/lib/stan_math/lib/sundials_5.2.0/src/kinsol/kinsol_direct.o stan/lib/stan_math/lib/sundials_5.2.0/src/sundials/sundials_dense.o stan/lib/stan_math/lib/sundials_5.2.0/src/sundials/sundials_nvector_senswrapper.o stan/lib/stan_math/lib/sundials_5.2.0/src/sundials/sundials_nvector.o stan/lib/stan_math/lib/sundials_5.2.0/src/sundials/sundials_math.o stan/lib/stan_math/lib/sundials_5.2.0/src/sundials/sundials_linearsolver.o stan/lib/stan_math/lib/sundials_5.2.0/src/sundials/sundials_iterative.o stan/lib/stan_math/lib/sundials_5.2.0/src/sundials/sundials_band.o stan/lib/stan_math/lib/sundials_5.2.0/src/sundials/sundials_version.o stan/lib/stan_math/lib/sundials_5.2.0/src/sundials/sundials_nonlinearsolver.o stan/lib/stan_math/lib/sundials_5.2.0/src/sundials/sundials_direct.o stan/lib/stan_math/lib/sundials_5.2.0/src/sundials/sundials_futils.o stan/lib/stan_math/lib/sundials_5.2.0/src/sundials/sundials_matrix.o stan/lib/stan_math/lib/sundials_5.2.0/src/sunmatrix/band/sunmatrix_band.o stan/lib/stan_math/lib/sundials_5.2.0/src/sunmatrix/dense/sunmatrix_dense.o stan/lib/stan_math/lib/sundials_5.2.0/src/sunlinsol/band/sunlinsol_band.o stan/lib/stan_math/lib/sundials_5.2.0/src/sunlinsol/dense/sunlinsol_dense.o stan/lib/stan_math/lib/sundials_5.2.0/src/sunnonlinsol/newton/sunnonlinsol_newton.o stan/lib/stan_math/lib/sundials_5.2.0/src/sunnonlinsol/fixedpoint/sunnonlinsol_fixedpoint.o
ar: creating stan/lib/stan_math/lib/sundials_5.2.0/lib/libsundials_kinsol.a
tbb_root="../tbb_2019_U8" CXX="g++" CC="gcc" LDFLAGS='-Wl,-L,"C:/Users/vanes/Documents/.cmdstanr/cmdstan-2.23.0/stan/lib/stan_math/lib/tbb" -Wl,-rpath,"C:/Users/vanes/Documents/.cmdstanr/cmdstan-2.23.0/stan/lib/stan_math/lib/tbb"' mingw32-make -C "stan/lib/stan_math/lib/tbb" -r -f "C:/Users/vanes/Documents/.cmdstanr/cmdstan-2.23.0/stan/lib/stan_math/lib/tbb_2019_U8/build/Makefile.tbbmalloc" compiler=gcc cfg=release stdver=c++1y malloc
mingw32-make[1]: Entering directory 'C:/Users/vanes/Documents/.cmdstanr/cmdstan-2.23.0/stan/lib/stan_math/lib/tbb'
g++ -c -MMD -O2 -DUSE_WINTHREAD -D_WIN32_WINNT=0x0502 -DMINGW_HAS_SECURE_API=1 -DMSVCRT_VERSION=0x0700 -msse -mthreads -m64 -mrtm -fno-rtti -fno-exceptions -DTBBMALLOC_BUILD=1 -Wno-parentheses -Wno-uninitialized -Wno-non-virtual-dtor -I../tbb_2019_U8/src -I../tbb_2019_U8/src/rml/include -I../tbb_2019_U8/include -I../tbb_2019_U8/src/tbbmalloc -I../tbb_2019_U8/src/tbbmalloc ../tbb_2019_U8/src/tbbmalloc/backend.cpp
g++ -c -MMD -O2 -DUSE_WINTHREAD -D_WIN32_WINNT=0x0502 -DMINGW_HAS_SECURE_API=1 -DMSVCRT_VERSION=0x0700 -msse -mthreads -m64 -mrtm -fno-rtti -fno-exceptions -DTBBMALLOC_BUILD=1 -Wno-parentheses -Wno-uninitialized -Wno-non-virtual-dtor -I../tbb_2019_U8/src -I../tbb_2019_U8/src/rml/include -I../tbb_2019_U8/include -I../tbb_2019_U8/src/tbbmalloc -I../tbb_2019_U8/src/tbbmalloc ../tbb_2019_U8/src/tbbmalloc/large_objects.cpp
g++ -c -MMD -O2 -DUSE_WINTHREAD -D_WIN32_WINNT=0x0502 -DMINGW_HAS_SECURE_API=1 -DMSVCRT_VERSION=0x0700 -msse -mthreads -m64 -mrtm -fno-rtti -fno-exceptions -DTBBMALLOC_BUILD=1 -Wno-parentheses -Wno-uninitialized -Wno-non-virtual-dtor -I../tbb_2019_U8/src -I../tbb_2019_U8/src/rml/include -I../tbb_2019_U8/include -I../tbb_2019_U8/src/tbbmalloc -I../tbb_2019_U8/src/tbbmalloc ../tbb_2019_U8/src/tbbmalloc/backref.cpp
g++ -c -MMD -O2 -DUSE_WINTHREAD -D_WIN32_WINNT=0x0502 -DMINGW_HAS_SECURE_API=1 -DMSVCRT_VERSION=0x0700 -msse -mthreads -m64 -mrtm -fno-rtti -fno-exceptions -DTBBMALLOC_BUILD=1 -Wno-parentheses -Wno-uninitialized -Wno-non-virtual-dtor -I../tbb_2019_U8/src -I../tbb_2019_U8/src/rml/include -I../tbb_2019_U8/include -I../tbb_2019_U8/src/tbbmalloc -I../tbb_2019_U8/src/tbbmalloc ../tbb_2019_U8/src/tbbmalloc/tbbmalloc.cpp
g++ -c -MMD -O2 -DUSE_WINTHREAD -D_WIN32_WINNT=0x0502 -DMINGW_HAS_SECURE_API=1 -DMSVCRT_VERSION=0x0700 -msse -mthreads -m64 -mrtm -fno-rtti -fno-exceptions -DTBBMALLOC_BUILD=1 -Wno-parentheses -Wno-uninitialized -Wno-non-virtual-dtor -o itt_notify_malloc.o -I../tbb_2019_U8/src -I../tbb_2019_U8/src/rml/include -I../tbb_2019_U8/include ../tbb_2019_U8/src/tbb/itt_notify.cpp
cmd /C cscript /nologo /E:jscript ../tbb_2019_U8/build/version_info_windows.js gcc intel64 "g++ -O2 -DUSE_WINTHREAD -D_WIN32_WINNT=0x0502 -DMINGW_HAS_SECURE_API=1 -D__MSVCRT_VERSION=0x0700 -msse -mthreads -m64 -mrtm -Wall -std=c++1y -I../tbb_2019_U8/src -I../tbb_2019_U8/src/rml/include -I../tbb_2019_U8/include" > version_string.ver
g++ -E -x c++ ../tbb_2019_U8/src/tbbmalloc/win64-gcc-tbbmalloc-export.def -O2 -DUSE_WINTHREAD -D_WIN32_WINNT=0x0502 -DMINGW_HAS_SECURE_API=1 -DMSVCRT_VERSION=0x0700 -msse -mthreads -m64 -mrtm -Wall -fno-rtti -fno-exceptions -DTBBMALLOC_BUILD=1 -Wno-parentheses -Wno-uninitialized -Wno-non-virtual-dtor -I../tbb_2019_U8/src -I../tbb_2019_U8/src/rml/include -I../tbb_2019_U8/include > tbbmalloc.def
g++ -c -MMD -O2 -DUSE_WINTHREAD -D_WIN32_WINNT=0x0502 -DMINGW_HAS_SECURE_API=1 -DMSVCRT_VERSION=0x0700 -msse -mthreads -m64 -mrtm -Wall -Wno-parentheses -Wno-uninitialized -Wno-non-virtual-dtor -DTBBMALLOC_BUILD=1 -I../tbb_2019_U8/src -I../tbb_2019_U8/src/rml/include -I../tbb_2019_U8/include -I../tbb_2019_U8/src/tbbmalloc -I../tbb_2019_U8/src/tbbmalloc ../tbb_2019_U8/src/tbbmalloc/proxy.cpp
g++ -c -MMD -O2 -DUSE_WINTHREAD -D_WIN32_WINNT=0x0502 -DMINGW_HAS_SECURE_API=1 -DMSVCRT_VERSION=0x0700 -msse -mthreads -m64 -mrtm -Wall -Wno-parentheses -Wno-uninitialized -Wno-non-virtual-dtor -DTBBMALLOC_BUILD=1 -I../tbb_2019_U8/src -I../tbb_2019_U8/src/rml/include -I../tbb_2019_U8/include -I../tbb_2019_U8/src/tbbmalloc -I../tbb_2019_U8/src/tbbmalloc ../tbb_2019_U8/src/tbbmalloc/tbb_function_replacement.cpp
g++ -c -MMD -O2 -DUSE_WINTHREAD -D_WIN32_WINNT=0x0502 -DMINGW_HAS_SECURE_API=1 -DMSVCRT_VERSION=0x0700 -msse -mthreads -m64 -mrtm -fno-rtti -fno-exceptions -DTBBMALLOC_BUILD=1 -Wno-parentheses -Wno-uninitialized -Wno-non-virtual-dtor -I../tbb_2019_U8/src -I../tbb_2019_U8/src/rml/include -I../tbb_2019_U8/include -I../tbb_2019_U8/src/tbbmalloc -I../tbb_2019_U8/src/tbbmalloc -I. ../tbb_2019_U8/src/tbbmalloc/frontend.cpp
gcc -o tbbmalloc.dll backend.o large_objects.o backref.o tbbmalloc.o itt_notify_malloc.o frontend.o -lpsapi -shared -m64 -Wl,-L,"C:/Users/vanes/Documents/.cmdstanr/cmdstan-2.23.0/stan/lib/stan_math/lib/tbb" -Wl,-rpath,"C:/Users/vanes/Documents/.cmdstanr/cmdstan-2.23.0/stan/lib/stan_math/lib/tbb" -Wl,--version-script,tbbmalloc.def
g++ -o tbbmalloc_proxy.dll proxy.o tbb_function_replacement.o -lpsapi tbbmalloc.dll -shared -m64 -Wl,-L,"C:/Users/vanes/Documents/.cmdstanr/cmdstan-2.23.0/stan/lib/stan_math/lib/tbb" -Wl,-rpath,"C:/Users/vanes/Documents/.cmdstanr/cmdstan-2.23.0/stan/lib/stan_math/lib/tbb"
g++ -std=c++1y -m64 -D_REENTRANT -Wall -Wno-unused-function -Wno-uninitialized -Wno-unused-but-set-variable -Wno-unused-variable -Wno-sign-compare -Wno-unused-local-typedefs -I stan/lib/stan_math/lib/tbb_2019_U8/include -O3 -I src -I stan/src -I lib/rapidjson_1.1.0/ -I stan/lib/stan_math/ -I stan/lib/stan_math/lib/eigen_3.3.3 -I stan/lib/stan_math/lib/boost_1.72.0 -I stan/lib/stan_math/lib/sundials_5.2.0/include -D_USE_MATH_DEFINES -DBOOST_DISABLE_ASSERTS -Wl,-L,"C:/Users/vanes/Documents/.cmdstanr/cmdstan-2.23.0/stan/lib/stan_math/lib/tbb" -Wl,-rpath,"C:/Users/vanes/Documents/.cmdstanr/cmdstan-2.23.0/stan/lib/stan_math/lib/tbb" bin/cmdstan/diagnose.o -static-libgcc -static-libstdc++ -o bin/diagnose.exe
mingw32-make[1]: Leaving directory 'C:/Users/vanes/Documents/.cmdstanr/cmdstan-2.23.0/stan/lib/stan_math/lib/tbb'
touch stan/lib/stan_math/lib/tbb/version_tbb_2019_U8
tbb_root="../tbb_2019_U8" CXX="g++" CC="gcc" LDFLAGS='-Wl,-L,"C:/Users/vanes/Documents/.cmdstanr/cmdstan-2.23.0/stan/lib/stan_math/lib/tbb" -Wl,-rpath,"C:/Users/vanes/Documents/.cmdstanr/cmdstan-2.23.0/stan/lib/stan_math/lib/tbb"' mingw32-make -C "stan/lib/stan_math/lib/tbb" -r -f "C:/Users/vanes/Documents/.cmdstanr/cmdstan-2.23.0/stan/lib/stan_math/lib/tbb_2019_U8/build/Makefile.tbb" compiler=gcc cfg=release stdver=c++1y
mingw32-make[1]: Entering directory 'C:/Users/vanes/Documents/.cmdstanr/cmdstan-2.23.0/stan/lib/stan_math/lib/tbb'
C:/Users/vanes/Documents/.cmdstanr/cmdstan-2.23.0/stan/lib/stan_math/lib/tbb_2019_U8/build/Makefile.tbb:28: CONFIG: cfg=release arch=intel64 compiler=gcc target=windows runtime=mingw4.9.3
g++ -o concurrent_hash_map.o -c -MMD -O2 -DUSE_WINTHREAD -D_WIN32_WINNT=0x0502 -DMINGW_HAS_SECURE_API=1 -DMSVCRT_VERSION=0x0700 -msse -mthreads -m64 -mrtm -DTBB_BUILD=1 -Wall -Wno-parentheses -Wno-uninitialized -Wno-non-virtual-dtor -std=c++1y -I../tbb_2019_U8/src -I../tbb_2019_U8/src/rml/include -I../tbb_2019_U8/include ../tbb_2019_U8/src/tbb/concurrent_hash_map.cpp
g++ -o concurrent_queue.o -c -MMD -O2 -DUSE_WINTHREAD -D_WIN32_WINNT=0x0502 -DMINGW_HAS_SECURE_API=1 -D__MSVCRT_VERSION=0x0700 -msse -mthreads -m64 -mrtm -DTBB_BUILD=1 -Wall -Wno-parentheses -Wno-uninitialized -Wno-non-virtual-dtor -std=c++1y -I../tbb_2019_U8/src -I../tbb_2019_U8/src/rml/include -I../tbb_2019_U8/include ../tbb_2019_U8/src/tbb/concurrent_queue.cpp
g++ -o concurrent_vector.o -c -MMD -O2 -DUSE_WINTHREAD -D_WIN32_WINNT=0x0502 -DMINGW_HAS_SECURE_API=1 -D__MSVCRT_VERSION=0x0700 -msse -mthreads -m64 -mrtm -DTBB_BUILD=1 -Wall -Wno-parentheses -Wno-uninitialized -Wno-non-virtual-dtor -std=c++1y -I../tbb_2019_U8/src -I../tbb_2019_U8/src/rml/include -I../tbb_2019_U8/include ../tbb_2019_U8/src/tbb/concurrent_vector.cpp
g++ -std=c++1y -m64 -D_REENTRANT -Wall -Wno-unused-function -Wno-uninitialized -Wno-unused-but-set-variable -Wno-unused-variable -Wno-sign-compare -Wno-unused-local-typedefs -I stan/lib/stan_math/lib/tbb_2019_U8/include -O3 -I src -I stan/src -I lib/rapidjson_1.1.0/ -I stan/lib/stan_math/ -I stan/lib/stan_math/lib/eigen_3.3.3 -I stan/lib/stan_math/lib/boost_1.72.0 -I stan/lib/stan_math/lib/sundials_5.2.0/include -D_USE_MATH_DEFINES -DBOOST_DISABLE_ASSERTS -Wl,-L,"C:/Users/vanes/Documents/.cmdstanr/cmdstan-2.23.0/stan/lib/stan_math/lib/tbb" -Wl,-rpath,"C:/Users/vanes/Documents/.cmdstanr/cmdstan-2.23.0/stan/lib/stan_math/lib/tbb" bin/cmdstan/print.o -static-libgcc -static-libstdc++ -o bin/print.exe
g++ -o dynamic_link.o -c -MMD -O2 -DUSE_WINTHREAD -D_WIN32_WINNT=0x0502 -DMINGW_HAS_SECURE_API=1 -DMSVCRT_VERSION=0x0700 -msse -mthreads -m64 -mrtm -DTBB_BUILD=1 -Wall -Wno-parentheses -Wno-uninitialized -Wno-non-virtual-dtor -std=c++1y -I../tbb_2019_U8/src -I../tbb_2019_U8/src/rml/include -I../tbb_2019_U8/include ../tbb_2019_U8/src/tbb/dynamic_link.cpp
g++ -o itt_notify.o -c -MMD -O2 -DUSE_WINTHREAD -D_WIN32_WINNT=0x0502 -DMINGW_HAS_SECURE_API=1 -DMSVCRT_VERSION=0x0700 -msse -mthreads -m64 -mrtm -DTBB_BUILD=1 -Wall -Wno-parentheses -Wno-uninitialized -Wno-non-virtual-dtor -std=c++1y -I../tbb_2019_U8/src -I../tbb_2019_U8/src/rml/include -I../tbb_2019_U8/include ../tbb_2019_U8/src/tbb/itt_notify.cpp
g++ -o cache_aligned_allocator.o -c -MMD -O2 -DUSE_WINTHREAD -D_WIN32_WINNT=0x0502 -DMINGW_HAS_SECURE_API=1 -D__MSVCRT_VERSION=0x0700 -msse -mthreads -m64 -mrtm -DTBB_BUILD=1 -Wall -Wno-parentheses -Wno-uninitialized -Wno-non-virtual-dtor -std=c++1y -I../tbb_2019_U8/src -I../tbb_2019_U8/src/rml/include -I../tbb_2019_U8/include ../tbb_2019_U8/src/tbb/cache_aligned_allocator.cpp
g++ -o pipeline.o -c -MMD -O2 -DUSE_WINTHREAD -D_WIN32_WINNT=0x0502 -DMINGW_HAS_SECURE_API=1 -D__MSVCRT_VERSION=0x0700 -msse -mthreads -m64 -mrtm -DTBB_BUILD=1 -Wall -Wno-parentheses -Wno-uninitialized -Wno-non-virtual-dtor -std=c++1y -I../tbb_2019_U8/src -I../tbb_2019_U8/src/rml/include -I../tbb_2019_U8/include ../tbb_2019_U8/src/tbb/pipeline.cpp
g++ -o queuing_mutex.o -c -MMD -O2 -DUSE_WINTHREAD -D_WIN32_WINNT=0x0502 -DMINGW_HAS_SECURE_API=1 -DMSVCRT_VERSION=0x0700 -msse -mthreads -m64 -mrtm -DTBB_BUILD=1 -Wall -Wno-parentheses -Wno-uninitialized -Wno-non-virtual-dtor -std=c++1y -I../tbb_2019_U8/src -I../tbb_2019_U8/src/rml/include -I../tbb_2019_U8/include ../tbb_2019_U8/src/tbb/queuing_mutex.cpp
g++ -o queuing_rw_mutex.o -c -MMD -O2 -DUSE_WINTHREAD -D_WIN32_WINNT=0x0502 -DMINGW_HAS_SECURE_API=1 -DMSVCRT_VERSION=0x0700 -msse -mthreads -m64 -mrtm -DTBB_BUILD=1 -Wall -Wno-parentheses -Wno-uninitialized -Wno-non-virtual-dtor -std=c++1y -I../tbb_2019_U8/src -I../tbb_2019_U8/src/rml/include -I../tbb_2019_U8/include ../tbb_2019_U8/src/tbb/queuing_rw_mutex.cpp
g++ -o reader_writer_lock.o -c -MMD -O2 -DUSE_WINTHREAD -D_WIN32_WINNT=0x0502 -DMINGW_HAS_SECURE_API=1 -DMSVCRT_VERSION=0x0700 -msse -mthreads -m64 -mrtm -DTBB_BUILD=1 -Wall -Wno-parentheses -Wno-uninitialized -Wno-non-virtual-dtor -std=c++1y -I../tbb_2019_U8/src -I../tbb_2019_U8/src/rml/include -I../tbb_2019_U8/include ../tbb_2019_U8/src/tbb/reader_writer_lock.cpp
g++ -o spin_rw_mutex.o -c -MMD -O2 -DUSE_WINTHREAD -D_WIN32_WINNT=0x0502 -DMINGW_HAS_SECURE_API=1 -DMSVCRT_VERSION=0x0700 -msse -mthreads -m64 -mrtm -DTBB_BUILD=1 -Wall -Wno-parentheses -Wno-uninitialized -Wno-non-virtual-dtor -std=c++1y -I../tbb_2019_U8/src -I../tbb_2019_U8/src/rml/include -I../tbb_2019_U8/include ../tbb_2019_U8/src/tbb/spin_rw_mutex.cpp
g++ -o x86_rtm_rw_mutex.o -c -MMD -O2 -DUSE_WINTHREAD -D_WIN32_WINNT=0x0502 -DMINGW_HAS_SECURE_API=1 -D__MSVCRT_VERSION=0x0700 -msse -mthreads -m64 -mrtm -DTBB_BUILD=1 -Wall -Wno-parentheses -Wno-uninitialized -Wno-non-virtual-dtor -std=c++1y -I../tbb_2019_U8/src -I../tbb_2019_U8/src/rml/include -I../tbb_2019_U8/include ../tbb_2019_U8/src/tbb/x86_rtm_rw_mutex.cpp
g++ -o spin_mutex.o -c -MMD -O2 -DUSE_WINTHREAD -D_WIN32_WINNT=0x0502 -DMINGW_HAS_SECURE_API=1 -D__MSVCRT_VERSION=0x0700 -msse -mthreads -m64 -mrtm -DTBB_BUILD=1 -Wall -Wno-parentheses -Wno-uninitialized -Wno-non-virtual-dtor -std=c++1y -I../tbb_2019_U8/src -I../tbb_2019_U8/src/rml/include -I../tbb_2019_U8/include ../tbb_2019_U8/src/tbb/spin_mutex.cpp
g++ -o critical_section.o -c -MMD -O2 -DUSE_WINTHREAD -D_WIN32_WINNT=0x0502 -DMINGW_HAS_SECURE_API=1 -D__MSVCRT_VERSION=0x0700 -msse -mthreads -m64 -mrtm -DTBB_BUILD=1 -Wall -Wno-parentheses -Wno-uninitialized -Wno-non-virtual-dtor -std=c++1y -I../tbb_2019_U8/src -I../tbb_2019_U8/src/rml/include -I../tbb_2019_U8/include ../tbb_2019_U8/src/tbb/critical_section.cpp
g++ -o mutex.o -c -MMD -O2 -DUSE_WINTHREAD -D_WIN32_WINNT=0x0502 -DMINGW_HAS_SECURE_API=1 -DMSVCRT_VERSION=0x0700 -msse -mthreads -m64 -mrtm -DTBB_BUILD=1 -Wall -Wno-parentheses -Wno-uninitialized -Wno-non-virtual-dtor -std=c++1y -I../tbb_2019_U8/src -I../tbb_2019_U8/src/rml/include -I../tbb_2019_U8/include ../tbb_2019_U8/src/tbb/mutex.cpp
g++ -o recursive_mutex.o -c -MMD -O2 -DUSE_WINTHREAD -D_WIN32_WINNT=0x0502 -DMINGW_HAS_SECURE_API=1 -DMSVCRT_VERSION=0x0700 -msse -mthreads -m64 -mrtm -DTBB_BUILD=1 -Wall -Wno-parentheses -Wno-uninitialized -Wno-non-virtual-dtor -std=c++1y -I../tbb_2019_U8/src -I../tbb_2019_U8/src/rml/include -I../tbb_2019_U8/include ../tbb_2019_U8/src/tbb/recursive_mutex.cpp
g++ -o condition_variable.o -c -MMD -O2 -DUSE_WINTHREAD -D_WIN32_WINNT=0x0502 -DMINGW_HAS_SECURE_API=1 -DMSVCRT_VERSION=0x0700 -msse -mthreads -m64 -mrtm -DTBB_BUILD=1 -Wall -Wno-parentheses -Wno-uninitialized -Wno-non-virtual-dtor -std=c++1y -I../tbb_2019_U8/src -I../tbb_2019_U8/src/rml/include -I../tbb_2019_U8/include ../tbb_2019_U8/src/tbb/condition_variable.cpp
g++ -o tbb_thread.o -c -MMD -O2 -DUSE_WINTHREAD -D_WIN32_WINNT=0x0502 -DMINGW_HAS_SECURE_API=1 -DMSVCRT_VERSION=0x0700 -msse -mthreads -m64 -mrtm -DTBB_BUILD=1 -Wall -Wno-parentheses -Wno-uninitialized -Wno-non-virtual-dtor -std=c++1y -I../tbb_2019_U8/src -I../tbb_2019_U8/src/rml/include -I../tbb_2019_U8/include ../tbb_2019_U8/src/tbb/tbb_thread.cpp
g++ -o concurrent_monitor.o -c -MMD -O2 -DUSE_WINTHREAD -D_WIN32_WINNT=0x0502 -DMINGW_HAS_SECURE_API=1 -DMSVCRT_VERSION=0x0700 -msse -mthreads -m64 -mrtm -DTBB_BUILD=1 -Wall -Wno-parentheses -Wno-uninitialized -Wno-non-virtual-dtor -std=c++1y -I../tbb_2019_U8/src -I../tbb_2019_U8/src/rml/include -I../tbb_2019_U8/include ../tbb_2019_U8/src/tbb/concurrent_monitor.cpp
g++ -o semaphore.o -c -MMD -O2 -DUSE_WINTHREAD -D_WIN32_WINNT=0x0502 -DMINGW_HAS_SECURE_API=1 -DMSVCRT_VERSION=0x0700 -msse -mthreads -m64 -mrtm -DTBB_BUILD=1 -Wall -Wno-parentheses -Wno-uninitialized -Wno-non-virtual-dtor -std=c++1y -I../tbb_2019_U8/src -I../tbb_2019_U8/src/rml/include -I../tbb_2019_U8/include ../tbb_2019_U8/src/tbb/semaphore.cpp
g++ -o private_server.o -c -MMD -O2 -DUSE_WINTHREAD -D_WIN32_WINNT=0x0502 -DMINGW_HAS_SECURE_API=1 -D__MSVCRT_VERSION=0x0700 -msse -mthreads -m64 -mrtm -DTBB_BUILD=1 -Wall -Wno-parentheses -Wno-uninitialized -Wno-non-virtual-dtor -std=c++1y -I../tbb_2019_U8/src -I../tbb_2019_U8/src/rml/include -I../tbb_2019_U8/include ../tbb_2019_U8/src/tbb/private_server.cpp
g++ -o rml_tbb.o -c -MMD -O2 -DUSE_WINTHREAD -D_WIN32_WINNT=0x0502 -DMINGW_HAS_SECURE_API=1 -D__MSVCRT_VERSION=0x0700 -msse -mthreads -m64 -mrtm -DTBB_BUILD=1 -Wall -Wno-parentheses -Wno-uninitialized -Wno-non-virtual-dtor -std=c++1y -I../tbb_2019_U8/src -I../tbb_2019_U8/src/rml/include -I../tbb_2019_U8/include ../tbb_2019_U8/src/rml/client/rml_tbb.cpp
g++ -o tbb_misc.o -c -MMD -O2 -DUSE_WINTHREAD -D_WIN32_WINNT=0x0502 -DMINGW_HAS_SECURE_API=1 -D__MSVCRT_VERSION=0x0700 -msse -mthreads -m64 -mrtm -DTBB_BUILD=1 -Wall -Wno-parentheses -Wno-uninitialized -Wno-non-virtual-dtor -std=c++1y -I../tbb_2019_U8/src -I../tbb_2019_U8/src/rml/include -I../tbb_2019_U8/include -I. ../tbb_2019_U8/src/tbb/tbb_misc.cpp
g++ -o tbb_misc_ex.o -c -MMD -O2 -DUSE_WINTHREAD -D_WIN32_WINNT=0x0502 -DMINGW_HAS_SECURE_API=1 -DMSVCRT_VERSION=0x0700 -msse -mthreads -m64 -mrtm -DTBB_BUILD=1 -Wall -Wno-parentheses -Wno-uninitialized -Wno-non-virtual-dtor -std=c++1y -I../tbb_2019_U8/src -I../tbb_2019_U8/src/rml/include -I../tbb_2019_U8/include ../tbb_2019_U8/src/tbb/tbb_misc_ex.cpp
g++ -o task.o -c -MMD -O2 -DUSE_WINTHREAD -D_WIN32_WINNT=0x0502 -DMINGW_HAS_SECURE_API=1 -DMSVCRT_VERSION=0x0700 -msse -mthreads -m64 -mrtm -DTBB_BUILD=1 -Wall -Wno-parentheses -Wno-uninitialized -Wno-non-virtual-dtor -std=c++1y -I../tbb_2019_U8/src -I../tbb_2019_U8/src/rml/include -I../tbb_2019_U8/include ../tbb_2019_U8/src/tbb/task.cpp
g++ -o task_group_context.o -c -MMD -O2 -DUSE_WINTHREAD -D_WIN32_WINNT=0x0502 -DMINGW_HAS_SECURE_API=1 -DMSVCRT_VERSION=0x0700 -msse -mthreads -m64 -mrtm -DTBB_BUILD=1 -Wall -Wno-parentheses -Wno-uninitialized -Wno-non-virtual-dtor -std=c++1y -I../tbb_2019_U8/src -I../tbb_2019_U8/src/rml/include -I../tbb_2019_U8/include ../tbb_2019_U8/src/tbb/task_group_context.cpp
g++ -o governor.o -c -MMD -O2 -DUSE_WINTHREAD -D_WIN32_WINNT=0x0502 -DMINGW_HAS_SECURE_API=1 -DMSVCRT_VERSION=0x0700 -msse -mthreads -m64 -mrtm -DTBB_BUILD=1 -Wall -Wno-parentheses -Wno-uninitialized -Wno-non-virtual-dtor -std=c++1y -I../tbb_2019_U8/src -I../tbb_2019_U8/src/rml/include -I../tbb_2019_U8/include ../tbb_2019_U8/src/tbb/governor.cpp
g++ -o market.o -c -MMD -O2 -DUSE_WINTHREAD -D_WIN32_WINNT=0x0502 -DMINGW_HAS_SECURE_API=1 -DMSVCRT_VERSION=0x0700 -msse -mthreads -m64 -mrtm -DTBB_BUILD=1 -Wall -Wno-parentheses -Wno-uninitialized -Wno-non-virtual-dtor -std=c++1y -I../tbb_2019_U8/src -I../tbb_2019_U8/src/rml/include -I../tbb_2019_U8/include ../tbb_2019_U8/src/tbb/market.cpp
g++ -o arena.o -c -MMD -O2 -DUSE_WINTHREAD -D_WIN32_WINNT=0x0502 -DMINGW_HAS_SECURE_API=1 -DMSVCRT_VERSION=0x0700 -msse -mthreads -m64 -mrtm -DTBB_BUILD=1 -Wall -Wno-parentheses -Wno-uninitialized -Wno-non-virtual-dtor -std=c++1y -I../tbb_2019_U8/src -I../tbb_2019_U8/src/rml/include -I../tbb_2019_U8/include ../tbb_2019_U8/src/tbb/arena.cpp
g++ -o scheduler.o -c -MMD -O2 -DUSE_WINTHREAD -D_WIN32_WINNT=0x0502 -DMINGW_HAS_SECURE_API=1 -DMSVCRT_VERSION=0x0700 -msse -mthreads -m64 -mrtm -DTBB_BUILD=1 -Wall -Wno-parentheses -Wno-uninitialized -Wno-non-virtual-dtor -std=c++1y -I../tbb_2019_U8/src -I../tbb_2019_U8/src/rml/include -I../tbb_2019_U8/include ../tbb_2019_U8/src/tbb/scheduler.cpp
g++ -o observer_proxy.o -c -MMD -O2 -DUSE_WINTHREAD -D_WIN32_WINNT=0x0502 -DMINGW_HAS_SECURE_API=1 -DMSVCRT_VERSION=0x0700 -msse -mthreads -m64 -mrtm -DTBB_BUILD=1 -Wall -Wno-parentheses -Wno-uninitialized -Wno-non-virtual-dtor -std=c++1y -I../tbb_2019_U8/src -I../tbb_2019_U8/src/rml/include -I../tbb_2019_U8/include ../tbb_2019_U8/src/tbb/observer_proxy.cpp
g++ -o tbb_statistics.o -c -MMD -O2 -DUSE_WINTHREAD -D_WIN32_WINNT=0x0502 -DMINGW_HAS_SECURE_API=1 -DMSVCRT_VERSION=0x0700 -msse -mthreads -m64 -mrtm -DTBB_BUILD=1 -Wall -Wno-parentheses -Wno-uninitialized -Wno-non-virtual-dtor -std=c++1y -I../tbb_2019_U8/src -I../tbb_2019_U8/src/rml/include -I../tbb_2019_U8/include ../tbb_2019_U8/src/tbb/tbb_statistics.cpp
g++ -o tbb_main.o -c -MMD -O2 -DUSE_WINTHREAD -D_WIN32_WINNT=0x0502 -DMINGW_HAS_SECURE_API=1 -DMSVCRT_VERSION=0x0700 -msse -mthreads -m64 -mrtm -DTBB_BUILD=1 -Wall -Wno-parentheses -Wno-uninitialized -Wno-non-virtual-dtor -std=c++1y -I../tbb_2019_U8/src -I../tbb_2019_U8/src/rml/include -I../tbb_2019_U8/include ../tbb_2019_U8/src/tbb/tbb_main.cpp
g++ -o concurrent_vector_v2.o -c -MMD -O2 -DUSE_WINTHREAD -D_WIN32_WINNT=0x0502 -DMINGW_HAS_SECURE_API=1 -D__MSVCRT_VERSION=0x0700 -msse -mthreads -m64 -mrtm -DTBB_BUILD=1 -Wall -Wno-parentheses -Wno-uninitialized -Wno-non-virtual-dtor -std=c++1y -I../tbb_2019_U8/src -I../tbb_2019_U8/src/rml/include -I../tbb_2019_U8/include ../tbb_2019_U8/src/old/concurrent_vector_v2.cpp
g++ -o concurrent_queue_v2.o -c -MMD -O2 -DUSE_WINTHREAD -D_WIN32_WINNT=0x0502 -DMINGW_HAS_SECURE_API=1 -D__MSVCRT_VERSION=0x0700 -msse -mthreads -m64 -mrtm -DTBB_BUILD=1 -Wall -Wno-parentheses -Wno-uninitialized -Wno-non-virtual-dtor -std=c++1y -I../tbb_2019_U8/src -I../tbb_2019_U8/src/rml/include -I../tbb_2019_U8/include ../tbb_2019_U8/src/old/concurrent_queue_v2.cpp
g++ -o spin_rw_mutex_v2.o -c -MMD -O2 -DUSE_WINTHREAD -D_WIN32_WINNT=0x0502 -DMINGW_HAS_SECURE_API=1 -DMSVCRT_VERSION=0x0700 -msse -mthreads -m64 -mrtm -DTBB_BUILD=1 -Wall -Wno-parentheses -Wno-uninitialized -Wno-non-virtual-dtor -std=c++1y -I../tbb_2019_U8/src -I../tbb_2019_U8/src/rml/include -I../tbb_2019_U8/include ../tbb_2019_U8/src/old/spin_rw_mutex_v2.cpp
g++ -o task_v2.o -c -MMD -O2 -DUSE_WINTHREAD -D_WIN32_WINNT=0x0502 -DMINGW_HAS_SECURE_API=1 -DMSVCRT_VERSION=0x0700 -msse -mthreads -m64 -mrtm -DTBB_BUILD=1 -Wall -Wno-parentheses -Wno-uninitialized -Wno-non-virtual-dtor -std=c++1y -I../tbb_2019_U8/src -I../tbb_2019_U8/src/rml/include -I../tbb_2019_U8/include ../tbb_2019_U8/src/old/task_v2.cpp
cmd /C "..\tbb_2019_U8\build\generate_tbbvars.bat"
Generating local tbbvars.bat
Generating local tbbvars.sh
Generating local tbbvars.csh
g++ -E -x c++ ../tbb_2019_U8/src/tbb/win64-gcc-tbb-export.def -O2 -DUSE_WINTHREAD -D_WIN32_WINNT=0x0502 -DMINGW_HAS_SECURE_API=1 -DMSVCRT_VERSION=0x0700 -msse -mthreads -m64 -mrtm -DTBB_BUILD=1 -Wall -Wno-parentheses -Wno-uninitialized -Wno-non-virtual-dtor -I../tbb_2019_U8/src -I../tbb_2019_U8/src/rml/include -I../tbb_2019_U8/include > tbb.def
g++ -o tbb.dll concurrent_hash_map.o concurrent_queue.o concurrent_vector.o dynamic_link.o itt_notify.o cache_aligned_allocator.o pipeline.o queuing_mutex.o queuing_rw_mutex.o reader_writer_lock.o spin_rw_mutex.o x86_rtm_rw_mutex.o spin_mutex.o critical_section.o mutex.o recursive_mutex.o condition_variable.o tbb_thread.o concurrent_monitor.o semaphore.o private_server.o rml_tbb.o tbb_misc.o tbb_misc_ex.o task.o task_group_context.o governor.o market.o arena.o scheduler.o observer_proxy.o tbb_statistics.o tbb_main.o concurrent_vector_v2.o concurrent_queue_v2.o spin_rw_mutex_v2.o task_v2.o -lpsapi -shared -m64 -Wl,-L,"C:/Users/vanes/Documents/.cmdstanr/cmdstan-2.23.0/stan/lib/stan_math/lib/tbb" -Wl,-rpath,"C:/Users/vanes/Documents/.cmdstanr/cmdstan-2.23.0/stan/lib/stan_math/lib/tbb" -Wl,--version-script,tbb.def
task.o: duplicate section .rdata$_ZTIN3tbb4taskE[_ZTIN3tbb4taskE]' has different size arena.o: duplicate section
.rdata$_ZTIN3tbb4taskE[_ZTIN3tbb4taskE]' has different size
scheduler.o: duplicate section `.rdata$_ZTIN3tbb4taskE[_ZTIN3tbb4taskE]' has different size
mingw32-make[1]: Leaving directory 'C:/Users/vanes/Documents/.cmdstanr/cmdstan-2.23.0/stan/lib/stan_math/lib/tbb'
NOTE: Please add C:/Users/vanes/Documents/.cmdstanr/cmdstan-2.23.0/stan/lib/stan_math/lib/tbb to your PATH variable. You may call
mingw32-make install-tbb
to automatically update your user configuration. --- CmdStan v2.23.0 built --- $status [1] 0
$stdout [1] "g++ -std=c++1y -m64 -D_REENTRANT -Wall -Wno-unused-function -Wno-uninitialized -Wno-unused-but-set-variable -Wno-unused-variable -Wno-sign-compare -Wno-unused-local-typedefs -I stan/lib/stan_math/lib/tbb_2019_U8/include -O3 -I src -I stan/src -I lib/rapidjson_1.1.0/ -I stan/lib/stan_math/ -I stan/lib/stan_math/lib/eigen_3.3.3 -I stan/lib/stan_math/lib/boost_1.72.0 -I stan/lib/stan_math/lib/sundials_5.2.0/include -D_USE_MATH_DEFINES -DBOOST_DISABLE_ASSERTS -c -o bin/cmdstan/print.o src/cmdstan/print.cpp\r\ng++ -std=c++1y -m64 -D_REENTRANT -Wall -Wno-unused-function -Wno-uninitialized -Wno-unused-but-set-variable -Wno-unused-variable -Wno-sign-compare -Wno-unused-local-typedefs -I stan/lib/stan_math/lib/tbb_2019_U8/include -O3 -I src -I stan/src -I lib/rapidjson_1.1.0/ -I stan/lib/stan_math/ -I stan/lib/stan_math/lib/eigen_3.3.3 -I stan/lib/stan_math/lib/boost_1.72.0 -I stan/lib/stan_math/lib/sundials_5.2.0/include -D_USE_MATH_DEFINES -DBOOST_DISABLE_ASSERTS -c -o bin/cmdstan/diagnose.o src/cmdstan/diagnose.cpp\r\ng++ -pipe -m64 -D_REENTRANT -O3 -I stan/lib/stan_math/lib/sundials_5.2.0/include -DNO_FPRINTF_OUTPUT -D_USE_MATH_DEFINES -c -x c -include stan/lib/stan_math/lib/sundials_5.2.0/include/stan_sundials_printf_override.hpp stan/lib/stan_math/lib/sundials_5.2.0/src/nvector/serial/nvector_serial.c -o stan/lib/stan_math/lib/sundials_5.2.0/src/nvector/serial/nvector_serial.o\r\ng++ -std=c++1y -m64 -D_REENTRANT -Wall -Wno-unused-function -Wno-uninitialized -Wno-unused-but-set-variable -Wno-unused-variable -Wno-sign-compare -Wno-unused-local-typedefs -I stan/lib/stan_math/lib/tbb_2019_U8/include -O3 -I src -I stan/src -I lib/rapidjson_1.1.0/ -I stan/lib/stan_math/ -I stan/lib/stan_math/lib/eigen_3.3.3 -I stan/lib/stan_math/lib/boost_1.72.0 -I stan/lib/stan_math/lib/sundials_5.2.0/include -D_USE_MATH_DEFINES -DBOOST_DISABLE_ASSERTS -Wl,-L,\"C:/Users/vanes/Documents/.cmdstanr/cmdstan-2.23.0/stan/lib/stan_math/lib/tbb\" -Wl,-rpath,\"C:/Users/vanes/Documents/.cmdstanr/cmdstan-2.23.0/stan/lib/stan_math/lib/tbb\" bin/cmdstan/stansummary.o -static-libgcc -static-libstdc++ -o bin/stansummary.exe\r\ng++ -pipe -m64 -D_REENTRANT -O3 -I stan/lib/stan_math/lib/sundials_5.2.0/include -DNO_FPRINTF_OUTPUT -D_USE_MATH_DEFINES -c -x c -include stan/lib/stan_math/lib/sundials_5.2.0/include/stan_sundials_printf_override.hpp stan/lib/stan_math/lib/sundials_5.2.0/src/sundials/sundials_math.c -o stan/lib/stan_math/lib/sundials_5.2.0/src/sundials/sundials_math.o\r\ng++ -pipe -m64 -D_REENTRANT -O3 -I stan/lib/stan_math/lib/sundials_5.2.0/include -DNO_FPRINTF_OUTPUT -D_USE_MATH_DEFINES -c -x c -include stan/lib/stan_math/lib/sundials_5.2.0/include/stan_sundials_printf_override.hpp stan/lib/stan_math/lib/sundials_5.2.0/src/cvodes/cvodes_nls_stg1.c -o stan/lib/stan_math/lib/sundials_5.2.0/src/cvodes/cvodes_nls_stg1.o\r\ng++ -pipe -m64 -D_REENTRANT -O3 -I stan/lib/stan_math/lib/sundials_5.2.0/include -DNO_FPRINTF_OUTPUT -D_USE_MATH_DEFINES -c -x c -include stan/lib/stan_math/lib/sundials_5.2.0/include/stan_sundials_printf_override.hpp stan/lib/stan_math/lib/sundials_5.2.0/src/cvodes/cvodes_nls_sim.c -o stan/lib/stan_math/lib/sundials_5.2.0/src/cvodes/cvodes_nls_sim.o\r\ng++ -pipe -m64 -D_REENTRANT -O3 -I stan/lib/stan_math/lib/sundials_5.2.0/include -DNO_FPRINTF_OUTPUT -D_USE_MATH_DEFINES -c -x c -include stan/lib/stan_math/lib/sundials_5.2.0/include/stan_sundials_printf_override.hpp stan/lib/stan_math/lib/sundials_5.2.0/src/cvodes/cvodes_ls.c -o stan/lib/stan_math/lib/sundials_5.2.0/src/cvodes/cvodes_ls.o\r\ng++ -pipe -m64 -D_REENTRANT -O3 -I stan/lib/stan_math/lib/sundials_5.2.0/include -DNO_FPRINTF_OUTPUT -D_USE_MATH_DEFINES -c -x c -include stan/lib/stan_math/lib/sundials_5.2.0/include/stan_sundials_printf_override.hpp stan/lib/stan_math/lib/sundials_5.2.0/src/cvodes/cvodea_io.c -o stan/lib/stan_math/lib/sundials_5.2.0/src/cvodes/cvodea_io.o\r\ng++ -pipe -m64 -D_REENTRANT -O3 -I stan/lib/stan_math/lib/sundials_5.2.0/include -DNO_FPRINTF_OUTPUT -D_USE_MATH_DEFINES -c -x c -include stan/lib/stan_math/lib/sundials_5.2.0/include/stan_sundials_printf_override.hpp stan/lib/stan_math/lib/sundials_5.2.0/src/cvodes/cvodes_spils.c -o stan/lib/stan_math/lib/sundials_5.2.0/src/cvodes/cvodes_spils.o\r\ng++ -pipe -m64 -D_REENTRANT -O3 -I stan/lib/stan_math/lib/sundials_5.2.0/include -DNO_FPRINTF_OUTPUT -D_USE_MATH_DEFINES -c -x c -include stan/lib/stan_math/lib/sundials_5.2.0/include/stan_sundials_printf_override.hpp stan/lib/stan_math/lib/sundials_5.2.0/src/cvodes/cvodes.c -o stan/lib/stan_math/lib/sundials_5.2.0/src/cvodes/cvodes.o\r\ng++ -pipe -m64 -D_REENTRANT -O3 -I stan/lib/stan_math/lib/sundials_5.2.0/include -DNO_FPRINTF_OUTPUT -D_USE_MATH_DEFINES -c -x c -include stan/lib/stan_math/lib/sundials_5.2.0/include/stan_sundials_printf_override.hpp stan/lib/stan_math/lib/sundials_5.2.0/src/cvodes/cvodes_bandpre.c -o stan/lib/stan_math/lib/sundials_5.2.0/src/cvodes/cvodes_bandpre.o\r\ng++ -pipe -m64 -D_REENTRANT -O3 -I stan/lib/stan_math/lib/sundials_5.2.0/include -DNO_FPRINTF_OUTPUT -D_USE_MATH_DEFINES -c -x c -include stan/lib/stan_math/lib/sundials_5.2.0/include/stan_sundials_printf_override.hpp stan/lib/stan_math/lib/sundials_5.2.0/src/cvodes/cvodes_bbdpre.c -o stan/lib/stan_math/lib/sundials_5.2.0/src/cvodes/cvodes_bbdpre.o\r\ng++ -pipe -m64 -D_REENTRANT -O3 -I stan/lib/stan_math/lib/sundials_5.2.0/include -DNO_FPRINTF_OUTPUT -D_USE_MATH_DEFINES -c -x c -include stan/lib/stan_math/lib/sundials_5.2.0/include/stan_sundials_printf_override.hpp stan/lib/stan_math/lib/sundials_5.2.0/src/cvodes/cvodes_nls_stg.c -o stan/lib/stan_math/lib/sundials_5.2.0/src/cvodes/cvodes_nls_stg.o\r\ng++ -pipe -m64 -D_REENTRANT -O3 -I stan/lib/stan_math/lib/sundials_5.2.0/include -DNO_FPRINTF_OUTPUT -D_USE_MATH_DEFINES -c -x c -include stan/lib/stan_math/lib/sundials_5.2.0/include/stan_sundials_printf_override.hpp stan/lib/stan_math/lib/sundials_5.2.0/src/cvodes/cvodea.c -o stan/lib/stan_math/lib/sundials_5.2.0/src/cvodes/cvodea.o\r\ng++ -pipe -m64 -D_REENTRANT -O3 -I stan/lib/stan_math/lib/sundials_5.2.0/include -DNO_FPRINTF_OUTPUT -D_USE_MATH_DEFINES -c -x c -include stan/lib/stan_math/lib/sundials_5.2.0/include/stan_sundials_printf_override.hpp stan/lib/stan_math/lib/sundials_5.2.0/src/cvodes/cvodes_io.c -o stan/lib/stan_math/lib/sundials_5.2.0/src/cvodes/cvodes_io.o\r\ng++ -pipe -m64 -D_REENTRANT -O3 -I stan/lib/stan_math/lib/sundials_5.2.0/include -DNO_FPRINTF_OUTPUT -D_USE_MATH_DEFINES -c -x c -include stan/lib/stan_math/lib/sundials_5.2.0/include/stan_sundials_printf_override.hpp stan/lib/stan_math/lib/sundials_5.2.0/src/cvodes/cvodes_direct.c -o stan/lib/stan_math/lib/sundials_5.2.0/src/cvodes/cvodes_direct.o\r\ng++ -pipe -m64 -D_REENTRANT -O3 -I stan/lib/stan_math/lib/sundials_5.2.0/include -DNO_FPRINTF_OUTPUT -D_USE_MATH_DEFINES -c -x c -include stan/lib/stan_math/lib/sundials_5.2.0/include/stan_sundials_printf_override.hpp stan/lib/stan_math/lib/sundials_5.2.0/src/cvodes/cvodes_diag.c -o stan/lib/stan_math/lib/sundials_5.2.0/src/cvodes/cvodes_diag.o\r\ng++ -pipe -m64 -D_REENTRANT -O3 -I stan/lib/stan_math/lib/sundials_5.2.0/include -DNO_FPRINTF_OUTPUT -D_USE_MATH_DEFINES -c -x c -include stan/lib/stan_math/lib/sundials_5.2.0/include/stan_sundials_printf_override.hpp stan/lib/stan_math/lib/sundials_5.2.0/src/cvodes/cvodes_nls.c -o stan/lib/stan_math/lib/sundials_5.2.0/src/cvodes/cvodes_nls.o\r\ng++ -pipe -m64 -D_REENTRANT -O3 -I stan/lib/stan_math/lib/sundials_5.2.0/include -DNO_FPRINTF_OUTPUT -D_USE_MATH_DEFINES -c -x c -include stan/lib/stan_math/lib/sundials_5.2.0/include/stan_sundials_printf_override.hpp stan/lib/stan_math/lib/sundials_5.2.0/src/sundials/sundials_dense.c -o stan/lib/stan_math/lib/sundials_5.2.0/src/sundials/sundials_dense.o\r\ng++ -pipe -m64 -D_REENTRANT -O3 -I stan/lib/stan_math/lib/sundials_5.2.0/include -DNO_FPRINTF_OUTPUT -D_USE_MATH_DEFINES -c -x c -include stan/lib/stan_math/lib/sundials_5.2.0/include/stan_sundials_printf_override.hpp stan/lib/stan_math/lib/sundials_5.2.0/src/sundials/sundials_nvector_senswrapper.c -o stan/lib/stan_math/lib/sundials_5.2.0/src/sundials/sundials_nvector_senswrapper.o\r\ng++ -pipe -m64 -D_REENTRANT -O3 -I stan/lib/stan_math/lib/sundials_5.2.0/include -DNO_FPRINTF_OUTPUT -D_USE_MATH_DEFINES -c -x c -include stan/lib/stan_math/lib/sundials_5.2.0/include/stan_sundials_printf_override.hpp stan/lib/stan_math/lib/sundials_5.2.0/src/sundials/sundials_nvector.c -o stan/lib/stan_math/lib/sundials_5.2.0/src/sundials/sundials_nvector.o\r\ng++ -pipe -m64 -D_REENTRANT -O3 -I stan/lib/stan_math/lib/sundials_5.2.0/include -DNO_FPRINTF_OUTPUT -D_USE_MATH_DEFINES -c -x c -include stan/lib/stan_math/lib/sundials_5.2.0/include/stan_sundials_printf_override.hpp stan/lib/stan_math/lib/sundials_5.2.0/src/sundials/sundials_linearsolver.c -o stan/lib/stan_math/lib/sundials_5.2.0/src/sundials/sundials_linearsolver.o\r\ng++ -pipe -m64 -D_REENTRANT -O3 -I stan/lib/stan_math/lib/sundials_5.2.0/include -DNO_FPRINTF_OUTPUT -D_USE_MATH_DEFINES -c -x c -include stan/lib/stan_math/lib/sundials_5.2.0/include/stan_sundials_printf_override.hpp stan/lib/stan_math/lib/sundials_5.2.0/src/sundials/sundials_iterative.c -o stan/lib/stan_math/lib/sundials_5.2.0/src/sundials/sundials_iterative.o\r\ng++ -pipe -m64 -D_REENTRANT -O3 -I stan/lib/stan_math/lib/sundials_5.2.0/include -DNO_FPRINTF_OUTPUT -D_USE_MATH_DEFINES -c -x c -include stan/lib/stan_math/lib/sundials_5.2.0/include/stan_sundials_printf_override.hpp stan/lib/stan_math/lib/sundials_5.2.0/src/sundials/sundials_band.c -o stan/lib/stan_math/lib/sundials_5.2.0/src/sundials/sundials_band.o\r\ng++ -pipe -m64 -D_REENTRANT -O3 -I stan/lib/stan_math/lib/sundials_5.2.0/include -DNO_FPRINTF_OUTPUT -D_USE_MATH_DEFINES -c -x c -include stan/lib/stan_math/lib/sundials_5.2.0/include/stan_sundials_printf_override.hpp stan/lib/stan_math/lib/sundials_5.2.0/src/sundials/sundials_version.c -o stan/lib/stan_math/lib/sundials_5.2.0/src/sundials/sundials_version.o\r\ng++ -pipe -m64 -D_REENTRANT -O3 -I stan/lib/stan_math/lib/sundials_5.2.0/include -DNO_FPRINTF_OUTPUT -D_USE_MATH_DEFINES -c -x c -include stan/lib/stan_math/lib/sundials_5.2.0/include/stan_sundials_printf_override.hpp stan/lib/stan_math/lib/sundials_5.2.0/src/sundials/sundials_nonlinearsolver.c -o stan/lib/stan_math/lib/sundials_5.2.0/src/sundials/sundials_nonlinearsolver.o\r\ng++ -pipe -m64 -D_REENTRANT -O3 -I stan/lib/stan_math/lib/sundials_5.2.0/include -DNO_FPRINTF_OUTPUT -D_USE_MATH_DEFINES -c -x c -include stan/lib/stan_math/lib/sundials_5.2.0/include/stan_sundials_printf_override.hpp stan/lib/stan_math/lib/sundials_5.2.0/src/sundials/sundials_direct.c -o stan/lib/stan_math/lib/sundials_5.2.0/src/sundials/sundials_direct.o\r\ng++ -pipe -m64 -D_REENTRANT -O3 -I stan/lib/stan_math/lib/sundials_5.2.0/include -DNO_FPRINTF_OUTPUT -D_USE_MATH_DEFINES -c -x c -include stan/lib/stan_math/lib/sundials_5.2.0/include/stan_sundials_printf_override.hpp stan/lib/stan_math/lib/sundials_5.2.0/src/sundials/sundials_futils.c -o stan/lib/stan_math/lib/sundials_5.2.0/src/sundials/sundials_futils.o\r\ng++ -pipe -m64 -D_REENTRANT -O3 -I stan/lib/stan_math/lib/sundials_5.2.0/include -DNO_FPRINTF_OUTPUT -D_USE_MATH_DEFINES -c -x c -include stan/lib/stan_math/lib/sundials_5.2.0/include/stan_sundials_printf_override.hpp stan/lib/stan_math/lib/sundials_5.2.0/src/sundials/sundials_matrix.c -o stan/lib/stan_math/lib/sundials_5.2.0/src/sundials/sundials_matrix.o\r\ng++ -pipe -m64 -D_REENTRANT -O3 -I stan/lib/stan_math/lib/sundials_5.2.0/include -DNO_FPRINTF_OUTPUT -D_USE_MATH_DEFINES -c -x c -include stan/lib/stan_math/lib/sundials_5.2.0/include/stan_sundials_printf_override.hpp stan/lib/stan_math/lib/sundials_5.2.0/src/sunmatrix/band/sunmatrix_band.c -o stan/lib/stan_math/lib/sundials_5.2.0/src/sunmatrix/band/sunmatrix_band.o\r\ng++ -pipe -m64 -D_REENTRANT -O3 -I stan/lib/stan_math/lib/sundials_5.2.0/include -DNO_FPRINTF_OUTPUT -D_USE_MATH_DEFINES -c -x c -include stan/lib/stan_math/lib/sundials_5.2.0/include/stan_sundials_printf_override.hpp stan/lib/stan_math/lib/sundials_5.2.0/src/sunmatrix/dense/sunmatrix_dense.c -o stan/lib/stan_math/lib/sundials_5.2.0/src/sunmatrix/dense/sunmatrix_dense.o\r\ng++ -pipe -m64 -D_REENTRANT -O3 -I stan/lib/stan_math/lib/sundials_5.2.0/include -DNO_FPRINTF_OUTPUT -D_USE_MATH_DEFINES -c -x c -include stan/lib/stan_math/lib/sundials_5.2.0/include/stan_sundials_printf_override.hpp stan/lib/stan_math/lib/sundials_5.2.0/src/sunlinsol/band/sunlinsol_band.c -o stan/lib/stan_math/lib/sundials_5.2.0/src/sunlinsol/band/sunlinsol_band.o\r\ng++ -pipe -m64 -D_REENTRANT -O3 -I stan/lib/stan_math/lib/sundials_5.2.0/include -DNO_FPRINTF_OUTPUT -D_USE_MATH_DEFINES -c -x c -include stan/lib/stan_math/lib/sundials_5.2.0/include/stan_sundials_printf_override.hpp stan/lib/stan_math/lib/sundials_5.2.0/src/sunlinsol/dense/sunlinsol_dense.c -o stan/lib/stan_math/lib/sundials_5.2.0/src/sunlinsol/dense/sunlinsol_dense.o\r\ng++ -pipe -m64 -D_REENTRANT -O3 -I stan/lib/stan_math/lib/sundials_5.2.0/include -DNO_FPRINTF_OUTPUT -D_USE_MATH_DEFINES -c -x c -include stan/lib/stan_math/lib/sundials_5.2.0/include/stan_sundials_printf_override.hpp stan/lib/stan_math/lib/sundials_5.2.0/src/sunnonlinsol/newton/sunnonlinsol_newton.c -o stan/lib/stan_math/lib/sundials_5.2.0/src/sunnonlinsol/newton/sunnonlinsol_newton.o\r\ng++ -pipe -m64 -D_REENTRANT -O3 -I stan/lib/stan_math/lib/sundials_5.2.0/include -DNO_FPRINTF_OUTPUT -D_USE_MATH_DEFINES -c -x c -include stan/lib/stan_math/lib/sundials_5.2.0/include/stan_sundials_printf_override.hpp stan/lib/stan_math/lib/sundials_5.2.0/src/sunnonlinsol/fixedpoint/sunnonlinsol_fixedpoint.c -o stan/lib/stan_math/lib/sundials_5.2.0/src/sunnonlinsol/fixedpoint/sunnonlinsol_fixedpoint.o\r\ng++ -pipe -m64 -D_REENTRANT -O3 -I stan/lib/stan_math/lib/sundials_5.2.0/include -DNO_FPRINTF_OUTPUT -D_USE_MATH_DEFINES -c -x c -include stan/lib/stan_math/lib/sundials_5.2.0/include/stan_sundials_printf_override.hpp stan/lib/stan_math/lib/sundials_5.2.0/src/idas/idas_nls.c -o stan/lib/stan_math/lib/sundials_5.2.0/src/idas/idas_nls.o\r\ng++ -pipe -m64 -D_REENTRANT -O3 -I stan/lib/stan_math/lib/sundials_5.2.0/include -DNO_FPRINTF_OUTPUT -D_USE_MATH_DEFINES -c -x c -include stan/lib/stan_math/lib/sundials_5.2.0/include/stan_sundials_printf_override.hpp stan/lib/stan_math/lib/sundials_5.2.0/src/idas/idas_nls_sim.c -o stan/lib/stan_math/lib/sundials_5.2.0/src/idas/idas_nls_sim.o\r\ng++ -pipe -m64 -D_REENTRANT -O3 -I stan/lib/stan_math/lib/sundials_5.2.0/include -DNO_FPRINTF_OUTPUT -D_USE_MATH_DEFINES -c -x c -include stan/lib/stan_math/lib/sundials_5.2.0/include/stan_sundials_printf_override.hpp stan/lib/stan_math/lib/sundials_5.2.0/src/idas/idas_ls.c -o stan/lib/stan_math/lib/sundials_5.2.0/src/idas/idas_ls.o\r\ng++ -pipe -m64 -D_REENTRANT -O3 -I stan/lib/stan_math/lib/sundials_5.2.0/include -DNO_FPRINTF_OUTPUT -D_USE_MATH_DEFINES -c -x c -include stan/lib/stan_math/lib/sundials_5.2.0/include/stan_sundials_printf_override.hpp stan/lib/stan_math/lib/sundials_5.2.0/src/idas/idas.c -o stan/lib/stan_math/lib/sundials_5.2.0/src/idas/idas.o\r\ng++ -pipe -m64 -D_REENTRANT -O3 -I stan/lib/stan_math/lib/sundials_5.2.0/include -DNO_FPRINTF_OUTPUT -D_USE_MATH_DEFINES -c -x c -include stan/lib/stan_math/lib/sundials_5.2.0/include/stan_sundials_printf_override.hpp stan/lib/stan_math/lib/sundials_5.2.0/src/idas/idas_bbdpre.c -o stan/lib/stan_math/lib/sundials_5.2.0/src/idas/idas_bbdpre.o\r\ng++ -pipe -m64 -D_REENTRANT -O3 -I stan/lib/stan_math/lib/sundials_5.2.0/include -DNO_FPRINTF_OUTPUT -D_USE_MATH_DEFINES -c -x c -include stan/lib/stan_math/lib/sundials_5.2.0/include/stan_sundials_printf_override.hpp stan/lib/stan_math/lib/sundials_5.2.0/src/idas/idas_nls_stg.c -o stan/lib/stan_math/lib/sundials_5.2.0/src/idas/idas_nls_stg.o\r\ng++ -pipe -m64 -D_REENTRANT -O3 -I stan/lib/stan_math/lib/sundials_5.2.0/include -DNO_FPRINTF_OUTPUT -D_USE_MATH_DEFINES -c -x c -include stan/lib/stan_math/lib/sundials_5.2.0/include/stan_sundials_printf_override.hpp stan/lib/stan_math/lib/sundials_5.2.0/src/idas/idaa_io.c -o stan/lib/stan_math/lib/sundials_5.2.0/src/idas/idaa_io.o\r\ng++ -pipe -m64 -D_REENTRANT -O3 -I stan/lib/stan_math/lib/sundials_5.2.0/include -DNO_FPRINTF_OUTPUT -D_USE_MATH_DEFINES -c -x c -include stan/lib/stan_math/lib/sundials_5.2.0/include/stan_sundials_printf_override.hpp stan/lib/stan_math/lib/sundials_5.2.0/src/idas/idas_direct.c -o stan/lib/stan_math/lib/sundials_5.2.0/src/idas/idas_direct.o\r\ng++ -pipe -m64 -D_REENTRANT -O3 -I stan/lib/stan_math/lib/sundials_5.2.0/include -DNO_FPRINTF_OUTPUT -D_USE_MATH_DEFINES -c -x c -include stan/lib/stan_math/lib/sundials_5.2.0/include/stan_sundials_printf_override.hpp stan/lib/stan_math/lib/sundials_5.2.0/src/idas/idas_io.c -o stan/lib/stan_math/lib/sundials_5.2.0/src/idas/idas_io.o\r\ng++ -pipe -m64 -D_REENTRANT -O3 -I stan/lib/stan_math/lib/sundials_5.2.0/include -DNO_FPRINTF_OUTPUT -D_USE_MATH_DEFINES -c -x c -include stan/lib/stan_math/lib/sundials_5.2.0/include/stan_sundials_printf_override.hpp stan/lib/stan_math/lib/sundials_5.2.0/src/idas/idaa.c -o stan/lib/stan_math/lib/sundials_5.2.0/src/idas/idaa.o\r\ng++ -pipe -m64 -D_REENTRANT -O3 -I stan/lib/stan_math/lib/sundials_5.2.0/include -DNO_FPRINTF_OUTPUT -D_USE_MATH_DEFINES -c -x c -include stan/lib/stan_math/lib/sundials_5.2.0/include/stan_sundials_printf_override.hpp stan/lib/stan_math/lib/sundials_5.2.0/src/idas/idas_ic.c -o stan/lib/stan_math/lib/sundials_5.2.0/src/idas/idas_ic.o\r\ng++ -pipe -m64 -D_REENTRANT -O3 -I stan/lib/stan_math/lib/sundials_5.2.0/include -DNO_FPRINTF_OUTPUT -D_USE_MATH_DEFINES -c -x c -include stan/lib/stan_math/lib/sundials_5.2.0/include/stan_sundials_printf_override.hpp stan/lib/stan_math/lib/sundials_5.2.0/src/idas/idas_spils.c -o stan/lib/stan_math/lib/sundials_5.2.0/src/idas/idas_spils.o\r\ng++ -pipe -m64 -D_REENTRANT -O3 -I stan/lib/stan_math/lib/sundials_5.2.0/include -DNO_FPRINTF_OUTPUT -D_USE_MATH_DEFINES -c -x c -include stan/lib/stan_math/lib/sundials_5.2.0/include/stan_sundials_printf_override.hpp stan/lib/stan_math/lib/sundials_5.2.0/src/kinsol/kinsol_io.c -o stan/lib/stan_math/lib/sundials_5.2.0/src/kinsol/kinsol_io.o\r\ng++ -pipe -m64 -D_REENTRANT -O3 -I stan/lib/stan_math/lib/sundials_5.2.0/include -DNO_FPRINTF_OUTPUT -D_USE_MATH_DEFINES -c -x c -include stan/lib/stan_math/lib/sundials_5.2.0/include/stan_sundials_printf_override.hpp stan/lib/stan_math/lib/sundials_5.2.0/src/kinsol/kinsol_spils.c -o stan/lib/stan_math/lib/sundials_5.2.0/src/kinsol/kinsol_spils.o\r\ng++ -pipe -m64 -D_REENTRANT -O3 -I stan/lib/stan_math/lib/sundials_5.2.0/include -DNO_FPRINTF_OUTPUT -D_USE_MATH_DEFINES -c -x c -include stan/lib/stan_math/lib/sundials_5.2.0/include/stan_sundials_printf_override.hpp stan/lib/stan_math/lib/sundials_5.2.0/src/kinsol/kinsol_ls.c -o stan/lib/stan_math/lib/sundials_5.2.0/src/kinsol/kinsol_ls.o\r\ng++ -pipe -m64 -D_REENTRANT -O3 -I stan/lib/stan_math/lib/sundials_5.2.0/include -DNO_FPRINTF_OUTPUT -D_USE_MATH_DEFINES -c -x c -include stan/lib/stan_math/lib/sundials_5.2.0/include/stan_sundials_printf_override.hpp stan/lib/stan_math/lib/sundials_5.2.0/src/kinsol/kinsol.c -o stan/lib/stan_math/lib/sundials_5.2.0/src/kinsol/kinsol.o\r\ng++ -pipe -m64 -D_REENTRANT -O3 -I stan/lib/stan_math/lib/sundials_5.2.0/include -DNO_FPRINTF_OUTPUT -D_USE_MATH_DEFINES -c -x c -include stan/lib/stan_math/lib/sundials_5.2.0/include/stan_sundials_printf_override.hpp stan/lib/stan_math/lib/sundials_5.2.0/src/kinsol/kinsol_bbdpre.c -o stan/lib/stan_math/lib/sundials_5.2.0/src/kinsol/kinsol_bbdpre.o\r\ng++ -pipe -m64 -D_REENTRANT -O3 -I stan/lib/stan_math/lib/sundials_5.2.0/include -DNO_FPRINTF_OUTPUT -D_USE_MATH_DEFINES -c -x c -include stan/lib/stan_math/lib/sundials_5.2.0/include/stan_sundials_printf_override.hpp stan/lib/stan_math/lib/sundials_5.2.0/src/kinsol/kinsol_direct.c -o stan/lib/stan_math/lib/sundials_5.2.0/src/kinsol/kinsol_direct.o\r\ntouch stan/lib/stan_math/lib/tbb/tbb-make-check\r\ng++ -std=c++1y -m64 -D_REENTRANT -Wall -Wno-unused-function -Wno-uninitialized -Wno-unused-but-set-variable -Wno-unused-variable -Wno-sign-compare -Wno-unused-local-typedefs -I stan/lib/stan_math/lib/tbb_2019_U8/include -O3 -I src -I stan/src -I lib/rapidjson_1.1.0/ -I stan/lib/stan_math/ -I stan/lib/stan_math/lib/eigen_3.3.3 -I stan/lib/stan_math/lib/boost_1.72.0 -I stan/lib/stan_math/lib/sundials_5.2.0/include -D_USE_MATH_DEFINES -DBOOST_DISABLE_ASSERTS -c -o src/cmdstan/main.o src/cmdstan/main.cpp\r\nar -rs stan/lib/stan_math/lib/sundials_5.2.0/lib/libsundials_nvecserial.a stan/lib/stan_math/lib/sundials_5.2.0/src/nvector/serial/nvector_serial.o stan/lib/stan_math/lib/sundials_5.2.0/src/sundials/sundials_math.o\r\nar -rs stan/lib/stan_math/lib/sundials_5.2.0/lib/libsundials_cvodes.a stan/lib/stan_math/lib/sundials_5.2.0/src/cvodes/cvodes_nls_stg1.o stan/lib/stan_math/lib/sundials_5.2.0/src/cvodes/cvodes_nls_sim.o stan/lib/stan_math/lib/sundials_5.2.0/src/cvodes/cvodes_ls.o stan/lib/stan_math/lib/sundials_5.2.0/src/cvodes/cvodea_io.o stan/lib/stan_math/lib/sundials_5.2.0/src/cvodes/cvodes_spils.o stan/lib/stan_math/lib/sundials_5.2.0/src/cvodes/cvodes.o stan/lib/stan_math/lib/sundials_5.2.0/src/cvodes/cvodes_bandpre.o stan/lib/stan_math/lib/sundials_5.2.0/src/cvodes/cvodes_bbdpre.o stan/lib/stan_math/lib/sundials_5.2.0/src/cvodes/cvodes_nls_stg.o stan/lib/stan_math/lib/sundials_5.2.0/src/cvodes/cvodea.o stan/lib/stan_math/lib/sundials_5.2.0/src/cvodes/cvodes_io.o stan/lib/stan_math/lib/sundials_5.2.0/src/cvodes/cvodes_direct.o stan/lib/stan_math/lib/sundials_5.2.0/src/cvodes/cvodes_diag.o stan/lib/stan_math/lib/sundials_5.2.0/src/cvodes/cvodes_nls.o stan/lib/stan_math/lib/sundials_5.2.0/src/sundials/sundials_dense.o stan/lib/stan_math/lib/sundials_5.2.0/src/sundials/sundials_nvector_senswrapper.o stan/lib/stan_math/lib/sundials_5.2.0/src/sundials/sundials_nvector.o stan/lib/stan_math/lib/sundials_5.2.0/src/sundials/sundials_math.o stan/lib/stan_math/lib/sundials_5.2.0/src/sundials/sundials_linearsolver.o stan/lib/stan_math/lib/sundials_5.2.0/src/sundials/sundials_iterative.o stan/lib/stan_math/lib/sundials_5.2.0/src/sundials/sundials_band.o stan/lib/stan_math/lib/sundials_5.2.0/src/sundials/sundials_version.o stan/lib/stan_math/lib/sundials_5.2.0/src/sundials/sundials_nonlinearsolver.o stan/lib/stan_math/lib/sundials_5.2.0/src/sundials/sundials_direct.o stan/lib/stan_math/lib/sundials_5.2.0/src/sundials/sundials_futils.o stan/lib/stan_math/lib/sundials_5.2.0/src/sundials/sundials_matrix.o stan/lib/stan_math/lib/sundials_5.2.0/src/sunmatrix/band/sunmatrix_band.o stan/lib/stan_math/lib/sundials_5.2.0/src/sunmatrix/dense/sunmatrix_dense.o stan/lib/stan_math/lib/sundials_5.2.0/src/sunlinsol/band/sunlinsol_band.o stan/lib/stan_math/lib/sundials_5.2.0/src/sunlinsol/dense/sunlinsol_dense.o stan/lib/stan_math/lib/sundials_5.2.0/src/sunnonlinsol/newton/sunnonlinsol_newton.o stan/lib/stan_math/lib/sundials_5.2.0/src/sunnonlinsol/fixedpoint/sunnonlinsol_fixedpoint.o\r\nar -rs stan/lib/stan_math/lib/sundials_5.2.0/lib/libsundials_idas.a stan/lib/stan_math/lib/sundials_5.2.0/src/idas/idas_nls.o stan/lib/stan_math/lib/sundials_5.2.0/src/idas/idas_nls_sim.o stan/lib/stan_math/lib/sundials_5.2.0/src/idas/idas_ls.o stan/lib/stan_math/lib/sundials_5.2.0/src/idas/idas.o stan/lib/stan_math/lib/sundials_5.2.0/src/idas/idas_bbdpre.o stan/lib/stan_math/lib/sundials_5.2.0/src/idas/idas_nls_stg.o stan/lib/stan_math/lib/sundials_5.2.0/src/idas/idaa_io.o stan/lib/stan_math/lib/sundials_5.2.0/src/idas/idas_direct.o stan/lib/stan_math/lib/sundials_5.2.0/src/idas/idas_io.o stan/lib/stan_math/lib/sundials_5.2.0/src/idas/idaa.o stan/lib/stan_math/lib/sundials_5.2.0/src/idas/idas_ic.o stan/lib/stan_math/lib/sundials_5.2.0/src/idas/idas_spils.o stan/lib/stan_math/lib/sundials_5.2.0/src/sundials/sundials_dense.o stan/lib/stan_math/lib/sundials_5.2.0/src/sundials/sundials_nvector_senswrapper.o stan/lib/stan_math/lib/sundials_5.2.0/src/sundials/sundials_nvector.o stan/lib/stan_math/lib/sundials_5.2.0/src/sundials/sundials_math.o stan/lib/stan_math/lib/sundials_5.2.0/src/sundials/sundials_linearsolver.o stan/lib/stan_math/lib/sundials_5.2.0/src/sundials/sundials_iterative.o stan/lib/stan_math/lib/sundials_5.2.0/src/sundials/sundials_band.o stan/lib/stan_math/lib/sundials_5.2.0/src/sundials/sundials_version.o stan/lib/stan_math/lib/sundials_5.2.0/src/sundials/sundials_nonlinearsolver.o stan/lib/stan_math/lib/sundials_5.2.0/src/sundials/sundials_direct.o stan/lib/stan_math/lib/sundials_5.2.0/src/sundials/sundials_futils.o stan/lib/stan_math/lib/sundials_5.2.0/src/sundials/sundials_matrix.o stan/lib/stan_math/lib/sundials_5.2.0/src/sunmatrix/band/sunmatrix_band.o stan/lib/stan_math/lib/sundials_5.2.0/src/sunmatrix/dense/sunmatrix_dense.o stan/lib/stan_math/lib/sundials_5.2.0/src/sunlinsol/band/sunlinsol_band.o stan/lib/stan_math/lib/sundials_5.2.0/src/sunlinsol/dense/sunlinsol_dense.o stan/lib/stan_math/lib/sundials_5.2.0/src/sunnonlinsol/newton/sunnonlinsol_newton.o stan/lib/stan_math/lib/sundials_5.2.0/src/sunnonlinsol/fixedpoint/sunnonlinsol_fixedpoint.o\r\nar -rs stan/lib/stan_math/lib/sundials_5.2.0/lib/libsundials_kinsol.a stan/lib/stan_math/lib/sundials_5.2.0/src/kinsol/kinsol_io.o stan/lib/stan_math/lib/sundials_5.2.0/src/kinsol/kinsol_spils.o stan/lib/stan_math/lib/sundials_5.2.0/src/kinsol/kinsol_ls.o stan/lib/stan_math/lib/sundials_5.2.0/src/kinsol/kinsol.o stan/lib/stan_math/lib/sundials_5.2.0/src/kinsol/kinsol_bbdpre.o stan/lib/stan_math/lib/sundials_5.2.0/src/kinsol/kinsol_direct.o stan/lib/stan_math/lib/sundials_5.2.0/src/sundials/sundials_dense.o stan/lib/stan_math/lib/sundials_5.2.0/src/sundials/sundials_nvector_senswrapper.o stan/lib/stan_math/lib/sundials_5.2.0/src/sundials/sundials_nvector.o stan/lib/stan_math/lib/sundials_5.2.0/src/sundials/sundials_math.o stan/lib/stan_math/lib/sundials_5.2.0/src/sundials/sundials_linearsolver.o stan/lib/stan_math/lib/sundials_5.2.0/src/sundials/sundials_iterative.o stan/lib/stan_math/lib/sundials_5.2.0/src/sundials/sundials_band.o stan/lib/stan_math/lib/sundials_5.2.0/src/sundials/sundials_version.o stan/lib/stan_math/lib/sundials_5.2.0/src/sundials/sundials_nonlinearsolver.o stan/lib/stan_math/lib/sundials_5.2.0/src/sundials/sundials_direct.o stan/lib/stan_math/lib/sundials_5.2.0/src/sundials/sundials_futils.o stan/lib/stan_math/lib/sundials_5.2.0/src/sundials/sundials_matrix.o stan/lib/stan_math/lib/sundials_5.2.0/src/sunmatrix/band/sunmatrix_band.o stan/lib/stan_math/lib/sundials_5.2.0/src/sunmatrix/dense/sunmatrix_dense.o stan/lib/stan_math/lib/sundials_5.2.0/src/sunlinsol/band/sunlinsol_band.o stan/lib/stan_math/lib/sundials_5.2.0/src/sunlinsol/dense/sunlinsol_dense.o stan/lib/stan_math/lib/sundials_5.2.0/src/sunnonlinsol/newton/sunnonlinsol_newton.o stan/lib/stan_math/lib/sundials_5.2.0/src/sunnonlinsol/fixedpoint/sunnonlinsol_fixedpoint.o\r\ntbb_root=\"../tbb_2019_U8\" CXX=\"g++\" CC=\"gcc\" LDFLAGS='-Wl,-L,\"C:/Users/vanes/Documents/.cmdstanr/cmdstan-2.23.0/stan/lib/stan_math/lib/tbb\" -Wl,-rpath,\"C:/Users/vanes/Documents/.cmdstanr/cmdstan-2.23.0/stan/lib/stan_math/lib/tbb\"' mingw32-make -C \"stan/lib/stan_math/lib/tbb\" -r -f \"C:/Users/vanes/Documents/.cmdstanr/cmdstan-2.23.0/stan/lib/stan_math/lib/tbb_2019_U8/build/Makefile.tbbmalloc\" compiler=gcc cfg=release stdver=c++1y malloc\r\nmingw32-make[1]: Entering directory 'C:/Users/vanes/Documents/.cmdstanr/cmdstan-2.23.0/stan/lib/stan_math/lib/tbb'\r\ng++ -c -MMD -O2 -DUSE_WINTHREAD -D_WIN32_WINNT=0x0502 -DMINGW_HAS_SECURE_API=1 -DMSVCRT_VERSION=0x0700 -msse -mthreads -m64 -mrtm -fno-rtti -fno-exceptions -DTBBMALLOC_BUILD=1 -Wno-parentheses -Wno-uninitialized -Wno-non-virtual-dtor -I../tbb_2019_U8/src -I../tbb_2019_U8/src/rml/include -I../tbb_2019_U8/include -I../tbb_2019_U8/src/tbbmalloc -I../tbb_2019_U8/src/tbbmalloc ../tbb_2019_U8/src/tbbmalloc/backend.cpp\r\ng++ -c -MMD -O2 -DUSE_WINTHREAD -D_WIN32_WINNT=0x0502 -DMINGW_HAS_SECURE_API=1 -DMSVCRT_VERSION=0x0700 -msse -mthreads -m64 -mrtm -fno-rtti -fno-exceptions -DTBBMALLOC_BUILD=1 -Wno-parentheses -Wno-uninitialized -Wno-non-virtual-dtor -I../tbb_2019_U8/src -I../tbb_2019_U8/src/rml/include -I../tbb_2019_U8/include -I../tbb_2019_U8/src/tbbmalloc -I../tbb_2019_U8/src/tbbmalloc ../tbb_2019_U8/src/tbbmalloc/large_objects.cpp\r\ng++ -c -MMD -O2 -DUSE_WINTHREAD -D_WIN32_WINNT=0x0502 -DMINGW_HAS_SECURE_API=1 -DMSVCRT_VERSION=0x0700 -msse -mthreads -m64 -mrtm -fno-rtti -fno-exceptions -DTBBMALLOC_BUILD=1 -Wno-parentheses -Wno-uninitialized -Wno-non-virtual-dtor -I../tbb_2019_U8/src -I../tbb_2019_U8/src/rml/include -I../tbb_2019_U8/include -I../tbb_2019_U8/src/tbbmalloc -I../tbb_2019_U8/src/tbbmalloc ../tbb_2019_U8/src/tbbmalloc/backref.cpp\r\ng++ -c -MMD -O2 -DUSE_WINTHREAD -D_WIN32_WINNT=0x0502 -DMINGW_HAS_SECURE_API=1 -DMSVCRT_VERSION=0x0700 -msse -mthreads -m64 -mrtm -fno-rtti -fno-exceptions -DTBBMALLOC_BUILD=1 -Wno-parentheses -Wno-uninitialized -Wno-non-virtual-dtor -I../tbb_2019_U8/src -I../tbb_2019_U8/src/rml/include -I../tbb_2019_U8/include -I../tbb_2019_U8/src/tbbmalloc -I../tbb_2019_U8/src/tbbmalloc ../tbb_2019_U8/src/tbbmalloc/tbbmalloc.cpp\r\ng++ -c -MMD -O2 -DUSE_WINTHREAD -D_WIN32_WINNT=0x0502 -DMINGW_HAS_SECURE_API=1 -DMSVCRT_VERSION=0x0700 -msse -mthreads -m64 -mrtm -fno-rtti -fno-exceptions -DTBBMALLOC_BUILD=1 -Wno-parentheses -Wno-uninitialized -Wno-non-virtual-dtor -o itt_notify_malloc.o -I../tbb_2019_U8/src -I../tbb_2019_U8/src/rml/include -I../tbb_2019_U8/include ../tbb_2019_U8/src/tbb/itt_notify.cpp\r\ncmd /C cscript /nologo /E:jscript ../tbb_2019_U8/build/version_info_windows.js gcc intel64 \"g++ -O2 -DUSE_WINTHREAD -D_WIN32_WINNT=0x0502 -DMINGW_HAS_SECURE_API=1 -D__MSVCRT_VERSION=0x0700 -msse -mthreads -m64 -mrtm -Wall -std=c++1y -I../tbb_2019_U8/src -I../tbb_2019_U8/src/rml/include -I../tbb_2019_U8/include\" > version_string.ver\r\ng++ -E -x c++ ../tbb_2019_U8/src/tbbmalloc/win64-gcc-tbbmalloc-export.def -O2 -DUSE_WINTHREAD -D_WIN32_WINNT=0x0502 -DMINGW_HAS_SECURE_API=1 -DMSVCRT_VERSION=0x0700 -msse -mthreads -m64 -mrtm -Wall -fno-rtti -fno-exceptions -DTBBMALLOC_BUILD=1 -Wno-parentheses -Wno-uninitialized -Wno-non-virtual-dtor -I../tbb_2019_U8/src -I../tbb_2019_U8/src/rml/include -I../tbb_2019_U8/include > tbbmalloc.def\r\ng++ -c -MMD -O2 -DUSE_WINTHREAD -D_WIN32_WINNT=0x0502 -DMINGW_HAS_SECURE_API=1 -DMSVCRT_VERSION=0x0700 -msse -mthreads -m64 -mrtm -Wall -Wno-parentheses -Wno-uninitialized -Wno-non-virtual-dtor -DTBBMALLOC_BUILD=1 -I../tbb_2019_U8/src -I../tbb_2019_U8/src/rml/include -I../tbb_2019_U8/include -I../tbb_2019_U8/src/tbbmalloc -I../tbb_2019_U8/src/tbbmalloc ../tbb_2019_U8/src/tbbmalloc/proxy.cpp\r\ng++ -c -MMD -O2 -DUSE_WINTHREAD -D_WIN32_WINNT=0x0502 -DMINGW_HAS_SECURE_API=1 -DMSVCRT_VERSION=0x0700 -msse -mthreads -m64 -mrtm -Wall -Wno-parentheses -Wno-uninitialized -Wno-non-virtual-dtor -DTBBMALLOC_BUILD=1 -I../tbb_2019_U8/src -I../tbb_2019_U8/src/rml/include -I../tbb_2019_U8/include -I../tbb_2019_U8/src/tbbmalloc -I../tbb_2019_U8/src/tbbmalloc ../tbb_2019_U8/src/tbbmalloc/tbb_function_replacement.cpp\r\ng++ -c -MMD -O2 -DUSE_WINTHREAD -D_WIN32_WINNT=0x0502 -DMINGW_HAS_SECURE_API=1 -DMSVCRT_VERSION=0x0700 -msse -mthreads -m64 -mrtm -fno-rtti -fno-exceptions -DTBBMALLOC_BUILD=1 -Wno-parentheses -Wno-uninitialized -Wno-non-virtual-dtor -I../tbb_2019_U8/src -I../tbb_2019_U8/src/rml/include -I../tbb_2019_U8/include -I../tbb_2019_U8/src/tbbmalloc -I../tbb_2019_U8/src/tbbmalloc -I. ../tbb_2019_U8/src/tbbmalloc/frontend.cpp\r\ngcc -o tbbmalloc.dll backend.o large_objects.o backref.o tbbmalloc.o itt_notify_malloc.o frontend.o -lpsapi -shared -m64 -Wl,-L,\"C:/Users/vanes/Documents/.cmdstanr/cmdstan-2.23.0/stan/lib/stan_math/lib/tbb\" -Wl,-rpath,\"C:/Users/vanes/Documents/.cmdstanr/cmdstan-2.23.0/stan/lib/stan_math/lib/tbb\" -Wl,--version-script,tbbmalloc.def\r\ng++ -o tbbmalloc_proxy.dll proxy.o tbb_function_replacement.o -lpsapi tbbmalloc.dll -shared -m64 -Wl,-L,\"C:/Users/vanes/Documents/.cmdstanr/cmdstan-2.23.0/stan/lib/stan_math/lib/tbb\" -Wl,-rpath,\"C:/Users/vanes/Documents/.cmdstanr/cmdstan-2.23.0/stan/lib/stan_math/lib/tbb\"\r\ng++ -std=c++1y -m64 -D_REENTRANT -Wall -Wno-unused-function -Wno-uninitialized -Wno-unused-but-set-variable -Wno-unused-variable -Wno-sign-compare -Wno-unused-local-typedefs -I stan/lib/stan_math/lib/tbb_2019_U8/include -O3 -I src -I stan/src -I lib/rapidjson_1.1.0/ -I stan/lib/stan_math/ -I stan/lib/stan_math/lib/eigen_3.3.3 -I stan/lib/stan_math/lib/boost_1.72.0 -I stan/lib/stan_math/lib/sundials_5.2.0/include -D_USE_MATH_DEFINES -DBOOST_DISABLE_ASSERTS -Wl,-L,\"C:/Users/vanes/Documents/.cmdstanr/cmdstan-2.23.0/stan/lib/stan_math/lib/tbb\" -Wl,-rpath,\"C:/Users/vanes/Documents/.cmdstanr/cmdstan-2.23.0/stan/lib/stan_math/lib/tbb\" bin/cmdstan/diagnose.o -static-libgcc -static-libstdc++ -o bin/diagnose.exe\r\nmingw32-make[1]: Leaving directory 'C:/Users/vanes/Documents/.cmdstanr/cmdstan-2.23.0/stan/lib/stan_math/lib/tbb'\r\ntouch stan/lib/stan_math/lib/tbb/version_tbb_2019_U8\r\ntbb_root=\"../tbb_2019_U8\" CXX=\"g++\" CC=\"gcc\" LDFLAGS='-Wl,-L,\"C:/Users/vanes/Documents/.cmdstanr/cmdstan-2.23.0/stan/lib/stan_math/lib/tbb\" -Wl,-rpath,\"C:/Users/vanes/Documents/.cmdstanr/cmdstan-2.23.0/stan/lib/stan_math/lib/tbb\"' mingw32-make -C \"stan/lib/stan_math/lib/tbb\" -r -f \"C:/Users/vanes/Documents/.cmdstanr/cmdstan-2.23.0/stan/lib/stan_math/lib/tbb_2019_U8/build/Makefile.tbb\" compiler=gcc cfg=release stdver=c++1y\r\nmingw32-make[1]: Entering directory 'C:/Users/vanes/Documents/.cmdstanr/cmdstan-2.23.0/stan/lib/stan_math/lib/tbb'\r\ng++ -o concurrent_hash_map.o -c -MMD -O2 -DUSE_WINTHREAD -D_WIN32_WINNT=0x0502 -DMINGW_HAS_SECURE_API=1 -DMSVCRT_VERSION=0x0700 -msse -mthreads -m64 -mrtm -DTBB_BUILD=1 -Wall -Wno-parentheses -Wno-uninitialized -Wno-non-virtual-dtor -std=c++1y -I../tbb_2019_U8/src -I../tbb_2019_U8/src/rml/include -I../tbb_2019_U8/include ../tbb_2019_U8/src/tbb/concurrent_hash_map.cpp\r\ng++ -o concurrent_queue.o -c -MMD -O2 -DUSE_WINTHREAD -D_WIN32_WINNT=0x0502 -DMINGW_HAS_SECURE_API=1 -D__MSVCRT_VERSION=0x0700 -msse -mthreads -m64 -mrtm -DTBB_BUILD=1 -Wall -Wno-parentheses -Wno-uninitialized -Wno-non-virtual-dtor -std=c++1y -I../tbb_2019_U8/src -I../tbb_2019_U8/src/rml/include -I../tbb_2019_U8/include ../tbb_2019_U8/src/tbb/concurrent_queue.cpp\r\ng++ -o concurrent_vector.o -c -MMD -O2 -DUSE_WINTHREAD -D_WIN32_WINNT=0x0502 -DMINGW_HAS_SECURE_API=1 -D__MSVCRT_VERSION=0x0700 -msse -mthreads -m64 -mrtm -DTBB_BUILD=1 -Wall -Wno-parentheses -Wno-uninitialized -Wno-non-virtual-dtor -std=c++1y -I../tbb_2019_U8/src -I../tbb_2019_U8/src/rml/include -I../tbb_2019_U8/include ../tbb_2019_U8/src/tbb/concurrent_vector.cpp\r\ng++ -std=c++1y -m64 -D_REENTRANT -Wall -Wno-unused-function -Wno-uninitialized -Wno-unused-but-set-variable -Wno-unused-variable -Wno-sign-compare -Wno-unused-local-typedefs -I stan/lib/stan_math/lib/tbb_2019_U8/include -O3 -I src -I stan/src -I lib/rapidjson_1.1.0/ -I stan/lib/stan_math/ -I stan/lib/stan_math/lib/eigen_3.3.3 -I stan/lib/stan_math/lib/boost_1.72.0 -I stan/lib/stan_math/lib/sundials_5.2.0/include -D_USE_MATH_DEFINES -DBOOST_DISABLE_ASSERTS -Wl,-L,\"C:/Users/vanes/Documents/.cmdstanr/cmdstan-2.23.0/stan/lib/stan_math/lib/tbb\" -Wl,-rpath,\"C:/Users/vanes/Documents/.cmdstanr/cmdstan-2.23.0/stan/lib/stan_math/lib/tbb\" bin/cmdstan/print.o -static-libgcc -static-libstdc++ -o bin/print.exe\r\ng++ -o dynamic_link.o -c -MMD -O2 -DUSE_WINTHREAD -D_WIN32_WINNT=0x0502 -DMINGW_HAS_SECURE_API=1 -DMSVCRT_VERSION=0x0700 -msse -mthreads -m64 -mrtm -DTBB_BUILD=1 -Wall -Wno-parentheses -Wno-uninitialized -Wno-non-virtual-dtor -std=c++1y -I../tbb_2019_U8/src -I../tbb_2019_U8/src/rml/include -I../tbb_2019_U8/include ../tbb_2019_U8/src/tbb/dynamic_link.cpp\r\ng++ -o itt_notify.o -c -MMD -O2 -DUSE_WINTHREAD -D_WIN32_WINNT=0x0502 -DMINGW_HAS_SECURE_API=1 -DMSVCRT_VERSION=0x0700 -msse -mthreads -m64 -mrtm -DTBB_BUILD=1 -Wall -Wno-parentheses -Wno-uninitialized -Wno-non-virtual-dtor -std=c++1y -I../tbb_2019_U8/src -I../tbb_2019_U8/src/rml/include -I../tbb_2019_U8/include ../tbb_2019_U8/src/tbb/itt_notify.cpp\r\ng++ -o cache_aligned_allocator.o -c -MMD -O2 -DUSE_WINTHREAD -D_WIN32_WINNT=0x0502 -DMINGW_HAS_SECURE_API=1 -D__MSVCRT_VERSION=0x0700 -msse -mthreads -m64 -mrtm -DTBB_BUILD=1 -Wall -Wno-parentheses -Wno-uninitialized -Wno-non-virtual-dtor -std=c++1y -I../tbb_2019_U8/src -I../tbb_2019_U8/src/rml/include -I../tbb_2019_U8/include ../tbb_2019_U8/src/tbb/cache_aligned_allocator.cpp\r\ng++ -o pipeline.o -c -MMD -O2 -DUSE_WINTHREAD -D_WIN32_WINNT=0x0502 -DMINGW_HAS_SECURE_API=1 -D__MSVCRT_VERSION=0x0700 -msse -mthreads -m64 -mrtm -DTBB_BUILD=1 -Wall -Wno-parentheses -Wno-uninitialized -Wno-non-virtual-dtor -std=c++1y -I../tbb_2019_U8/src -I../tbb_2019_U8/src/rml/include -I../tbb_2019_U8/include ../tbb_2019_U8/src/tbb/pipeline.cpp\r\ng++ -o queuing_mutex.o -c -MMD -O2 -DUSE_WINTHREAD -D_WIN32_WINNT=0x0502 -DMINGW_HAS_SECURE_API=1 -DMSVCRT_VERSION=0x0700 -msse -mthreads -m64 -mrtm -DTBB_BUILD=1 -Wall -Wno-parentheses -Wno-uninitialized -Wno-non-virtual-dtor -std=c++1y -I../tbb_2019_U8/src -I../tbb_2019_U8/src/rml/include -I../tbb_2019_U8/include ../tbb_2019_U8/src/tbb/queuing_mutex.cpp\r\ng++ -o queuing_rw_mutex.o -c -MMD -O2 -DUSE_WINTHREAD -D_WIN32_WINNT=0x0502 -DMINGW_HAS_SECURE_API=1 -DMSVCRT_VERSION=0x0700 -msse -mthreads -m64 -mrtm -DTBB_BUILD=1 -Wall -Wno-parentheses -Wno-uninitialized -Wno-non-virtual-dtor -std=c++1y -I../tbb_2019_U8/src -I../tbb_2019_U8/src/rml/include -I../tbb_2019_U8/include ../tbb_2019_U8/src/tbb/queuing_rw_mutex.cpp\r\ng++ -o reader_writer_lock.o -c -MMD -O2 -DUSE_WINTHREAD -D_WIN32_WINNT=0x0502 -DMINGW_HAS_SECURE_API=1 -DMSVCRT_VERSION=0x0700 -msse -mthreads -m64 -mrtm -DTBB_BUILD=1 -Wall -Wno-parentheses -Wno-uninitialized -Wno-non-virtual-dtor -std=c++1y -I../tbb_2019_U8/src -I../tbb_2019_U8/src/rml/include -I../tbb_2019_U8/include ../tbb_2019_U8/src/tbb/reader_writer_lock.cpp\r\ng++ -o spin_rw_mutex.o -c -MMD -O2 -DUSE_WINTHREAD -D_WIN32_WINNT=0x0502 -DMINGW_HAS_SECURE_API=1 -DMSVCRT_VERSION=0x0700 -msse -mthreads -m64 -mrtm -DTBB_BUILD=1 -Wall -Wno-parentheses -Wno-uninitialized -Wno-non-virtual-dtor -std=c++1y -I../tbb_2019_U8/src -I../tbb_2019_U8/src/rml/include -I../tbb_2019_U8/include ../tbb_2019_U8/src/tbb/spin_rw_mutex.cpp\r\ng++ -o x86_rtm_rw_mutex.o -c -MMD -O2 -DUSE_WINTHREAD -D_WIN32_WINNT=0x0502 -DMINGW_HAS_SECURE_API=1 -D__MSVCRT_VERSION=0x0700 -msse -mthreads -m64 -mrtm -DTBB_BUILD=1 -Wall -Wno-parentheses -Wno-uninitialized -Wno-non-virtual-dtor -std=c++1y -I../tbb_2019_U8/src -I../tbb_2019_U8/src/rml/include -I../tbb_2019_U8/include ../tbb_2019_U8/src/tbb/x86_rtm_rw_mutex.cpp\r\ng++ -o spin_mutex.o -c -MMD -O2 -DUSE_WINTHREAD -D_WIN32_WINNT=0x0502 -DMINGW_HAS_SECURE_API=1 -D__MSVCRT_VERSION=0x0700 -msse -mthreads -m64 -mrtm -DTBB_BUILD=1 -Wall -Wno-parentheses -Wno-uninitialized -Wno-non-virtual-dtor -std=c++1y -I../tbb_2019_U8/src -I../tbb_2019_U8/src/rml/include -I../tbb_2019_U8/include ../tbb_2019_U8/src/tbb/spin_mutex.cpp\r\ng++ -o critical_section.o -c -MMD -O2 -DUSE_WINTHREAD -D_WIN32_WINNT=0x0502 -DMINGW_HAS_SECURE_API=1 -D__MSVCRT_VERSION=0x0700 -msse -mthreads -m64 -mrtm -DTBB_BUILD=1 -Wall -Wno-parentheses -Wno-uninitialized -Wno-non-virtual-dtor -std=c++1y -I../tbb_2019_U8/src -I../tbb_2019_U8/src/rml/include -I../tbb_2019_U8/include ../tbb_2019_U8/src/tbb/critical_section.cpp\r\ng++ -o mutex.o -c -MMD -O2 -DUSE_WINTHREAD -D_WIN32_WINNT=0x0502 -DMINGW_HAS_SECURE_API=1 -DMSVCRT_VERSION=0x0700 -msse -mthreads -m64 -mrtm -DTBB_BUILD=1 -Wall -Wno-parentheses -Wno-uninitialized -Wno-non-virtual-dtor -std=c++1y -I../tbb_2019_U8/src -I../tbb_2019_U8/src/rml/include -I../tbb_2019_U8/include ../tbb_2019_U8/src/tbb/mutex.cpp\r\ng++ -o recursive_mutex.o -c -MMD -O2 -DUSE_WINTHREAD -D_WIN32_WINNT=0x0502 -DMINGW_HAS_SECURE_API=1 -DMSVCRT_VERSION=0x0700 -msse -mthreads -m64 -mrtm -DTBB_BUILD=1 -Wall -Wno-parentheses -Wno-uninitialized -Wno-non-virtual-dtor -std=c++1y -I../tbb_2019_U8/src -I../tbb_2019_U8/src/rml/include -I../tbb_2019_U8/include ../tbb_2019_U8/src/tbb/recursive_mutex.cpp\r\ng++ -o condition_variable.o -c -MMD -O2 -DUSE_WINTHREAD -D_WIN32_WINNT=0x0502 -DMINGW_HAS_SECURE_API=1 -DMSVCRT_VERSION=0x0700 -msse -mthreads -m64 -mrtm -DTBB_BUILD=1 -Wall -Wno-parentheses -Wno-uninitialized -Wno-non-virtual-dtor -std=c++1y -I../tbb_2019_U8/src -I../tbb_2019_U8/src/rml/include -I../tbb_2019_U8/include ../tbb_2019_U8/src/tbb/condition_variable.cpp\r\ng++ -o tbb_thread.o -c -MMD -O2 -DUSE_WINTHREAD -D_WIN32_WINNT=0x0502 -DMINGW_HAS_SECURE_API=1 -DMSVCRT_VERSION=0x0700 -msse -mthreads -m64 -mrtm -DTBB_BUILD=1 -Wall -Wno-parentheses -Wno-uninitialized -Wno-non-virtual-dtor -std=c++1y -I../tbb_2019_U8/src -I../tbb_2019_U8/src/rml/include -I../tbb_2019_U8/include ../tbb_2019_U8/src/tbb/tbb_thread.cpp\r\ng++ -o concurrent_monitor.o -c -MMD -O2 -DUSE_WINTHREAD -D_WIN32_WINNT=0x0502 -DMINGW_HAS_SECURE_API=1 -DMSVCRT_VERSION=0x0700 -msse -mthreads -m64 -mrtm -DTBB_BUILD=1 -Wall -Wno-parentheses -Wno-uninitialized -Wno-non-virtual-dtor -std=c++1y -I../tbb_2019_U8/src -I../tbb_2019_U8/src/rml/include -I../tbb_2019_U8/include ../tbb_2019_U8/src/tbb/concurrent_monitor.cpp\r\ng++ -o semaphore.o -c -MMD -O2 -DUSE_WINTHREAD -D_WIN32_WINNT=0x0502 -DMINGW_HAS_SECURE_API=1 -DMSVCRT_VERSION=0x0700 -msse -mthreads -m64 -mrtm -DTBB_BUILD=1 -Wall -Wno-parentheses -Wno-uninitialized -Wno-non-virtual-dtor -std=c++1y -I../tbb_2019_U8/src -I../tbb_2019_U8/src/rml/include -I../tbb_2019_U8/include ../tbb_2019_U8/src/tbb/semaphore.cpp\r\ng++ -o private_server.o -c -MMD -O2 -DUSE_WINTHREAD -D_WIN32_WINNT=0x0502 -DMINGW_HAS_SECURE_API=1 -D__MSVCRT_VERSION=0x0700 -msse -mthreads -m64 -mrtm -DTBB_BUILD=1 -Wall -Wno-parentheses -Wno-uninitialized -Wno-non-virtual-dtor -std=c++1y -I../tbb_2019_U8/src -I../tbb_2019_U8/src/rml/include -I../tbb_2019_U8/include ../tbb_2019_U8/src/tbb/private_server.cpp\r\ng++ -o rml_tbb.o -c -MMD -O2 -DUSE_WINTHREAD -D_WIN32_WINNT=0x0502 -DMINGW_HAS_SECURE_API=1 -D__MSVCRT_VERSION=0x0700 -msse -mthreads -m64 -mrtm -DTBB_BUILD=1 -Wall -Wno-parentheses -Wno-uninitialized -Wno-non-virtual-dtor -std=c++1y -I../tbb_2019_U8/src -I../tbb_2019_U8/src/rml/include -I../tbb_2019_U8/include ../tbb_2019_U8/src/rml/client/rml_tbb.cpp\r\ng++ -o tbb_misc.o -c -MMD -O2 -DUSE_WINTHREAD -D_WIN32_WINNT=0x0502 -DMINGW_HAS_SECURE_API=1 -D__MSVCRT_VERSION=0x0700 -msse -mthreads -m64 -mrtm -DTBB_BUILD=1 -Wall -Wno-parentheses -Wno-uninitialized -Wno-non-virtual-dtor -std=c++1y -I../tbb_2019_U8/src -I../tbb_2019_U8/src/rml/include -I../tbb_2019_U8/include -I. ../tbb_2019_U8/src/tbb/tbb_misc.cpp\r\ng++ -o tbb_misc_ex.o -c -MMD -O2 -DUSE_WINTHREAD -D_WIN32_WINNT=0x0502 -DMINGW_HAS_SECURE_API=1 -DMSVCRT_VERSION=0x0700 -msse -mthreads -m64 -mrtm -DTBB_BUILD=1 -Wall -Wno-parentheses -Wno-uninitialized -Wno-non-virtual-dtor -std=c++1y -I../tbb_2019_U8/src -I../tbb_2019_U8/src/rml/include -I../tbb_2019_U8/include ../tbb_2019_U8/src/tbb/tbb_misc_ex.cpp\r\ng++ -o task.o -c -MMD -O2 -DUSE_WINTHREAD -D_WIN32_WINNT=0x0502 -DMINGW_HAS_SECURE_API=1 -DMSVCRT_VERSION=0x0700 -msse -mthreads -m64 -mrtm -DTBB_BUILD=1 -Wall -Wno-parentheses -Wno-uninitialized -Wno-non-virtual-dtor -std=c++1y -I../tbb_2019_U8/src -I../tbb_2019_U8/src/rml/include -I../tbb_2019_U8/include ../tbb_2019_U8/src/tbb/task.cpp\r\ng++ -o task_group_context.o -c -MMD -O2 -DUSE_WINTHREAD -D_WIN32_WINNT=0x0502 -DMINGW_HAS_SECURE_API=1 -DMSVCRT_VERSION=0x0700 -msse -mthreads -m64 -mrtm -DTBB_BUILD=1 -Wall -Wno-parentheses -Wno-uninitialized -Wno-non-virtual-dtor -std=c++1y -I../tbb_2019_U8/src -I../tbb_2019_U8/src/rml/include -I../tbb_2019_U8/include ../tbb_2019_U8/src/tbb/task_group_context.cpp\r\ng++ -o governor.o -c -MMD -O2 -DUSE_WINTHREAD -D_WIN32_WINNT=0x0502 -DMINGW_HAS_SECURE_API=1 -DMSVCRT_VERSION=0x0700 -msse -mthreads -m64 -mrtm -DTBB_BUILD=1 -Wall -Wno-parentheses -Wno-uninitialized -Wno-non-virtual-dtor -std=c++1y -I../tbb_2019_U8/src -I../tbb_2019_U8/src/rml/include -I../tbb_2019_U8/include ../tbb_2019_U8/src/tbb/governor.cpp\r\ng++ -o market.o -c -MMD -O2 -DUSE_WINTHREAD -D_WIN32_WINNT=0x0502 -DMINGW_HAS_SECURE_API=1 -DMSVCRT_VERSION=0x0700 -msse -mthreads -m64 -mrtm -DTBB_BUILD=1 -Wall -Wno-parentheses -Wno-uninitialized -Wno-non-virtual-dtor -std=c++1y -I../tbb_2019_U8/src -I../tbb_2019_U8/src/rml/include -I../tbb_2019_U8/include ../tbb_2019_U8/src/tbb/market.cpp\r\ng++ -o arena.o -c -MMD -O2 -DUSE_WINTHREAD -D_WIN32_WINNT=0x0502 -DMINGW_HAS_SECURE_API=1 -DMSVCRT_VERSION=0x0700 -msse -mthreads -m64 -mrtm -DTBB_BUILD=1 -Wall -Wno-parentheses -Wno-uninitialized -Wno-non-virtual-dtor -std=c++1y -I../tbb_2019_U8/src -I../tbb_2019_U8/src/rml/include -I../tbb_2019_U8/include ../tbb_2019_U8/src/tbb/arena.cpp\r\ng++ -o scheduler.o -c -MMD -O2 -DUSE_WINTHREAD -D_WIN32_WINNT=0x0502 -DMINGW_HAS_SECURE_API=1 -DMSVCRT_VERSION=0x0700 -msse -mthreads -m64 -mrtm -DTBB_BUILD=1 -Wall -Wno-parentheses -Wno-uninitialized -Wno-non-virtual-dtor -std=c++1y -I../tbb_2019_U8/src -I../tbb_2019_U8/src/rml/include -I../tbb_2019_U8/include ../tbb_2019_U8/src/tbb/scheduler.cpp\r\ng++ -o observer_proxy.o -c -MMD -O2 -DUSE_WINTHREAD -D_WIN32_WINNT=0x0502 -DMINGW_HAS_SECURE_API=1 -DMSVCRT_VERSION=0x0700 -msse -mthreads -m64 -mrtm -DTBB_BUILD=1 -Wall -Wno-parentheses -Wno-uninitialized -Wno-non-virtual-dtor -std=c++1y -I../tbb_2019_U8/src -I../tbb_2019_U8/src/rml/include -I../tbb_2019_U8/include ../tbb_2019_U8/src/tbb/observer_proxy.cpp\r\ng++ -o tbb_statistics.o -c -MMD -O2 -DUSE_WINTHREAD -D_WIN32_WINNT=0x0502 -DMINGW_HAS_SECURE_API=1 -DMSVCRT_VERSION=0x0700 -msse -mthreads -m64 -mrtm -DTBB_BUILD=1 -Wall -Wno-parentheses -Wno-uninitialized -Wno-non-virtual-dtor -std=c++1y -I../tbb_2019_U8/src -I../tbb_2019_U8/src/rml/include -I../tbb_2019_U8/include ../tbb_2019_U8/src/tbb/tbb_statistics.cpp\r\ng++ -o tbb_main.o -c -MMD -O2 -DUSE_WINTHREAD -D_WIN32_WINNT=0x0502 -DMINGW_HAS_SECURE_API=1 -DMSVCRT_VERSION=0x0700 -msse -mthreads -m64 -mrtm -DTBB_BUILD=1 -Wall -Wno-parentheses -Wno-uninitialized -Wno-non-virtual-dtor -std=c++1y -I../tbb_2019_U8/src -I../tbb_2019_U8/src/rml/include -I../tbb_2019_U8/include ../tbb_2019_U8/src/tbb/tbb_main.cpp\r\ng++ -o concurrent_vector_v2.o -c -MMD -O2 -DUSE_WINTHREAD -D_WIN32_WINNT=0x0502 -DMINGW_HAS_SECURE_API=1 -D__MSVCRT_VERSION=0x0700 -msse -mthreads -m64 -mrtm -DTBB_BUILD=1 -Wall -Wno-parentheses -Wno-uninitialized -Wno-non-virtual-dtor -std=c++1y -I../tbb_2019_U8/src -I../tbb_2019_U8/src/rml/include -I../tbb_2019_U8/include ../tbb_2019_U8/src/old/concurrent_vector_v2.cpp\r\ng++ -o concurrent_queue_v2.o -c -MMD -O2 -DUSE_WINTHREAD -D_WIN32_WINNT=0x0502 -DMINGW_HAS_SECURE_API=1 -D__MSVCRT_VERSION=0x0700 -msse -mthreads -m64 -mrtm -DTBB_BUILD=1 -Wall -Wno-parentheses -Wno-uninitialized -Wno-non-virtual-dtor -std=c++1y -I../tbb_2019_U8/src -I../tbb_2019_U8/src/rml/include -I../tbb_2019_U8/include ../tbb_2019_U8/src/old/concurrent_queue_v2.cpp\r\ng++ -o spin_rw_mutex_v2.o -c -MMD -O2 -DUSE_WINTHREAD -D_WIN32_WINNT=0x0502 -DMINGW_HAS_SECURE_API=1 -DMSVCRT_VERSION=0x0700 -msse -mthreads -m64 -mrtm -DTBB_BUILD=1 -Wall -Wno-parentheses -Wno-uninitialized -Wno-non-virtual-dtor -std=c++1y -I../tbb_2019_U8/src -I../tbb_2019_U8/src/rml/include -I../tbb_2019_U8/include ../tbb_2019_U8/src/old/spin_rw_mutex_v2.cpp\r\ng++ -o task_v2.o -c -MMD -O2 -DUSE_WINTHREAD -D_WIN32_WINNT=0x0502 -DMINGW_HAS_SECURE_API=1 -DMSVCRT_VERSION=0x0700 -msse -mthreads -m64 -mrtm -DTBB_BUILD=1 -Wall -Wno-parentheses -Wno-uninitialized -Wno-non-virtual-dtor -std=c++1y -I../tbb_2019_U8/src -I../tbb_2019_U8/src/rml/include -I../tbb_2019_U8/include ../tbb_2019_U8/src/old/task_v2.cpp\r\ncmd /C \"..\tbb_2019_U8\build\generate_tbbvars.bat\"\r\nGenerating local tbbvars.bat\r\nGenerating local tbbvars.sh\r\nGenerating local tbbvars.csh\r\ng++ -E -x c++ ../tbb_2019_U8/src/tbb/win64-gcc-tbb-export.def -O2 -DUSE_WINTHREAD -D_WIN32_WINNT=0x0502 -DMINGW_HAS_SECURE_API=1 -DMSVCRT_VERSION=0x0700 -msse -mthreads -m64 -mrtm -DTBB_BUILD=1 -Wall -Wno-parentheses -Wno-uninitialized -Wno-non-virtual-dtor -I../tbb_2019_U8/src -I../tbb_2019_U8/src/rml/include -I../tbb_2019_U8/include > tbb.def\r\ng++ -o tbb.dll concurrent_hash_map.o concurrent_queue.o concurrent_vector.o dynamic_link.o itt_notify.o cache_aligned_allocator.o pipeline.o queuing_mutex.o queuing_rw_mutex.o reader_writer_lock.o spin_rw_mutex.o x86_rtm_rw_mutex.o spin_mutex.o critical_section.o mutex.o recursive_mutex.o condition_variable.o tbb_thread.o concurrent_monitor.o semaphore.o private_server.o rml_tbb.o tbb_misc.o tbb_misc_ex.o task.o task_group_context.o governor.o market.o arena.o scheduler.o observer_proxy.o tbb_statistics.o tbb_main.o concurrent_vector_v2.o concurrent_queue_v2.o spin_rw_mutex_v2.o task_v2.o -lpsapi -shared -m64 -Wl,-L,\"C:/Users/vanes/Documents/.cmdstanr/cmdstan-2.23.0/stan/lib/stan_math/lib/tbb\" -Wl,-rpath,\"C:/Users/vanes/Documents/.cmdstanr/cmdstan-2.23.0/stan/lib/stan_math/lib/tbb\" -Wl,--version-script,tbb.def\r\nmingw32-make[1]: Leaving directory 'C:/Users/vanes/Documents/.cmdstanr/cmdstan-2.23.0/stan/lib/stan_math/lib/tbb'\r\n\nNOTE: Please add C:/Users/vanes/Documents/.cmdstanr/cmdstan-2.23.0/stan/lib/stan_math/lib/tbb to your PATH variable.\nYou may call\n\nmingw32-make install-tbb\n\nto automatically update your user configuration.\n--- CmdStan v2.23.0 built ---\n"
$stderr
[1] "INFO: Could not find files for the given pattern(s).\r\nar: creating stan/lib/stan_math/lib/sundials_5.2.0/lib/libsundials_nvecserial.a\r\nar: creating stan/lib/stan_math/lib/sundials_5.2.0/lib/libsundials_cvodes.a\r\nar: creating stan/lib/stan_math/lib/sundials_5.2.0/lib/libsundials_idas.a\r\nar: creating stan/lib/stan_math/lib/sundials_5.2.0/lib/libsundials_kinsol.a\r\nC:/Users/vanes/Documents/.cmdstanr/cmdstan-2.23.0/stan/lib/stan_math/lib/tbb_2019_U8/build/Makefile.tbb:28: CONFIG: cfg=release arch=intel64 compiler=gcc target=windows runtime=mingw4.9.3\r\ntask.o: duplicate section .rdata$_ZTIN3tbb4taskE[_ZTIN3tbb4taskE]' has different size\r\narena.o: duplicate section
.rdata$_ZTIN3tbb4taskE[_ZTIN3tbb4taskE]' has different size\r\nscheduler.o: duplicate section `.rdata$_ZTIN3tbb4taskE[_ZTIN3tbb4taskE]' has different size\r\n"
$timeout [1] FALSE
Yes, the output is long. But the main point is CmdStan v2.23.0 built ---
. So you are good.
You can now try the example.
library(cmdstanr)
file <- file.path(cmdstan_path(), "examples", "bernoulli", "bernoulli.stan")
mod <- cmdstan_model(file)
data_list <- list(N = 10, y = c(0,1,0,0,0,0,0,0,0,1))
fit <- mod$sample(
data = data_list,
seed = 123,
num_chains = 2,
num_cores = 2
)
Ah, got it! I assumed things hadn't worked, but the stan model indeed runs. Thanks so much!
Hi, I have similar problems installing cmdstan on Windows and haven't been able to find solutions on various fora.
For instance, running check_cmdstan_toolchain(fix = TRUE)
doesn't seem to help.
Error messages include:
mingw32-make[1]: *** [../tbb_2020.3/build/common_rules.inc:160: version_string.ver] Error 1 mingw32-make[1]: Leaving directory 'C:/Users/au479924/Documents/.cmdstanr/cmdstan-2.29.0/stan/lib/stan_math/lib/tbb' mingw32-make[1]: *** Deleting file 'version_string.ver' mingw32-make.exe: *** [stan/lib/stan_math/make/libraries:173: stan/lib/stan_math/lib/tbb/tbbmalloc.def] Error 2 mingw32-make.exe: *** Waiting for unfinished jobs....
Thanks in advance!
Summary: I'm getting errors installing cmdstan via cmdstanR on RStudio, following the guidelines here: https://mc-stan.org/cmdstanr/articles/cmdstanr.html. I have also tried installing cmdstan directly from github and get the same error messages, so I'm assuming it's a cmdstan issue.
Description: I'm running Windows 10, RTools 3.5 (and R 3.6.1, RStudio 1.2.5025 if that matters). My Path environment variables include C:\Rtools\bin and C:\Rtools\mingw_64\bin at the first two variables. g++ version is 4.9.3. I also tried reinstalling Rtools 3.5 but this did not help.
Current output: When running cmdstanr::install_cmdstan() in RStudio, I get the following output:
Warning message: There was a problem during installation. See the error message(s) above.
Current Version: v2.23.0
Thanks!