Closed cstyl closed 1 year ago
I think I was creating the simulations.db
without connecting the .sql
file to it hence why I was getting the sqlite3.OperationalError: no such table:
error. However, at the server side now I end up with the following:
- - [27/Jul/2023 11:16:39] "POST /simulation/CDFD HTTP/1.1" 201 -
Exception in thread Thread-2:
Traceback (most recent call last):
File "/nvme/h/cy21cs1/miniconda3/envs/windtunnel/lib/python3.7/threading.py", line 926, in _bootstrap_inner
self.run()
File "/nvme/h/cy21cs1/wee_archie/framework/server/simulation_runner.py", line 58, in run
executablefile = conn.getSimulationExecutable(self.kwargs['simid'])
File "/nvme/h/cy21cs1/wee_archie/framework/server/frameworkdb.py", line 111, in getSimulationExecutable
cursor.execute('SELECT ExecutionPrefix, ExecutionHostFile, Executable, ChangeToDir FROM Simulations WHERE SIMID=?', (simulationid, ))
sqlite3.OperationalError: no such column: ChangeToDir
In the .sql
file though there is no such column.
Hi,
I have been trying to run the windyunnel example but instead of using a Raspberry Pi Cluster I am using a supercomputer, again with login and compute nodes.
I have followed the process as discussed in the
Readme.md
and adapted thehostfile
etc accordingly to match the information of my system. Note that I am launching an interactive job and use the name of that node to the hostfile.However, I haven't really understood what the
simulations.db
should do and how to create one or what it should contain. At the moment I am creating an empty on bysqlite3 simulations.db
and then exiting the file.When I try to run the GUI from my laptop such that it runs the simulation on the compute node of the interactive job, first the GUI shows up on my screen but when I click to run the simulation I get the following error on my local terminal:
and on the server side I see:
Any idea what might be of fault here? Also, could you please provide a bit more information about the
simulations.db
?Best Regards, Chris