No file in mesh directory
See original GitHub issueHi Jean, I was able to get the singularity image working and I can properly import everything however I believe that there was some type of problem with how I have gmsh setup.
These are the files in the current directory:
ls
fenics-and-more.img
Cylinder2DFlowControlDRL-master gmsh-3.0.6-Linux64
And this is the command I ran to setup singularity and gmsh:
singularity shell fenics-and-more.img -c "export DISPLAY=:0.0 && export PATH="gmsh-3.0.6-Linux64/bin:$PATH" && /bin/bash"
Then I ran single_runner.py in the empty_simulation folder to get this error output.
IOError Traceback (most recent call last)
<ipython-input-2-6dc4ee2a2e60> in <module>()
20 printi("resume env")
21
---> 22 environment = resume_env(dump=10, single_run=True)
23 deterministic=True
24
/home/vagrant/vboxshare/Cylinder2DFlowControlDRL-master/Cylinder2DFlowControlWithRL/empty_simulation/env.pyc in resume_env(plot, step, dump, remesh, random_start, single_run)
179 reward_function=reward_function,
180 number_steps_execution=number_steps_execution,
--> 181 simu_name = simu_name)
182
183 return(env_2d_cylinder)
/home/vagrant/vboxshare/Cylinder2DFlowControlDRL-master/Cylinder2DFlowControlWithRL/empty_simulation/../Env2DCylinder.pyc in __init__(self, path_root, geometry_params, flow_params, solver_params, output_params, optimization_params, inspection_params, n_iter_make_ready, verbose, size_history, reward_function, size_time_state, number_steps_execution, simu_name)
130 self.initialized_visualization = False
131
--> 132 self.start_class(complete_reset=True)
133
134 printi("--- done init ---")
/home/vagrant/vboxshare/Cylinder2DFlowControlDRL-master/Cylinder2DFlowControlWithRL/empty_simulation/../Env2DCylinder.pyc in start_class(self, complete_reset)
203 printi("Load buffer history")
204
--> 205 with open('mesh/dict_history_parameters.pkl', 'rb') as f:
206 self.history_parameters = pickle.load(f)
207
IOError: [Errno 2] No such file or directory: 'mesh/dict_history_parameters.pkl'
It can’t find some file that is supposed to be in the mesh folder, my best guess is that gmsh isn’t generating the file that it is looking for. But I don’t know what I could have done incorrectly with gmsh. Thanks for the help
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
FCS says mesh file is not in right directory? :: Kenshi Modding
... that my mesh file is not in the mod directory or game directory which isnt true. fcs has never given me this...
Read more >Help with mesh folder location : r/Taleoftwowastelands - Reddit
Problem is between in being installed in a non programs file and associating it with ttw and mo2 I cannot find where the...
Read more >[blockMesh] Cannot open mesh description file - CFD Online
Hello javadrasooli, the problem is, that there is no blockMeshDict file in the polyMesh folder. Have you checked it? I am not sure,...
Read more >Poisson reconstruction: working folder not writeable
Hello,. I've cloned Meshlab 2016 from GIT for my Ubtuntu 16.04. Then I followed the instructions from the readme file: installed qt5.7.0, ...
Read more >Butterfly cfd outdoor 3d error: cannot find file poitns in directory ...
Cannot find file points in directory polymesh in times 0 down to constant. what does this mean? The model file is from sketch...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thank you I did setup gmsh incorrectly and after adding to the path variable correctly I now can run the provided training sessions. The mistake I made was when I set my path variable it did not go from the root directory to the gmsh folder and instead went from the directory I started the singularity shell .
https://github.com/jerabaul29/Cylinder2DFlowControlDRL/issues/4