Closed abhishekdbihani closed 2 years ago
Hi @abhishekdbihani, please make sure you have installed WLS if running on Windows along with a compatible compiler. I don't have a Windows machine to test on, but a few of my co-workers have had success with running through WLS. Let me know if this works!
I was running the examples in VScode on Windows and I ran into the following issues. (Some of them might be specific to my installation but documenting them here anyway)
sim_directory=sim_directory.replace("\\","/")
on line 37 in 2_phase_sim.py helped solve issue(/bin/bash: C:/xx/MPLBM-UT/input/run_shanchen_sim.sh: No such file or directory
). Code continued to run function run_rel_perm_sim before throwing an error when no rho was found. Adding an exception for error here might be a good idea.Palabos IO exception: Element rho_f2_f not found in XML file.
Edit: Changed integrated terminal from powershell to bash by adding { "terminal.integrated.shell.windows": "C:\Windows\sysnative\bash.exe" } in settings.json in folder .vscode. This solved some issues but .sh file was still not detected