Created
November 17, 2019 11:35
-
-
Save amithkk/7884612c4d2a8a57e0d6d9178c55d540 to your computer and use it in GitHub Desktop.
MPICC
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"configurations": [ | |
{ | |
"name": "Linux", | |
"includePath": [ | |
"${workspaceFolder}/**", | |
"/usr/lib/x86_64-linux-gnu/openmpi/include" | |
], | |
"defines": [], | |
"compilerPath": "/usr/bin/mpicc", | |
"cStandard": "c11", | |
"cppStandard": "c++17", | |
"intelliSenseMode": "clang-x64" | |
} | |
], | |
"version": 4 | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"version": "0.2.0", | |
"configurations": [ | |
{ | |
"name": "(mpirun) Launch", | |
"type": "cppdbg", | |
"request": "launch", | |
"program": "/usr/bin/mpirun", | |
"args": ["-np", "4", "${fileDirname}/${fileBasenameNoExtension}.out"], | |
"stopAtEntry": false, | |
"cwd": "${workspaceFolder}", | |
"environment": [], | |
"externalConsole": false, | |
} | |
] | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"version": "2.0.0", | |
"tasks": [ | |
{ | |
"type": "shell", | |
"label": "gcc build active file", | |
"command": "/usr/bin/gcc", | |
"args": [ | |
"-g", | |
"${file}", | |
"-o", | |
"${fileDirname}/${fileBasenameNoExtension}" | |
], | |
"options": { | |
"cwd": "/usr/bin" | |
}, | |
"problemMatcher": [ | |
"$gcc" | |
], | |
"group": "build" | |
}, | |
{ | |
"type": "shell", | |
"label": "mpicc build active file", | |
"command": "/usr/bin/mpicc", | |
"args": [ | |
"-g", | |
"${file}", | |
"-o", | |
"${fileDirname}/${fileBasenameNoExtension}.out" | |
], | |
"options": { | |
"cwd": "/usr/bin" | |
}, | |
"problemMatcher": [ | |
"$gcc" | |
], | |
"group": { | |
"kind": "build", | |
"isDefault": true | |
} | |
}, | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment