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

none of the available platforms is supported: ['x86_64_v2-centos7-gcc10-opt', 'x86_64_v2-centos7-gcc10-dbg'] #307

Open
uzzielperez opened this issue Sep 25, 2024 · 3 comments

Comments

@uzzielperez
Copy link

uzzielperez commented Sep 25, 2024

Dear Starterkit lessons Developers,

This might be another newbie question so feel free to redirect me if appropriate!
I am following the Developing LHCb Software. I ran the LbEnv beforehand but I am now running into this issue.

ciperez:~$ lb-dev --name DaVinciDev DaVinci/v45r8
none of the available platforms is supported: ['x86_64_v2-centos7-gcc10-opt', 'x86_64_v2-centos7-gcc10-dbg']

Is this a problem with a known solution?

Cheers,
Uzzie

@jpwgnr
Copy link

jpwgnr commented Sep 27, 2024

Hi Uzzie,

the two platforms that have two be used for this DaVinci version are build on Centos7 which arrived this year at EOL.
You can still get it running with a container running Centos7, following the explanation here: https://twiki.cern.ch/twiki/bin/viewauth/LHCb/FAQ/GangaLHCbFAQ#How_do_I_run_old_Gaudi_appli_AN1

In short:

apptainer exec --bind $PWD --env LBENV_SOURCED= --bind /cvmfs:/cvmfs:ro /cvmfs/lhcb.cern.ch/containers/os-base/centos7-devel/prod/amd64/ bash --rcfile /cvmfs/lhcb.cern.ch/lib/LbEnv
lb-dev -c best DaVinci/v45r8

The -c best is equivalent here to using lb-set-platform x86_64_v2-centos7-gcc-opt.

But you are right, this section should be updated.

@jpwgnr
Copy link

jpwgnr commented Sep 27, 2024

See also issue #297, which gives a problem in one of the following steps afterwards.
There it would be best to switch the command

git lb-checkout Analysis/run2-patches Phys/DecayTreeTuple

to the version

git lb-checkout Analysis/v21r8 Phys/DecayTreeTuple

which corresponds to the DaVinci version which is used here in the tutorial.

@uzzielperez
Copy link
Author

Thanks @jpwgnr for sending relevant issues and for acknowledging that the section needs to be udpated. For my purposes lb-set-platform x86_64_v2-centos7-gcc-opt seemed to have done the trick. Looking forward to the updated version as well if and when that comes. Might be good to have them for the starterkit in November.

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

No branches or pull requests

2 participants