changed reading hint
[gromacs/adressmacs.git] / src / gmxlib / libnet.c
blob7256b4914ef97057328a5d9b4c8dbfb7d867d089
1 /*
2 * $Id$
3 *
4 * This source code is part of
5 *
6 * G R O M A C S
7 *
8 * GROningen MAchine for Chemical Simulations
9 *
10 * VERSION 2.0
12 * Copyright (c) 1991-1999
13 * BIOSON Research Institute, Dept. of Biophysical Chemistry
14 * University of Groningen, The Netherlands
16 * Please refer to:
17 * GROMACS: A message-passing parallel molecular dynamics implementation
18 * H.J.C. Berendsen, D. van der Spoel and R. van Drunen
19 * Comp. Phys. Comm. 91, 43-56 (1995)
21 * Also check out our WWW page:
22 * http://md.chem.rug.nl/~gmx
23 * or e-mail to:
24 * gromacs@chem.rug.nl
26 * And Hey:
27 * Green Red Orange Magenta Azure Cyan Skyblue
29 static char *SRCID_libnet_c = "$Id$";
31 #include "main.h"
32 #include "fatal.h"
33 #include "network.h"
34 #include "typedefs.h"
35 #include "ns.h"
37 /* Network routines */
39 #define MYFATAL(str) fatal_error(0,"Routine %s called in %s, %d",str,__FILE__,__LINE__)
41 void gmx_tx(int pid,void *bufptr,int bufsize)
43 MYFATAL("gmx_tx");
46 void gmx_tx_wait(int pid)
48 MYFATAL("gmx_tx_wait");
51 void gmx_txs(int pid,void *bufptr,int bufsize)
53 MYFATAL("gmx_txs");
56 void gmx_rx(int pid,void *bufptr,int bufsize)
58 MYFATAL("gmx_rx");
61 void gmx_rx_wait(int pid)
63 MYFATAL("gmx_rx_wait");
66 void gmx_rxs(int pid,void *bufptr,int bufsize)
68 MYFATAL("gmx_rxs");
71 int gmx_cpu_num(void)
73 return 1;
76 int gmx_cpu_id(void)
78 return 0;
81 int get_idle_rec(void)
83 return 0;
86 int get_idle_send(void)
88 return 0;
91 void gmx_left_right(int nprocs,int pid,int *left,int *right)
93 *left=0;
94 *right=0;