Commit 76236103 authored by Oliver Zier's avatar Oliver Zier
Browse files

Remove NUM_THREADS in Makefiles

parent 5a068954
......@@ -7,10 +7,4 @@ CPV = $(CPP)
else
CFLAGS_VECTOR =
CPV = $(CPP)
endif
ifeq (NUM_THREADS,$(findstring NUM_THREADS,$(CONFIGVARS)))
OPTIMIZE += -fopenmp
else
OPTIMIZE += -Wno-unknown-pragmas
endif
endif
\ No newline at end of file
......@@ -7,9 +7,3 @@ else
CFLAGS_VECTOR =
CPV = $(CPP)
endif
ifeq (NUM_THREADS,$(findstring NUM_THREADS,$(CONFIGVARS)))
OPTIMIZE += -qopenmp
else
OPTIMIZE += -Wno-unknown-pragmas
endif
......@@ -7,10 +7,4 @@ CPV = $(CPP)
else
CFLAGS_VECTOR =
CPV = $(CPP)
endif
ifeq (NUM_THREADS,$(findstring NUM_THREADS,$(CONFIGVARS)))
OPTIMIZE += -fopenmp
else
OPTIMIZE += -Wno-unknown-pragmas
endif
endif
\ No newline at end of file
......@@ -8,9 +8,3 @@ else
CFLAGS_VECTOR =
CPV = $(CPP)
endif
ifeq (NUM_THREADS,$(findstring NUM_THREADS,$(CONFIGVARS)))
OPTIMIZE += -fopenmp
else
OPTIMIZE += -Wno-unknown-pragmas
endif
......@@ -8,9 +8,3 @@ else
CFLAGS_VECTOR =
CPV = $(CPP)
endif
ifeq (NUM_THREADS,$(findstring NUM_THREADS,$(CONFIGVARS)))
OPTIMIZE += -fopenmp
else
OPTIMIZE += -Wno-unknown-pragmas
endif
......@@ -11,10 +11,4 @@ CPV = $(CPP)
else
CFLAGS_VECTOR =
CPV = $(CPP)
endif
ifeq (NUM_THREADS,$(findstring NUM_THREADS,$(CONFIGVARS)))
OPTIMIZE += -fopenmp
else
OPTIMIZE += -Wno-unknown-pragmas
endif
endif
\ No newline at end of file
......@@ -6,10 +6,4 @@ CPV = $(CPP)
else
CFLAGS_VECTOR =
CPV = $(CPP)
endif
ifeq (NUM_THREADS,$(findstring NUM_THREADS,$(CONFIGVARS)))
OPTIMIZE += -qopenmp
else
OPTIMIZE += -Wno-unknown-pragmas
endif
endif
\ No newline at end of file
......@@ -8,10 +8,4 @@ CPV = $(CPP)
else
CFLAGS_VECTOR =
CPV = $(CPP)
endif
ifeq (NUM_THREADS,$(findstring NUM_THREADS,$(CONFIGVARS)))
OPTIMIZE += -fopenmp
else
OPTIMIZE += -Wno-unknown-pragmas
endif
endif
\ No newline at end of file
......@@ -8,10 +8,4 @@ CPV = $(CPP)
else
CFLAGS_VECTOR =
CPV = $(CPP)
endif
ifeq (NUM_THREADS,$(findstring NUM_THREADS,$(CONFIGVARS)))
OPTIMIZE += -fopenmp
else
OPTIMIZE += -Wno-unknown-pragmas
endif
endif
\ No newline at end of file
......@@ -10,8 +10,3 @@ CFLAGS_VECTOR =
CPV = $(CPP)
endif
ifeq (NUM_THREADS,$(findstring NUM_THREADS,$(CONFIGVARS)))
OPTIMIZE += -fopenmp
else
OPTIMIZE += -Wno-unknown-pragmas
endif
......@@ -61,9 +61,6 @@
* The non-periodic dimension is selected via the GRAVITY_TALLBOX flag. Also in this case, arbitrarily stretched boxes can
* be used, and one can use PM_ZOOM_OPTIMIZED and/or FFT_COLUMN_BASED if desired.
*
* Much of the code is multi-threaded, so there should be some speed-up if OpenMP is used with NUM_THREADS > 1, but the
* benefit may be limited because the data transfer steps (which weigh in quite heavily) are not accelerated by this.
*
* If eight times the particle load per processor exceeds 2^31 ~ 2 billion, one should activate NUMPART_PER_TASK_LARGE.
* The code will check this condition and terminate if this is violated, so there should hopefully be no severe risk
* to accidentally forget this.
......
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