⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 rm.h

📁 fortran并行计算包
💻 H
字号:
/* -*- Mode: C; c-basic-offset:4 ; -*- *//*   *  (C) 2005 by Argonne National Laboratory. *      See COPYRIGHT in top-level directory. */#ifndef RM_H_INCLUDED#define RM_H_INCLUDEDtypedef struct {    char *hostname;        /* Name of the machine (used for ssh etc) */    int  np;               /* Number of processes on this machine */    char *login;           /* Login name to use (if different).			      Q: do we also want to provide for a password? */    char *netname;         /* Interface name to use (if different from host) */    /* Other resource descriptions would go here, such as memory,        software, file systems */} MachineDesc;typedef struct {    int nHosts;     MachineDesc *desc;} MachineTable;MachineTable *MPIE_ReadMachines( const char *, int, void * );int MPIE_FreeMachineTable( MachineTable * );int MPIE_ChooseHosts( ProcessWorld *, 		      MachineTable* (*)(const char *, int, void *), 		      void * );int MPIE_RMProcessArg( int, char *[], void * );#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -