WarpX
WarpX copied to clipboard
WarpX installation
I have installed WarpX on my windows PC using conda package using the commands given in the documentation. But it has not created any warpx executable file. I have some old input file from warp for space charge compensation studies (*.py file). I want to run that file in WarpX. I use to run the old warp in linux system by giving the command python3 *.py and it use to run, but npw how i can run that file in WarpX installed in windows. If you can have any video tutorial for installation on Windows PC is really useful.
Thanks for opening an issue, @Vyaghri-Sista!
I have installed WarpX on my windows PC using conda package using the commands given in the documentation. But it has not created any warpx executable file
The executable should be part of your PATH once you activate the conda environment.
Please print the PATH environment variable and look for new commands that are called warpx.3d.NOMPI.OMP.DP.PDP.OPMD.FFT.QED.exe etc.
https://github.com/conda-forge/warpx-feedstock/blob/fe333a9a2aed24b18268f60f895351d3968d95bf/recipe/meta.yaml#L79-L82
I have some old input file from warp for space charge compensation studies (*.py file). I want to run that file in WarpX.
The Python module will be available once you activate the conda environment as well. You run it as you spelled: python3 ....py. Here are many examples:
https://warpx.readthedocs.io/en/latest/usage/examples.html
Note that we cannot execute "old WARP" Python files, WarpX is a fully new code base and you will need to rewrite a bit please.
If you can have any video tutorial for installation on Windows PC is really useful.
We don't have video tutorials yet, but plan to add tutorials and maybe videos in the comijng year. Until then, please see our examples:
- https://warpx.readthedocs.io/en/latest/usage/examples.html
and our reference:
- https://warpx.readthedocs.io/en/latest/usage/python.html
in our manual.
Here is an example video how to use conda on Windows: https://www.youtube.com/watch?v=sDCtY9Z1bqE (I just picked one from YouTube that appears sensible, but there are more. And there is a good documentation [1] [2].)
Once your Conda on Windows is set up, use these steps to get WarpX: https://warpx.readthedocs.io/en/latest/install/users.html#using-the-conda-package
Whenever you activate the warpx conda environment from this link, you will have access to the WarpX executables and Python (PICMI) modules.