Comments (2)
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.
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
:
Line 1502 in b927892
- "In GPI2": I mean
Line 1502 in b927892
The testsuite tests this function:GPI-2/tests/tests/init/kill_procs.c
Line 22 in b927892
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)
- Gaspi_Barrier, Timeout and state vector issue HOT 1
- Why all processes except process 0 are allowed to die?
- gaspi_allreduce error: GASPI state vector report all processes healthy
- Limit to low for GASPI_MAX_MSEGS HOT 2
- undefined behaviour in gaspi_read|write_list (ib implementation) HOT 7
- gaspi_segment_bind doesn't count in gaspi_segment_list HOT 5
- Another gaspi segment handling error HOT 9
- GPI2 signature of gaspi_reduce_operation differs from GASPI specification HOT 2
- Why a group requires at least two member? HOT 3
- Support for shared libraries HOT 1
- v1.4.0 Slurm Support | Intended usage HOT 1
- Version and tag mismatch HOT 1
- Cancel configuration if MPI is requested but not found. HOT 3
- Update webpage link HOT 1
- Address sanitizer report leaks HOT 3
- Order of segment and group deletion HOT 1
- Runtime failures on larger process counts HOT 2
- Gaspi slurm runner doesn't support multiple processes per node
- Add proper quoting to command line arguments HOT 7
- `gaspi_run` does not properly quote file name arguments
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gpi-2.