ChristopherMayes / lume-astra

Python wrapper for Astra (A Space Charge Tracking Algorithm, DESY) for eventual use in LUME https://christophermayes.github.io/lume-astra/
https://christophermayes.github.io/lume-astra/
Apache License 2.0
14 stars 9 forks source link

Error message on windows #2

Closed hayg25 closed 3 years ago

hayg25 commented 3 years ago

dear All, we face some issues on windows machine. Astra runs and ends up with an error message

Press return to continue...
Run Aborted Command '['D:\\dcgun\\Astra.exe', 'D:/dcgun/astra.in']' returned non-zero exit status 24.
{'start_time': 1616163965.262801, 'run_script': 'D:\\dcgun\\Astra.exe D:/dcgun/astra.in', 'why_error': "Command '['D:\\\\dcgun\\\\Astra.exe', 'D:/dcgun/astra.in']' returned non-zero exit status 24.", 'run_time': 10.550769329071045, 'run_error': True}

under linux ou Mac we face no particular problem.

Thanks for the help

hhslepicka commented 3 years ago

@hayg25 I was able to reproduce the issue locally using a Windows Virtual Machine and the example files. We will investigate the issue.