Skip to content

Commit

Permalink
Set MAX_JOBS and fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Flamefire committed Jul 23, 2020
1 parent b7761e1 commit 919d22b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion easybuild/easyblocks/p/pytorch.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,8 @@ def configure_step(self):
super(EB_PyTorch, self).configure_step()

options = ['PYTORCH_BUILD_VERSION=' + self.version, 'PYTORCH_BUILD_NUMBER=1']
# Restrict parallelism
options.append('MAX_JOBS=%(parallel)s')

# BLAS Interface
if get_software_root('imkl'):
Expand All @@ -94,7 +96,7 @@ def configure_step(self):
# 'Eigen', 'GoogleBenchmark'
if 'protobuf' in dependency_names:
options.append('BUILD_CUSTOM_PROTOBUF=0')
# Always us Infiniband
# Always use Infiniband
options.append('USE_IBVERBS=1')

cudnn_root = get_software_root('cuDNN')
Expand Down

0 comments on commit 919d22b

Please sign in to comment.