Closed jtcooper10 closed 1 year ago
Good luck reading this. It's definitely having a permission error creating a tempfile. I think that makes sense, because it looks like it's trying to make it in C:/WINDOWS which I assume is not allowed. The only thing I can think of is that I did not use venv to install scons, so it thinks that it has administrator access. Also I'm using mingw64 if that matters.
I am not sure what \r\scons
is.
Here's the important part: "name": "SimulationError", "message": "<class 'gillespy2.solvers.cpp.ssa_c_solver.SSACSolver'> is not a valid solver. Reason Given: Error encountered during execution of Makefile target: 'ssa'.\nReturn code: 2- stdout: scons: Entering directory `C:\Users\mdip2\AppData\Local\Temp\gillespy2_build_695gskgr'\r\nscons: Reading SConscript files ...\r\nscons: done reading SConscript files.\r\nscons: Building targets ...\r\ng++ -o gillespy2_obj\arg_parser.o -c -std=c++14 -IC:\Users\mdip2\Projects\GillesPy2\gillespy2\solvers\cpp\c_base -Igillespy2_template -IC:\Users\mdip2\Projects\GillesPy2\gillespy2\solvers\cpp\c_base\Sundials\include -IC:\Users\mdip2\Projects\GillesPy2\gillespy2\solvers\cpp\c_base\Tau C:\Users\mdip2\Projects\GillesPy2\gillespy2\solvers\cpp\c_base\arg_parser.cpp\r\nscons: building terminated because of errors.\r\n\n- stderr: Cannot create temporary file in C:\WINDOWS\: Permission denied\r\nscons: *** [gillespy2_obj\arg_parser.o] Error 3\r\n\n- make_cmd: ['C:\\Users\\mdip2\\AppData\\Local\\Microsoft\\WindowsApps\\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\\python.exe', '-m', 'SCons', '-CC:\\Users\\mdip2\\AppData\\Local\\Temp\\gillespy2_build_695gskgr', '-fC:\\Users\\mdip2\\Projects\\GillesPy2\\gillespy2\\solvers\\cpp\\build\\SConstruct', 'CBASE_DIR=C:\\Users\\mdip2\\Projects\\GillesPy2\\gillespy2\\solvers\\cpp\\c_base', 'OBJ_DIR=C:\\Users\\mdip2\\AppData\\Local\\Temp\\gillespy2_build_695gskgr\\gillespy2_obj', 'TEMPLATE_DIR=C:\\Users\\mdip2\\AppData\\Local\\Temp\\gillespy2_build_695gskgr\\gillespy2_template', 'SOLVER=ssa', 'OUTPUT_FILE=C:\\Users\\mdip2\\AppData\\Local\\Temp\\gillespy2_build_695gskgr\\GillesPy2_Simulation.exe']\n- os.listdir(C:\Users\mdip2\Projects\GillesPy2\gillespy2\solvers\cpp\c_base\template): ['template.cpp', 'template.h', 'template_defaults.h', 'template_definitions.h', 'template_opts.h', 'template_params.h']\n."
Good luck reading this. It's definitely having a permission error creating a tempfile. I think that makes sense, because it looks like it's trying to make it in C:/WINDOWS which I assume is not allowed. The only thing I can think of is that I did not use venv to install scons, so it thinks that it has administrator access. Also I'm using mingw64 if that matters.
I am not sure what
\r\scons
is.
This doesn't really tell me anything, what's the context? This looks like it's JSONify output, I'm guessing this is related to compute?
And the \r\nscons
is just a Win32-style line feed followed before the scons command
This was when I was trying to run StartHere.ipynb (not compute) on windows, by bad I should have included more info. Does the scons python package require the windows executable scons.exe to be installed?
On Mon, Oct 17, 2022, 08:52 Joshua Cooper @.***> wrote:
Good luck reading this. It's definitely having a permission error creating a tempfile. I think that makes sense, because it looks like it's trying to make it in C:/WINDOWS which I assume is not allowed. The only thing I can think of is that I did not use venv to install scons, so it thinks that it has administrator access. Also I'm using mingw64 if that matters.
I am not sure what \r\scons is.
out.txt https://github.com/StochSS/GillesPy2/files/9795986/out.txt
This doesn't really tell me anything, what's the context? This looks like it's JSONify output, I'm guessing this is related to compute?
And the \r\nscons is just a Win32-style line feed followed before the scons command
— Reply to this email directly, view it on GitHub https://github.com/StochSS/GillesPy2/pull/879#issuecomment-1280812864, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMIVBA7YOEDUOZKOCCOHOHLWDVDYXANCNFSM6AAAAAARAYDCTU . You are receiving this because your review was requested.Message ID: @.***>
Its the error message produced by Jupyter, opened in a text editor cuz the error message was big
On Mon, Oct 17, 2022, 09:46 Matt Dippel @.***> wrote:
This was when I was trying to run StartHere.ipynb (not compute) on windows, by bad I should have included more info. Does the scons python package require the windows executable scons.exe to be installed?
On Mon, Oct 17, 2022, 08:52 Joshua Cooper @.***> wrote:
Good luck reading this. It's definitely having a permission error creating a tempfile. I think that makes sense, because it looks like it's trying to make it in C:/WINDOWS which I assume is not allowed. The only thing I can think of is that I did not use venv to install scons, so it thinks that it has administrator access. Also I'm using mingw64 if that matters.
I am not sure what \r\scons is.
out.txt https://github.com/StochSS/GillesPy2/files/9795986/out.txt
This doesn't really tell me anything, what's the context? This looks like it's JSONify output, I'm guessing this is related to compute?
And the \r\nscons is just a Win32-style line feed followed before the scons command
— Reply to this email directly, view it on GitHub https://github.com/StochSS/GillesPy2/pull/879#issuecomment-1280812864, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMIVBA7YOEDUOZKOCCOHOHLWDVDYXANCNFSM6AAAAAARAYDCTU . You are receiving this because your review was requested.Message ID: @.***>
It was a hasty attempt that involved
I could definitely have not done something
Replacing the GNUMake-based build system with SCons, which is added as a Python dependency.
Still, only
g++
is supported as the C++ compiler, which requiresmingw
and GNU tools on Windows and MacOS. In the future, using SCons rather than Make will allow us to support a variety of platform compilers more easily.Changes
SConstruct
file and severalSConscript
filesMake
class to use-m SCons
instead ofmake