You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
mkdir "folder_w_ _a_space"
cd folder_w_\ _a_space/
python3 -m venv venv
source venv/bin/activate
git clone https://github.com/StochSS/GillesPy2
pip install ./GillesPy2/
cd GillesPy2/examples/ExtraModels
Run and error:
python
Python 3.8.10 (default, Nov 26 2021, 20:14:08)
[GCC 9.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from tyson_oscillator import Tyson2StateOscillator
>>> model = Tyson2StateOscillator()
>>> from gillespy2 import TauHybridCSolver
>>> result = model.run(solver=TauHybridCSolver)
Traceback (most recent call last):
File "/home/brian/folder_w_ _a_space/venv/lib/python3.8/site-packages/gillespy2/core/model.py", line 1011, in run
return solver.run(model=self, t=t, increment=increment, timeout=timeout, **solver_args)
File "/home/brian/folder_w_ _a_space/venv/lib/python3.8/site-packages/gillespy2/solvers/cpp/tau_hybrid_c_solver.py", line 170, in run
self = TauHybridCSolver(model, resume=resume)
File "/home/brian/folder_w_ _a_space/venv/lib/python3.8/site-packages/gillespy2/solvers/cpp/c_solver.py", line 84, in __init__
self._set_model()
File "/home/brian/folder_w_ _a_space/venv/lib/python3.8/site-packages/gillespy2/solvers/cpp/c_solver.py", line 310, in _set_model
self._build(self.model, self.target, self.variable, False)
File "/home/brian/folder_w_ _a_space/venv/lib/python3.8/site-packages/gillespy2/solvers/cpp/tau_hybrid_c_solver.py", line 157, in _build
return super()._build(sanitized_model, simulation_name, variable, debug)
File "/home/brian/folder_w_ _a_space/venv/lib/python3.8/site-packages/gillespy2/solvers/cpp/c_solver.py", line 117, in _build
return self.build_engine.build_simulation(simulation_name)
File "/home/brian/folder_w_ _a_space/venv/lib/python3.8/site-packages/gillespy2/solvers/cpp/build/build_engine.py", line 164, in build_simulation
self.make.build_simulation(simulation_name, template_dir=str(self.template_dir))
File "/home/brian/folder_w_ _a_space/venv/lib/python3.8/site-packages/gillespy2/solvers/cpp/build/make.py", line 63, in build_simulation
self.__execute(simulation_name, **kwargs)
File "/home/brian/folder_w_ _a_space/venv/lib/python3.8/site-packages/gillespy2/solvers/cpp/build/make.py", line 93, in __execute
raise gillespyError.BuildError(f"Error encountered during execution of Makefile target: '{target}'.\n"
gillespy2.core.gillespyError.BuildError: Error encountered during execution of Makefile target: 'hybrid'.
Return code: 2- stdout: make: Entering directory '/home/brian/folder_w_ _a_space/venv/lib/python3.8/site-packages/gillespy2/solvers/cpp/c_base'
make: Leaving directory '/home/brian/folder_w_ _a_space/venv/lib/python3.8/site-packages/gillespy2/solvers/cpp/c_base'
- stderr: make: *** No rule to make target '/home/brian/folder_w_', needed by '/tmp/gillespy2_build_wsnb7e91/gillespy2_obj/model.o'. Stop.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/brian/folder_w_ _a_space/venv/lib/python3.8/site-packages/gillespy2/core/model.py", line 1022, in run
raise SimulationError(
gillespy2.core.gillespyError.SimulationError: argument 'solver=<class 'gillespy2.solvers.cpp.tau_hybrid_c_solver.TauHybridCSolver'>' to run() failed. Reason Given: Error encountered during execution of Makefile target: 'hybrid'.
Return code: 2- stdout: make: Entering directory '/home/brian/folder_w_ _a_space/venv/lib/python3.8/site-packages/gillespy2/solvers/cpp/c_base'
make: Leaving directory '/home/brian/folder_w_ _a_space/venv/lib/python3.8/site-packages/gillespy2/solvers/cpp/c_base'
- stderr: make: *** No rule to make target '/home/brian/folder_w_', needed by '/tmp/gillespy2_build_wsnb7e91/gillespy2_obj/model.o'. Stop.
The text was updated successfully, but these errors were encountered:
Setup:
Run and error:
The text was updated successfully, but these errors were encountered: