?? run_enviroment.h
字號:
//select the compilation mode
#define USE_MPI 1 //comment out to compile without MPI
//select the run enviroment -WIN or -IBM_AIX
#ifdef _WIN32
#include <windows.h>
#define run_enviroment 1
#else //IBM AIX
#include <unistd.h> //for getwd()
#include <sys/stat.h> //for mkdir()
#endif
#include <stdio.h> //for sprintf
#include <iostream>
using namespace std;
using std::cout;
using std::cerr;
using std::endl;
using std::fixed;
#ifdef _OPENMP
#include <omp.h>
//IBM ReadBook: Developing and Porting C and C++ Applications on AIX
//Chapter 9. Program parallelization using OpenMP page 367
//Note: In the current implementation, nested parallel regions are always
//serialized. As a result, omp_set_nested() does not have any effect, and
//omp_get_nested() always returns 0 on AIX.
#endif
#include <errno.h> //for error handling
#include <cmath>
#include <cstring>
#include <ctime>
#include "Matrix.h"
#include "Load_Save_File_Data.h"
extern int errno;//error handling
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -