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

📄 global.h

📁 MPICH是MPI的重要研究,提供了一系列的接口函数,为并行计算的实现提供了编程环境.
💻 H
字号:
#ifndef GLOBAL_H#define GLOBAL_H#if _MSC_VER > 1000#pragma once#endif // _MSC_VER > 1000#include <winsock2.h>#include <windows.h>#include <tchar.h>#define FORWARD_NPROC_THRESHOLD 3#define MAX_CMD_LENGTH  8192#define MAX_HOST_LENGTH 64struct HostNode{    TCHAR host[MAX_HOST_LENGTH];    TCHAR exe[MAX_CMD_LENGTH];    long nSMPProcs;    HostNode *next;};struct ForwardHostStruct{    char pszHost[MAX_CMD_LENGTH];    int nPort;};struct MapDriveNode{    char cDrive;    char pszShare[MAX_PATH];    //char pszAccount[40];    //char pszPassword[40];    MapDriveNode *pNext;};//bool UnmapDrives(SOCKET sock, MapDriveNode *pList);// Global variablesextern bool g_bUseJobHost;extern char g_pszJobHost[MAX_HOST_LENGTH];extern bool g_bUseJobMPDPwd;extern char g_pszJobHostMPDPwd[100];extern int g_nLaunchTimeout;#define NUM_GLOBAL_COLORS 8extern COLORREF aGlobalColor[NUM_GLOBAL_COLORS];#endif

⌨️ 快捷键说明

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