flag that MESSAGE package is not compatible with -DLAMMPS_BIGBIG

This commit is contained in:
Axel Kohlmeyer
2019-10-19 09:50:07 -04:00
parent e057ae186f
commit f4fcd2a911
2 changed files with 7 additions and 0 deletions

View File

@ -1,4 +1,7 @@
if(PKG_MESSAGE) if(PKG_MESSAGE)
if(LAMMPS_SIZES STREQUAL BIGBIG)
message(FATAL_ERROR "The MESSAGE Package is not compatible with -DLAMMPS_BIGBIG")
endif()
option(MESSAGE_ZMQ "Use ZeroMQ in MESSAGE package" OFF) option(MESSAGE_ZMQ "Use ZeroMQ in MESSAGE package" OFF)
file(GLOB_RECURSE cslib_SOURCES ${LAMMPS_LIB_SOURCE_DIR}/message/cslib/[^.]*.F file(GLOB_RECURSE cslib_SOURCES ${LAMMPS_LIB_SOURCE_DIR}/message/cslib/[^.]*.F
${LAMMPS_LIB_SOURCE_DIR}/message/cslib/[^.]*.c ${LAMMPS_LIB_SOURCE_DIR}/message/cslib/[^.]*.c

View File

@ -17,6 +17,10 @@
#include <stdint.h> #include <stdint.h>
#if defined(LAMMPS_BIGBIG)
#error CSlib is not compatible with -DLAMMPS_BIGBIG
#endif
namespace CSLIB_NS { namespace CSLIB_NS {
class CSlib { class CSlib {