Skip to content

Commit

Permalink
last idea
Browse files Browse the repository at this point in the history
  • Loading branch information
JohannesKarwou authored May 16, 2024
1 parent 7c71389 commit b18edd1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions transformato/analysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,10 +150,10 @@ def _generate_openMM_system(self, env: str, lambda_state: int) -> Simulation:
logger.info("We are using CUDA")
platform = Platform.getPlatformByName("CUDA")
simulation = Simulation(psf.topology, system, integrator, platform)
elif self.configuration["simulation"]["GPU"].upper() == "CUDA":
logger.info("We are using CUDA")
platform = Platform.getPlatformByName("CUDA")
simulation = Simulation(psf.topology, system, integrator, platform)
# elif self.configuration["simulation"]["GPU"].upper() == "CUDA":
# logger.info("We are using CUDA")
# platform = Platform.getPlatformByName("CUDA")
# simulation = Simulation(psf.topology, system, integrator, platform)
# except AttributeError:
else:
logger.info("We are using CPU")
Expand Down

0 comments on commit b18edd1

Please sign in to comment.