Open mathaefele opened 4 years ago
When trying to use pdwfs with a simulation and post processing code in python 2.x, it does not work. I get:
[PDWFS][6865][ERROR][C] ferror not implemented by pdwfs
However, it works with python 3.
python_issue.zip
unzip python_issue.zip cd py ./launch.sh
A file named pyres should be created and should contain
Hello World 0 Hello world 0 [0 1 2 3 4 5 6]
Running on Ubuntu 18.04.3 LTS, with python 2.7.15+
Thanks for the issue Mat! We are looking into how to implement the ferror behaviour to make this work.
I just merged PR #5 into develop which should fix this issue.
Describe the bug
When trying to use pdwfs with a simulation and post processing code in python 2.x, it does not work. I get:
However, it works with python 3.
To Reproduce
python_issue.zip
Expected behavior
A file named pyres should be created and should contain
Additional context
Running on Ubuntu 18.04.3 LTS, with python 2.7.15+