Skip to content

Commit a0e4c19

Browse files
committed
[refactor:job_backend] Use Slurm as the default job back-end
- The GC3Pie back-end for job management that has been the default so far is no longer actively supported. Use the Slurm back-end as default instead. - Add deprecation message when the GC3Pie class is instantiated. Issue: #4565
1 parent 36db0c7 commit a0e4c19

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

easybuild/tools/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@
9595
DEFAULT_ENV_FOR_SHEBANG = '/usr/bin/env'
9696
DEFAULT_ENVVAR_USERS_MODULES = 'HOME'
9797
DEFAULT_INDEX_MAX_AGE = 7 * 24 * 60 * 60 # 1 week (in seconds)
98-
DEFAULT_JOB_BACKEND = 'GC3Pie'
98+
DEFAULT_JOB_BACKEND = 'Slurm'
9999
DEFAULT_JOB_EB_CMD = 'eb'
100100
DEFAULT_LOGFILE_FORMAT = ("easybuild", "easybuild-%(name)s-%(version)s-%(date)s.%(time)s.log")
101101
DEFAULT_MAX_FAIL_RATIO_PERMS = 0.5

easybuild/tools/job/gc3pie.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,10 @@ def __init__(self, *args, **kwargs):
104104
def _check_version(self):
105105
"""Check whether GC3Pie version complies with required version."""
106106

107+
deprication_msg = "The GC3Pie job back-end is no longer maintained and will be deprecated"
108+
deprication_msg += ", please use a different backend"
109+
_log.deprecated(deprication_msg, '5.0')
110+
107111
try:
108112
from pkg_resources import get_distribution, DistributionNotFound
109113
pkg = get_distribution('gc3pie')

0 commit comments

Comments
 (0)