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 ...@@ -14,7 +14,7 @@ PROF_FLAGS = -pg
## Hosts Flags ## Hosts Flags
MPI_HOSTS=mpi_host MPI_HOSTS=$(host)
## Source file ## Source file
SRC = $(Pr).c SRC = $(Pr).c
...@@ -35,7 +35,8 @@ build: ...@@ -35,7 +35,8 @@ build:
## Run the program with a specified number of processes ## Run the program with a specified number of processes
run: run:
mpirun -n STATIONS_COUNT -f $(MPI_HOSTS) ./$(TARGET) mpirun -n $(STATIONS_COUNT) -f $(MPI_HOSTS) ./$(TARGET)
## Clean the build ## Clean the build
clean: 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