nm_launcher_mini.c
/*
* NewMadeleine
* Copyright (C) 2017-2024 (see AUTHORS file)
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or (at
* your option) any later version.
*
* This program is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* General Public License for more details.
*/
#include <nm_launcher_interface.h>
#include <nm_session_interface.h>
#include <stdio.h>
int main(int argc, char**argv)
{
{
fprintf(stderr, "error in nm_launcher_init()\n");
}
nm_launcher_get_rank(&rank);
printf("rank = %d; size = %d\n", rank, size);
return 0;
}
NM_EXTERN_C_BEGIN int nm_session_open(nm_session_t *pp_session, const char *label)
Open a new session, assuming processes are already connected.
static int nm_launcher_init(int *argc, char **argv)
Initializes nmad.
Definition nm_launcher_interface.h:80
nm_len_t size
size of the onsided data (not incuding target-side completion)
Definition nm_onesided_private.h:1
Definition nm_session_private.h:24