add OpenMP version detection and info output

This commit is contained in:
Axel Kohlmeyer
2019-02-12 11:28:52 -05:00
parent eb8a6512e2
commit 36ad48b259
3 changed files with 37 additions and 3 deletions

View File

@ -1087,7 +1087,7 @@ void LAMMPS::print_config(FILE *fp)
delete[] infobuf;
infobuf = Info::get_compiler_info();
fprintf(fp,"Compiler: %s\n\n",infobuf);
fprintf(fp,"Compiler: %s with %s\n\n",infobuf,Info::get_openmp_info());
delete[] infobuf;
fputs("Active compile time flags:\n\n",fp);