small tweaks

This commit is contained in:
Axel Kohlmeyer
2021-03-11 19:34:28 -05:00
parent b252946fba
commit f982d98574
2 changed files with 3 additions and 4 deletions

View File

@ -1,5 +1,5 @@
CXX=mpicxx
CXXFLAGS=-I../../src -Wall -O3 -fPIC -I../../src/USER-OMP -fopenmp
CXXFLAGS=-I../../src -Wall -Wextra -O3 -fPIC -I../../src/USER-OMP -fopenmp
LD=$(CXX) -shared -rdynamic -fopenmp
morse2plugin.so: morse2plugin.o pair_morse2.o pair_morse2_omp.o

View File

@ -58,9 +58,8 @@ namespace LAMMPS_NS
void *initfunc = dlsym(dso,"lammpsplugin_init");
if (initfunc == nullptr) {
#ifndef WIN32
dlclose(dso);
#endif
if (me == 0)
utils::logmesg(lmp,fmt::format("Plugin symbol lookup failure in "
"file {}\n",file));
@ -182,7 +181,7 @@ namespace LAMMPS_NS
if (idx < 0) {
if (me == 0)
utils::logmesg(lmp,fmt::format("Ignoring unload of {} style {}: not "
"loaded from a plugin", style, name));
"loaded from a plugin\n", style, name));
return;
}