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

WarpX installation #5228

Open
Vyaghri-Sista opened this issue Sep 8, 2024 · 2 comments
Open

WarpX installation #5228

Vyaghri-Sista opened this issue Sep 8, 2024 · 2 comments
Assignees
Labels
install machine / system Machine or system-specific issue question Further information is requested

Comments

@Vyaghri-Sista
Copy link

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.

@ax3l ax3l added question Further information is requested install labels Sep 10, 2024
@ax3l
Copy link
Member

ax3l commented Sep 10, 2024

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:

and our reference:

in our manual.

@ax3l
Copy link
Member

ax3l commented Sep 10, 2024

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.

@ax3l ax3l added the machine / system Machine or system-specific issue label Sep 10, 2024
@ax3l ax3l self-assigned this Sep 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
install machine / system Machine or system-specific issue question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants