Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow list of multiple architectures #11228

Merged
merged 2 commits into from
Aug 2, 2022
Merged

Allow list of multiple architectures #11228

merged 2 commits into from
Aug 2, 2022

Conversation

khurtado
Copy link
Contributor

@khurtado khurtado commented Jul 21, 2022

Fixes #10674

Status

In development

Description

  • Modify condor requirements to allow multiple architectures
  • Modify Scram class so that executors match the target architecture

Is it backward compatible (if not, which system it affects?)

YES

@cmsdmwmbot
Copy link

Jenkins results:

  • Python3 Unit tests: failed
    • 1 new failures
    • 1 tests no longer failing
    • 1 changes in unstable tests
  • Python3 Pylint check: failed
    • 7 warnings and errors that must be fixed
    • 4 warnings
    • 53 comments to review
  • Pylint py3k check: succeeded
  • Pycodestyle check: succeeded
    • 21 comments to review

Details at https://cmssdt.cern.ch/dmwm-jenkins/view/All/job/DMWM-WMCore-PR-test/13427/artifact/artifacts/PullRequestReport.html

@cmsdmwmbot
Copy link

Jenkins results:

  • Python3 Unit tests: failed
    • 3 new failures
    • 1 tests no longer failing
    • 1 changes in unstable tests
  • Python3 Pylint check: failed
    • 9 warnings and errors that must be fixed
    • 6 warnings
    • 99 comments to review
  • Pylint py3k check: succeeded
  • Pycodestyle check: succeeded
    • 28 comments to review

Details at https://cmssdt.cern.ch/dmwm-jenkins/view/All/job/DMWM-WMCore-PR-test/13428/artifact/artifacts/PullRequestReport.html

@cmsdmwmbot
Copy link

Jenkins results:

  • Python3 Unit tests: failed
    • 3 new failures
    • 1 tests no longer failing
  • Python3 Pylint check: failed
    • 9 warnings and errors that must be fixed
    • 6 warnings
    • 99 comments to review
  • Pylint py3k check: succeeded
  • Pycodestyle check: succeeded
    • 28 comments to review

Details at https://cmssdt.cern.ch/dmwm-jenkins/view/All/job/DMWM-WMCore-PR-test/13429/artifact/artifacts/PullRequestReport.html

@cmsdmwmbot
Copy link

Jenkins results:

  • Python3 Unit tests: failed
    • 137 new failures
    • 226 tests deleted
    • 4 changes in unstable tests
  • Python3 Pylint check: failed
    • 10 warnings and errors that must be fixed
    • 4 warnings
    • 53 comments to review
  • Pylint py3k check: succeeded
  • Pycodestyle check: succeeded
    • 31 comments to review

Details at https://cmssdt.cern.ch/dmwm-jenkins/view/All/job/DMWM-WMCore-PR-test/13457/artifact/artifacts/PullRequestReport.html

@cmsdmwmbot
Copy link

Jenkins results:

  • Python3 Unit tests: failed
    • 3 new failures
    • 1 changes in unstable tests
  • Python3 Pylint check: failed
    • 12 warnings and errors that must be fixed
    • 6 warnings
    • 100 comments to review
  • Pylint py3k check: succeeded
  • Pycodestyle check: succeeded
    • 30 comments to review

Details at https://cmssdt.cern.ch/dmwm-jenkins/view/All/job/DMWM-WMCore-PR-test/13459/artifact/artifacts/PullRequestReport.html

@cmsdmwmbot
Copy link

Jenkins results:

  • Python3 Unit tests: failed
    • 2 new failures
    • 2 changes in unstable tests
  • Python3 Pylint check: failed
    • 9 warnings and errors that must be fixed
    • 6 warnings
    • 100 comments to review
  • Pylint py3k check: succeeded
  • Pycodestyle check: succeeded
    • 30 comments to review

Details at https://cmssdt.cern.ch/dmwm-jenkins/view/All/job/DMWM-WMCore-PR-test/13460/artifact/artifacts/PullRequestReport.html

@cmsdmwmbot
Copy link

Jenkins results:

  • Python3 Unit tests: failed
    • 1 new failures
    • 1 changes in unstable tests
  • Python3 Pylint check: failed
    • 9 warnings and errors that must be fixed
    • 6 warnings
    • 103 comments to review
  • Pylint py3k check: succeeded
  • Pycodestyle check: succeeded
    • 32 comments to review

Details at https://cmssdt.cern.ch/dmwm-jenkins/view/All/job/DMWM-WMCore-PR-test/13461/artifact/artifacts/PullRequestReport.html

@cmsdmwmbot
Copy link

Jenkins results:

  • Python3 Unit tests: failed
    • 1 new failures
    • 2 changes in unstable tests
  • Python3 Pylint check: failed
    • 9 warnings and errors that must be fixed
    • 6 warnings
    • 103 comments to review
  • Pylint py3k check: succeeded
  • Pycodestyle check: succeeded
    • 34 comments to review

Details at https://cmssdt.cern.ch/dmwm-jenkins/view/All/job/DMWM-WMCore-PR-test/13463/artifact/artifacts/PullRequestReport.html

@cmsdmwmbot
Copy link

Jenkins results:

  • Python3 Unit tests: succeeded
    • 3 changes in unstable tests
  • Python3 Pylint check: failed
    • 9 warnings and errors that must be fixed
    • 6 warnings
    • 103 comments to review
  • Pylint py3k check: succeeded
  • Pycodestyle check: succeeded
    • 34 comments to review

