could not run examples
I tried to run examples but got errors as:
rats We have to compile the model first... compile: 'cut' is not recognized as an internal or external command, compile: operable program or batch file. compile: 'cut' is not recognized as an internal or external command, compile: operable program or batch file. compile: File not found - cvodes.hpp compile: File not found - idas.hpp compile: File not found - kinsol.hpp compile: File not found - *_inst.cpp compile: File not found - *_def.cpp compile: INFO: Could not find files for the given pattern(s). compile: File not found - *.hpp compile: cc1plus.exe: sorry, unimplemented: 64-bit mode not compiled in compile: 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_4.1.0/include -D_USE_MATH_DEFINES -DBOOST_DISABLE_ASSERTS -c -MT src/cmdstan/stanc.o -M -E -MG -MP -MF src/cmdstan/stanc.d src/cmdstan/stanc.cpp compile: 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_4.1.0/include -D_USE_MATH_DEFINES -DBOOST_DISABLE_ASSERTS -c -MT src/cmdstan/main.o -M -E -MG -MP -MF src/cmdstan/main.d src/cmdstan/main.cpp compile: cc1plus.exe: sorry, unimplemented: 64-bit mode not compiled in compile: cc1plus.exe: sorry, unimplemented: 64-bit mode not compiled in compile: 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_4.1.0/include -D_USE_MATH_DEFINES -DBOOST_DISABLE_ASSERTS -c -MT D:/MatlabStan/Examples/rats.o -MT D:/MatlabStan/Examples/rats.exe -include D:/MatlabStan/Examples/rats.hpp -include src/cmdstan/main.cpp -M -E -MG -MP -MF D:/MatlabStan/Examples/rats.d D:/MatlabStan/Examples/rats.hpp compile: make: *** No rule to make target 'D:/MatlabStan/Examples/rats.d', needed by 'D:/MatlabStan/Examples/rats.exe'. Stop. Compile failed with exit value: 2 Error using StanModel/compile (line 1014) compile: 'cut' is not recognized as an internal or external command, compile: operable program or batch file. compile: 'cut' is not recognized as an internal or external command, compile: operable program or batch file. compile: File not found - cvodes.hpp compile: File not found - idas.hpp compile: File not found - kinsol.hpp compile: File not found - *_inst.cpp compile: File not found - *_def.cpp compile: INFO: Could not find files for the given pattern(s). compile: File not found - *.hpp compile: cc1plus.exe: sorry, unimplemented: 64-bit mode not compiled in compile: cc1plus.exe: sorry, unimplemented: 64-bit mode not compiled in compile: cc1plus.exe: sorry, unimplemented: 64-bit mode not compiled in compile: make: *** No rule to make target 'D:/MatlabStan/Examples/rats.d', needed by 'D:/MatlabStan/Examples/rats.exe'. Stop.
Error in StanModel/sampling (line 778) self.compile('model');
Error in stan (line 146) fit = model.sampling(p.Unmatched);
Error in rats (line 20) fit = stan('file','rats.stan','data',rats_dat,'verbose',true);
variational compile: 'cut' is not recognized as an internal or external command, compile: operable program or batch file. compile: 'cut' is not recognized as an internal or external command, compile: operable program or batch file. compile: File not found - cvodes.hpp compile: File not found - idas.hpp compile: File not found - kinsol.hpp compile: File not found - *_inst.cpp compile: File not found - *_def.cpp compile: INFO: Could not find files for the given pattern(s). compile: File not found - *.hpp compile: cc1plus.exe: sorry, unimplemented: 64-bit mode not compiled in compile: 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_4.1.0/include -D_USE_MATH_DEFINES -DBOOST_DISABLE_ASSERTS -c -MT src/cmdstan/stanc.o -M -E -MG -MP -MF src/cmdstan/stanc.d src/cmdstan/stanc.cpp compile: 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_4.1.0/include -D_USE_MATH_DEFINES -DBOOST_DISABLE_ASSERTS -c -MT src/cmdstan/main.o -M -E -MG -MP -MF src/cmdstan/main.d src/cmdstan/main.cpp compile: cc1plus.exe: sorry, unimplemented: 64-bit mode not compiled in compile: '' compile: '--- Translating Stan model to C++ code ---' compile: bin/stanc.exe --o=D:/MatlabStan/Examples/anon_model.hpp D:/MatlabStan/Examples/anon_model.stan compile: Warning: deprecated language construct used in 'D:/MatlabStan/Examples/anon_model.stan', line 14, column 14: compile: ------------------------------------------------- compile: 12: real theta[J]; compile: 13: for (j in 1:J) compile: 14: theta[j] <- mu + tau * eta[j]; compile: ^ compile: 15: } compile: 16: model { compile: ------------------------------------------------- compile: assignment operator <- is deprecated in the Stan language; use = instead. compile: cc1plus.exe: sorry, unimplemented: 64-bit mode not compiled in compile: 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_4.1.0/include -D_USE_MATH_DEFINES -DBOOST_DISABLE_ASSERTS -c -MT D:/MatlabStan/Examples/anon_model.o -MT D:/MatlabStan/Examples/anon_model.exe -include D:/MatlabStan/Examples/anon_model.hpp -include src/cmdstan/main.cpp -M -E -MG -MP -MF D:/MatlabStan/Examples/anon_model.d D:/MatlabStan/Examples/anon_model.hpp Compile failed with exit value: 2 Error using StanModel/compile (line 1014) compile: 'cut' is not recognized as an internal or external command, compile: operable program or batch file. compile: 'cut' is not recognized as an internal or external command, compile: operable program or batch file. compile: File not found - cvodes.hpp compile: File not found - idas.hpp compile: File not found - kinsol.hpp compile: File not found - *_inst.cpp compile: File not found - *_def.cpp compile: INFO: Could not find files for the given pattern(s). compile: File not found - *.hpp compile: cc1plus.exe: sorry, unimplemented: 64-bit mode not compiled in compile: cc1plus.exe: sorry, unimplemented: 64-bit mode not compiled in compile: Warning: deprecated language construct used in 'D:/MatlabStan/Examples/anon_model.stan', line 14, column 14: compile: ------------------------------------------------- compile: 12: real theta[J]; compile: 13: for (j in 1:J) compile: 14: theta[j] <- mu + tau * eta[j]; compile: ^ compile: 15: } compile: 16: model { compile: ------------------------------------------------- compile: assignment operator <- is deprecated in the Stan language; use = instead. compile: cc1plus.exe: sorry, unimplemented: 64-bit mode not compiled in
Error in variational (line 28) model.compile();
after added gnuwin32 to system, we got:
rats We have to compile the model first... compile: cut: the delimiter must be a single character compile: Try 'cut --help' for more information. compile: cut: the delimiter must be a single character compile: Try 'cut --help' for more information. compile: INFO: Could not find files for the given pattern(s). compile: cc1plus.exe: sorry, unimplemented: 64-bit mode not compiled in compile: 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 -Wno-int-in-bool-context -Wno-attributes -Wno-ignored-attributes -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.7 -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 -MT src/cmdstan/main.o -M -E -MG -MP -MF src/cmdstan/main.d src/cmdstan/main.cpp compile: The syntax of the command is incorrect. compile: make: *** [make/program:13: src/cmdstan/main.o] Error 1 compile: '' compile: '--- Compiling the main object file. This might take up to a minute. ---' Compile failed with exit value: 2 Error using StanModel/compile (line 1014) compile: cut: the delimiter must be a single character compile: Try 'cut --help' for more information. compile: cut: the delimiter must be a single character compile: Try 'cut --help' for more information. compile: INFO: Could not find files for the given pattern(s). compile: cc1plus.exe: sorry, unimplemented: 64-bit mode not compiled in compile: The syntax of the command is incorrect. compile: make: *** [make/program:13: src/cmdstan/main.o] Error 1
Error in StanModel/sampling (line 778) self.compile('model');
Error in stan (line 146) fit = model.sampling(p.Unmatched);
Error in rats (line 20) fit = stan('file','rats.stan','data',rats_dat,'verbose',true);
replaced with MinGW\msys\1.0\bin, the 'cut' is passed, however:
rats We have to compile the model first... compile: INFO: Could not find files for the given pattern(s). compile: 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 -Wno-int-in-bool-context -Wno-attributes -Wno-ignored-attributes -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.7 -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 -MT src/cmdstan/main.o -M -E -MG -MP -MF src/cmdstan/main.d src/cmdstan/main.cpp compile: cc1plus.exe: sorry, unimplemented: 64-bit mode not compiled in compile: --- Compiling the main object file. This might take up to a minute. --- compile: 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 -Wno-int-in-bool-context -Wno-attributes -Wno-ignored-attributes -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.7 -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 compile: cc1plus.exe: sorry, unimplemented: 64-bit mode not compiled in compile: make: *** [make/program:14: src/cmdstan/main.o] Error 1 Compile failed with exit value: 2 Error using StanModel/compile (line 1014) compile: INFO: Could not find files for the given pattern(s). compile: cc1plus.exe: sorry, unimplemented: 64-bit mode not compiled in compile: cc1plus.exe: sorry, unimplemented: 64-bit mode not compiled in compile: make: *** [make/program:14: src/cmdstan/main.o] Error 1
Error in StanModel/sampling (line 778) self.compile('model');
Error in stan (line 146) fit = model.sampling(p.Unmatched);
Error in rats (line 20) fit = stan('file','rats.stan','data',rats_dat,'verbose',true);
variational compile: INFO: Could not find files for the given pattern(s). compile: 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 -Wno-int-in-bool-context -Wno-attributes -Wno-ignored-attributes -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.7 -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 -MT src/cmdstan/main.o -M -E -MG -MP -MF src/cmdstan/main.d src/cmdstan/main.cpp compile: cc1plus.exe: sorry, unimplemented: 64-bit mode not compiled in compile: --- Compiling the main object file. This might take up to a minute. --- compile: cc1plus.exe: sorry, unimplemented: 64-bit mode not compiled in compile: make: *** [make/program:14: src/cmdstan/main.o] Error 1 compile: 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 -Wno-int-in-bool-context -Wno-attributes -Wno-ignored-attributes -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.7 -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 Compile failed with exit value: 2 Error using StanModel/compile (line 1014) compile: INFO: Could not find files for the given pattern(s). compile: cc1plus.exe: sorry, unimplemented: 64-bit mode not compiled in compile: cc1plus.exe: sorry, unimplemented: 64-bit mode not compiled in compile: make: *** [make/program:14: src/cmdstan/main.o] Error 1
Error in variational (line 28) model.compile();
I have the same issue here!
hellor,I have the same error ,do you solve this issue, if you did,can you tell me how to solve this issue ,thank you very much