Skip to content

Latest commit

 

History

History
28 lines (22 loc) · 505 Bytes

README.md

File metadata and controls

28 lines (22 loc) · 505 Bytes

Progetto di Calcolo Scientifico

# Create a build directory
$ mkdir build
$ cd build

# Build, Compile, Run
$ cmake -DCMAKE_EXPORT_COMPILE_COMMANDS=ON ..
$ make
$ mpirun ./main

# Or inline for development
$ cmake -DCMAKE_EXPORT_COMPILE_COMMANDS=ON .. && make && mpirun ./main

VSCode

Install the clangd extension and put the following in .vscode/settings.json

{
    "clangd.arguments": [
        "-background-index", 
        "-compile-commands-dir=build"
    ]
}