Details at https://cmssdt.cern.ch/dmwm-jenkins/view/All/job/DMWM-WMCore-PR-test/13464/artifact/artifacts/PullRequestReport.html

@cmsdmwmbot
Copy link

Jenkins results:

  • Python3 Unit tests: succeeded
    • 3 changes in unstable tests
  • Python3 Pylint check: failed
    • 9 warnings and errors that must be fixed
    • 6 warnings
    • 103 comments to review
  • Pylint py3k check: succeeded
  • Pycodestyle check: succeeded
    • 34 comments to review

Details at https://cmssdt.cern.ch/dmwm-jenkins/view/All/job/DMWM-WMCore-PR-test/13466/artifact/artifacts/PullRequestReport.html

@khurtado
Copy link
Contributor Author

khurtado commented Aug 1, 2022

CMSSW and Python look healthy:

Local time: Sun Jul 31 16:29:24 CEST 2022
Hostname:   r234n01.m100.cineca.it
System:     Linux r234n01 4.18.0-147.13.2.el8_1.ppc64le #1 SMP Wed May 13 15:23:36 UTC 2020 ppc64le ppc64le ppc64le GNU/Linux
Arguments:  spiga_TC_SLC7_Marconi_TB_CMS_Marconi_220731_160802_6847-Sandbox.tar.bz2 977 0

2022-07-31 16:29:26,695:INFO:Startup:Python path: ['/m100_scratch/userexternal/dspiga00/glidein_work_area_nogpu/glide_bcIp0L/execute/dir_87019/job', '/cvmfs/cms.cern.ch/slc7_ppc64le_gcc820/external/py2-future/0.18.2/lib/python3.8/site-packages', '/m100_scratch/userexternal/dspiga00/glidein_work_area_nogpu/glide_bcIp0L/execute/dir_87019/job/WMCore.zip', '/m100_scratch/userexternal/dspiga00/glidein_work_area_nogpu/glide_bcIp0L/execute/dir_87019/job', '/cvmfs/cms.cern.ch/slc7_ppc64le_gcc820/external/python3/3.8.2/lib/python38.zip', '/cvmfs/cms.cern.ch/slc7_ppc64le_gcc820/external/python3/3.8.2/lib/python3.8', '/cvmfs/cms.cern.ch/slc7_ppc64le_gcc820/external/python3/3.8.2/lib/python3.8/lib-dynload', '/cvmfs/cms.cern.ch/slc7_ppc64le_gcc820/external/python3/3.8.2/lib/python3.8/site-packages']


2022-07-31 16:29:31,069:INFO:CMSSW:    Invoking command:
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH
/cvmfs/cms.cern.ch/slc7_ppc64le_gcc820/external/python3/3.8.2/bin/python3 -m WMCore.WMRuntime.ScriptInvoke WMTaskSpace.cmsRun1 SetupCMSSWPset 

I have squashed the commits and I think this is ready for review

@khurtado khurtado requested a review from amaltaro August 1, 2022 14:59
@cmsdmwmbot
Copy link

Jenkins results:

  • Python3 Unit tests: succeeded
    • 1 tests no longer failing
    • 3 changes in unstable tests
  • Python3 Pylint check: failed
    • 9 warnings and errors that must be fixed
    • 6 warnings
    • 103 comments to review
  • Pylint py3k check: succeeded
  • Pycodestyle check: succeeded
    • 34 comments to review

Details at https://cmssdt.cern.ch/dmwm-jenkins/view/All/job/DMWM-WMCore-PR-test/13467/artifact/artifacts/PullRequestReport.html

Copy link
Contributor

@amaltaro amaltaro left a comment

Choose a reason for hiding this comment

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

Thanks Kenyi, it's looking good for me. I have left a few comments along the code for your consideration as well. In addition to those, can you please check the pycodestyle report for test/python/WMCore_t/BossAir_t/BasePlugin_t.py (there are a few new items reported here).

src/python/WMCore/WMRuntime/Tools/Scram.py Show resolved Hide resolved
self.assertEqual(bp.scramArchtoRequiredArch(
['slc7_amd64_gcc10', 'slc7_aarch64_gcc700', 'slc7_ppc64le_gcc9']), 'X86_64')
self.assertEqual(bp.scramArchtoRequiredArch(['slc7_aarch64_gcc700', 'slc7_ppc64le_gcc9']), 'ppc64le')
test = (bp.scramArchtoRequiredArch(['slc7_amd64_gcc10', 'slc7_aarch64_gcc700'])).split(',')
Copy link
Contributor

Choose a reason for hiding this comment

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

I think one pair of parenthesis here is not really needed (the first one).

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I think I got an error with .spllit() without the parenthesis

@cmsdmwmbot
Copy link

Jenkins results:

  • Python3 Unit tests: failed
    • 1 new failures
    • 1 tests no longer failing
  • Python3 Pylint check: failed
    • 9 warnings and errors that must be fixed
    • 6 warnings
    • 102 comments to review
  • Pylint py3k check: succeeded
  • Pycodestyle check: succeeded
    • 34 comments to review

Details at https://cmssdt.cern.ch/dmwm-jenkins/view/All/job/DMWM-WMCore-PR-test/13469/artifact/artifacts/PullRequestReport.html

Copy link
Contributor

@amaltaro amaltaro left a comment

Choose a reason for hiding this comment

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

It looks good to me, thanks Kenyi.

@belforte FYI, in case you are using one of these APIs mapping ScramArch to OS/Arch.

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.

Support for tasks running on more than 1 architecture
3 participants