/usr/include/lam/lamnet.h is in lam4-dev 7.1.4-3.1build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 | /*
* Copyright (c) 2001-2003 The Trustees of Indiana University.
* All rights reserved.
* Copyright (c) 1998-2001 University of Notre Dame.
* All rights reserved.
* Copyright (c) 1994-1998 The Ohio State University.
* All rights reserved.
*
* This file is part of the LAM/MPI software package. For license
* information, see the LICENSE file in the top level directory of the
* LAM/MPI source distribution.
*
* $HEADER$
*
* $Id: lamnet.h,v 6.13 2003/07/31 03:04:17 jsquyres Exp $
*
* Function: - LAM network description
*/
#ifndef _LAMNET
#define _LAMNET
#include <lam_config.h>
#include <sys/types.h>
#include <netinet/in.h>
#include <portable.h>
#include <all_list.h>
/*
* default filenames
*/
#define DEFFBHOST "lam-bhost.def" /* default host file */
/*
* default tools
*/
#define DEFTHBOOT "hboot"
#define DEFTTKILL "tkill"
#define DEFTWIPE "lamwipe"
/*
* LIST element structure
*/
typedef struct {
char *key;
char *value;
} ELEM;
/*
* node description
*/
struct lamnode { /* node information */
int4 lnd_nodeid; /* node identifier */
int4 lnd_type; /* node type */
int4 lnd_ncpus; /* number of CPUs on node */
int lnd_bootport; /* booting port # */
char *lnd_hname; /* host name */
char *lnd_uname; /* user name */
struct sockaddr_in
lnd_addr; /* internet address */
LIST *lnd_keyval; /* list to store key-value pairs */
/* Extra data that the boot ssi can tag on, if needed... */
struct lnd_ssi_boot_nodeinfo *lnd_ssi;
};
#ifdef __cplusplus
extern "C" {
#endif
extern int lamnet_findhosts __ARGS((struct lamnode *lamnet,
int nlamnet, int *badhost));
extern int lamnet_findorig __ARGS((struct lamnode *lamnet,
int nlamnet));
#ifdef __cplusplus
}
#endif
#endif /* _LAMNET */
|