Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

smilei_test passed, but actual run failed #692

Closed
fyli16 opened this issue Jan 28, 2024 · 5 comments
Closed

smilei_test passed, but actual run failed #692

fyli16 opened this issue Jan 28, 2024 · 5 comments

Comments

@fyli16
Copy link
Contributor

fyli16 commented Jan 28, 2024

Hi, I am switching to the latest v5.0 and compiled the code using impi, intel, and python2. For my example input deck, smilei_test check passed with the output
smilei_test.txt
But the actual run failed with the output
actual_run.txt
Looks like it is caused by Python but not sure. Any comments would be greatly appreciated.

@fyli16 fyli16 added the bug label Jan 28, 2024
@mccoys
Copy link
Contributor

mccoys commented Jan 29, 2024

Your python version is too old. Make sure you specify PYTHONEXE=python3 in your environment

@fyli16
Copy link
Contributor Author

fyli16 commented Jan 29, 2024

OK, thanks. Now compiled using Python3 (3.9.2). No problems with compiling, smilei_test run, but again failed at actual run with the following error. Seems it suggest database file issue. Any specific Python version should I work with for this latest smilei? Anything I should modify before I compile the code, e.g. the file scripts/compile_tools/python-config.py?

image

@mccoys
Copy link
Contributor

mccoys commented Jan 29, 2024

It is as if your python could not create the file. I think I saw something similar recently but can't remember exactly.

Have you deleted your folder before launching a new simulation?

Or, could you try, from your environment, to write something using the python module p pickle or shelve?

@charlesprouveur
Copy link
Contributor

Also, did you run the new executable in a new folder? (a previous smilei.py in the execution folder can also be a problem)

@fyli16
Copy link
Contributor Author

fyli16 commented Jan 29, 2024

It works by starting a new folder, thank you for helping! I am closing it now.

@fyli16 fyli16 closed this as completed Jan 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants