Giter Site home page Giter Site logo

Comments (9)

egede avatar egede commented on August 13, 2024

@heistera A fix will be implemented for this soon.

from ganga.

laf070810 avatar laf070810 commented on August 13, 2024

I am also bitten by this bug.

ERROR:lb-run:current host does not support platform x86_64_v2-centos7-gcc11-opt (dirac_platform: broadwell-el9, required: x86_64_v2-centos7, os_id: almalinux9)

Glad to see the work on-going.

from ganga.

egede avatar egede commented on August 13, 2024

I am also bitten by this bug.

ERROR:lb-run:current host does not support platform x86_64_v2-centos7-gcc11-opt (dirac_platform: broadwell-el9, required: x86_64_v2-centos7, os_id: almalinux9)

Glad to see the work on-going.

Not obvious to me that this is the same problem. In the other cases we have seen a runtime error, whereas in the case you report here, the Gaudi job doesn't even start. The cure may be the same though.

from ganga.

heistera avatar heistera commented on August 13, 2024

I agree with Ulrik. To me it looked like the jobs which crashed for me had an environment. Not sure if it was the correct one, though ...

from ganga.

laf070810 avatar laf070810 commented on August 13, 2024

Indeed, my jobs didn't even start...but the cure may be the same. If I run lb-run manually, it can automatically choose apptainer and run normally. But running in ganga will yield the above error.

from ganga.

mesmith75 avatar mesmith75 commented on August 13, 2024

I find this strange - my test jobs said they were running in apptainer. I guess there is nothing wrong with being explicit about though.

from ganga.

egede avatar egede commented on August 13, 2024

My investigation is so far only for the Local backend (where the apptainer message is not there). So we might not be all the way there. However, it turns out the run file with the lb-run command inside is written by the make step.

build.x86_64-slc6-gcc49-opt/ganga/run:exec lb-run   --siteroot=${MYSITEROOT:-/cvmfs/lhcb.cern.ch/lib} -c x86_64-slc6-gcc49-opt --path-to-project ${base_dir}/DaVinciDev_v39r1p6 "$@"

The file should instead have

exec lb-run   --siteroot=${MYSITEROOT:-/cvmfs/lhcb.cern.ch/lib} -c x86_64-slc6-gcc49-opt --container apptainer --path-to-project ${base_dir}/DaVinciDev_v39r1p6 "$@"

for the Local backend to work.

from ganga.

egede avatar egede commented on August 13, 2024

And there is in fact a further problem. When a job is submitted with the Local backend, it inherits the environment of the Ganga session. This (among other things) means that a different (and older) version of lb-run is used which doesn't understand the --container option.

from ganga.

mesmith75 avatar mesmith75 commented on August 13, 2024

I have successfully reproduced the original issue on the grid. I guess it is not doing what I thought after all

from ganga.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.