{
"configurations": [
{
"name": "Linux",
"includePath": [
"${workspaceFolder}/src/**"
],
"defines": [],
"compilerPath": "/usr/bin/g++",
"cStandard": "c17",
"cppStandard": "c++17",
"intelliSenseMode": "linux-gcc-x64"
}
],
"version": 4
}
{
"version": "0.2.0",
"configurations": [
{
"name": "g++ - Build and debug active file",
"type": "cppdbg",
"request": "launch",
"program": "${workspaceFolder}/${fileBasenameNoExtension}.o",
"args": [],
"stopAtEntry": false,
"cwd": "${workspaceFolder}",
"environment": [],
"externalConsole": false,
"MIMode": "gdb",
"setupCommands": [
{
"description": "Enable pretty-printing for gdb",
"text": "-enable-pretty-printing",
"ignoreFailures": true
}
],
"preLaunchTask": "C/C++: g++ build active file",
"miDebuggerPath": "/usr/bin/gdb"
}
]
}
{
"tasks": [
{
"type": "cppbuild",
"label": "C/C++: g++ build active file",
"command": "/usr/bin/g++",
"args": [
"-fdiagnostics-color=always",
"-g",
"${file}",
"-o",
"../${fileBasenameNoExtension}.o",
"-O3",
"-std=c++17",
"-Wall",
"-Wextra",
"-march=native",
"-fopenmp",
"-pthread",
"-lm",
"-ldl",
"-lsuperlu",
"-llapack",
"-larmadillo"
],
"options": {
"cwd": "${fileDirname}"
},
"problemMatcher": [
"$gcc"
],
"group": {
"kind": "build",
"isDefault": true
},
"detail": "Task generated by Debugger."
}
],
"version": "2.0.0"
}
{
"tasks": [
{
"type": "cppbuild",
"label": "C/C++: g++ build active file",
"command": "/usr/bin/g++",
"args": [
"-fdiagnostics-color=always",
"-g",
"${file}",
"-o",
"../${fileBasenameNoExtension}.o",
"-O3",
"-std=c++17",
// Intel MKL
"-DMKL_ILP64",
"-m64",
"-I/opt/intel/oneapi/mkl/2025.0/include",
"-L/opt/intel/oneapi/mkl/2025.0/lib/intel64",
"-Wl,--start-group",
"/opt/intel/oneapi/mkl/2025.0/lib/libmkl_intel_ilp64.a",
"/opt/intel/oneapi/mkl/2025.0/lib/libmkl_sequential.a",
"/opt/intel/oneapi/mkl/2025.0/lib/libmkl_core.a",
"-Wl,--end-group",
"-lpthread",
"-lm",
"-ldl",
// Armadillo
"-march=native",
"-fopenmp",
"-lsuperlu"
],
"options": {
"cwd": "${fileDirname}"
},
"problemMatcher": [
"$gcc"
],
"group": {
"kind": "build",
"isDefault": true
},
"detail": "Task generated by Debugger."
}
],
"version": "2.0.0"
}
{
"files.associations": {
"sstream": "cpp",
"variant": "cpp",
"deque": "cpp",
"string": "cpp",
"vector": "cpp"
},
"clang-tidy.compilerArgs": [
"-std=c++17",
]
}