flag that MESSAGE package is not compatible with -DLAMMPS_BIGBIG
This commit is contained in:
@ -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
|
||||||
|
|||||||
@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user