Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace Makefile.omp with non-MPI version #141

Closed
andeplane opened this issue Aug 18, 2016 · 1 comment
Closed

Replace Makefile.omp with non-MPI version #141

andeplane opened this issue Aug 18, 2016 · 1 comment
Labels

Comments

@andeplane
Copy link
Collaborator

andeplane commented Aug 18, 2016

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.

@andeplane 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
@akohlmey
Copy link
Member

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

jtclemm pushed a commit to jtclemm/lammps that referenced this issue Nov 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants