Skip to content

Conversation

@NicholasWTaylor
Copy link
Contributor

Update as needed for running Windows executables from Linux side with WSL, plus other updates:

  • add note to README about code availability
  • update requirement pmd_beamphysics -> openpmd_beamphysics
  • interpolate.py: run_cmd include optional t35 filename (needed for WSL, won't hurt other use cases)
  • superfish.py: if self.use_container is False, just run windows cmd (rather than checking platform again)
  • writers.py: update deprecated np.complex -> complex
  • some comments added to examples about running on WSL or using custom container

Tested all examples using WSL with Windows executables as well as with WSL/Ubuntu using custom Docker container made according to instructions on https://github.com/hhslepicka/docker-poisson-superfish-nobin/

…s other updates:

 * add note to README about code availability
 * update openpmd_beamphysics requirement
 * interpolate.py: run_cmd include optional t35 filename (needed for WSL)
 * superfish.py: if self.use_container is False, run windows cmd (don't check platform again)
 * writers.py: update deprecated np.complex
 * some comments added to examples about running on WSL or using custom container
Copy link
Owner

@ChristopherMayes ChristopherMayes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thank you!

@ChristopherMayes ChristopherMayes merged commit d613645 into ChristopherMayes:master Apr 19, 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

Successfully merging this pull request may close these issues.

2 participants