You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
which doesn't work without MPI installed. I suggest replacing current Makefile.omp to
CC = g++
CCFLAGS = -g -O3 -restrict -fopenmp
and adding -fopenmp as default flag in i.e. Makefile.g++_openmpi.
The text was updated successfully, but these errors were encountered:
andeplane
changed the title
Rename current Makefile.omp and add new Makefile.omp with non-MPI version
Replace Makefile.omp with non-MPI version
Aug 18, 2016
The various makefiles in the subdirectories are not meant to be an exhaustive list of variants or to provide convenient defaults, but mostly to demonstrate what kind of changes might be needed. If you want the "all-singing, all-dancing makefile able to adapt to everything", then i'd recommend you check out (and augment/improve) Make.py
Right now, the Makefile.omp looks like
CC = mpicxx
CCFLAGS = -g -O3 -restrict -fopenmp
which doesn't work without MPI installed. I suggest replacing current Makefile.omp to
CC = g++
CCFLAGS = -g -O3 -restrict -fopenmp
and adding -fopenmp as default flag in i.e. Makefile.g++_openmpi.
The text was updated successfully, but these errors were encountered: