| 100 | |
| 101 | |
| 102 | int printCmdArgInfo() { |
| 103 | |
| 104 | // we can only initialise the QuEST environment once, so |
| 105 | // we accept command-line arg 1-6 to choose the deployment |
| 106 | |
| 107 | // all nodes must print because we've not yet setup MPI |
| 108 | std::cout << ( |
| 109 | "Must pass single cmd-line argument:\n" |
| 110 | " 1 = serial\n" |
| 111 | " 2 = multithreaded\n" |
| 112 | " 3 = GPU-accelerated\n" |
| 113 | " 4 = distributed\n" |
| 114 | " 5 = all\n" |
| 115 | " 6 = auto") << std::endl; |
| 116 | |
| 117 | // process return code, indicate error |
| 118 | return 1; |
| 119 | } |
| 120 | |
| 121 | |
| 122 | int main(int argc, char* argv[]) { |