Git Product home page Git Product logo

Comments (2)

mrahn avatar mrahn commented on August 21, 2024

I am confused:

  • "kills a remote process" -> No, according to the spec: "sends an interrupt signal".
  • "In GPI2" -> Are you talking about the test suite? Can you elaborate please?

from gpi-2.

Flamefire avatar Flamefire commented on August 21, 2024

The spec further says:

gaspi_proc_kill sends an interrupt signal to the Gaspi process incorporating the rank given by parameter rank . This can be used, for example, to realise(sic!) the registration of a user defined signal handler function which ensures the controlled shut down of an entire Gaspi application at the global level if the application receives an interrupt signal ( STRG + C ) in the interactive master process.
Every application should register such or a similar signal handler (c. f. listing 9).

In case of successful procedure completion, i. e. return value GASPI_SUCCESS , the remote
process has been terminated.

In this case I'm even escalating this as a bug in GPI2 that it does not adhere to the spec and simply calls exit(-1) instead of sending SIGINT:

_exit(-1);

  • "In GPI2": I mean
    _exit(-1);

    The testsuite tests this function:
    ASSERT(gaspi_proc_kill( i, GASPI_BLOCK));

    Hence there will be a process with non-zero exitcode spawned by the testsuite which may or may not make the test-fail depending on whether the error-code is propagated to the spawner/gaspi_run

from gpi-2.

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.