diff --git a/pages.it/linux/mpicc.md b/pages.it/linux/mpicc.md new file mode 100644 index 0000000000..3d33ca287b --- /dev/null +++ b/pages.it/linux/mpicc.md @@ -0,0 +1,17 @@ +# mpicc + +> Involucro Open MPI per il compilatore di C. +> Shell che esegue sul compilatore, aggiungono i relevanti argomenti e linkers necessari a compilare/collegare programmi Open MPI, invocando il sottostante compilatore di C per effettuare le effetive operazioni. +> Maggiori informazioni: . + +- Compila un file sorgente in un file oggetto: + +`mpicc -c {{percorso/del/file.c}}` + +- Linka un file oggetto file e genera un eseguibile: + +`mpicc -o {{executable}} {{percorso/del/file.o}}` + +- Linka e compila i file sorgente in un solo commando: + +`mpicc -o {{executable}} {{percorso/del/file.c}}` diff --git a/pages/linux/mpicc.md b/pages/linux/mpicc.md new file mode 100644 index 0000000000..43b275ce17 --- /dev/null +++ b/pages/linux/mpicc.md @@ -0,0 +1,17 @@ +# mpicc + +> Open MPI C wrapper compiler. +> The wrappers are simply thin shells on top of a C compiler, they add the relevant compiler and linker flags to the command line that are necessary to compile/link Open MPI programs, and then invoke the underlying C compiler to actually perform the command. +> More information: . + +- Compile a source code file into an object file: + +`mpicc -c {{path/to/file.c}}` + +- Link an object file and make an executable: + +`mpicc -o {{executable}} {{path/to/object_file.o}}` + +- Compile and link source code in a single command: + +`mpicc -o {{executable}} {{path/to/file.c}}`