My first MPI code

This commit is contained in:
Fabio Durastante
2024-04-14 22:19:58 +02:00
parent cd58934e16
commit c049fb3ec1
2 changed files with 17 additions and 0 deletions
+7
View File
@@ -0,0 +1,7 @@
MPICC = mpicc #The wrapper for the compiler
CFLAGS += -g #Useful for debug symbols
all: helloworld
helloworld: helloworld.c
$(MPICC) $(CFLAGS) $(LDFLAGS) $? $(LDLIBS) -o $@
clean:
rm -f helloworld