Skip to content

Commit

Permalink
Merge pull request #3505 from Thyre/close-quantumespresso-logger-early
Browse files Browse the repository at this point in the history
let internal easyblock not create a log file in QuantumESPRESSO easyblock
  • Loading branch information
boegel authored Dec 18, 2024
2 parents c222061 + 2e61705 commit 42f7994
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions easybuild/easyblocks/q/quantumespresso.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
@author: Kenneth Hoste (Ghent University)
@author: Ake Sandgren (HPC2N, Umea University)
@author: Davide Grassano (CECAM, EPFL)
@author: Jan Reuter (Juelich Supercomputing Centre)
"""

import fileinput
Expand Down Expand Up @@ -84,6 +85,8 @@ def __init__(self, ec, *args, **kwargs):

# Required to avoid CMakeMake default extra_opts to override the ConfigMake ones
new_ec = EasyConfig(ec.path, extra_options=eb.extra_options())
# Disable log file for nested EasyBlock
kwargs['logfile'] = self.logfile
self.ebclass = eb(new_ec, *args, **kwargs)

class EB_QuantumESPRESSOcmake(CMakeMake):
Expand Down

0 comments on commit 42f7994

Please sign in to comment.