Commit 4361338b authored by hasan.bahjat's avatar hasan.bahjat 💬

update Makefile, Add host as a param

parent d3891e32
......@@ -14,7 +14,7 @@ PROF_FLAGS = -pg
## Hosts Flags
MPI_HOSTS=mpi_host
MPI_HOSTS=$(host)
## Source file
SRC = $(Pr).c
......@@ -35,7 +35,8 @@ build:
## Run the program with a specified number of processes
run:
mpirun -n STATIONS_COUNT -f $(MPI_HOSTS) ./$(TARGET)
mpirun -n $(STATIONS_COUNT) -f $(MPI_HOSTS) ./$(TARGET)
## Clean the build
clean:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment