sstsimulator / sst-macro

SST Macro Element Library
http://sst-simulator.org/
Other
33 stars 41 forks source link

fails to find sst-elements while configuring (v13.1.0_Final) #703

Open burlen opened 7 months ago

burlen commented 7 months ago

sst-elements install is not located when configuring

../sst-macro-src/configure --prefix=$PWD/../sst-macro-install --with-sst-core=/home/bloring/sst-core/sst-core-install/ CC=mpicc CXX=mpicxx --enable-multithread --with-sst-elements=/home/bloring/sst-elem/sst-elements-install/

from the config.log

configure:22658: checking for sst/elements/memHierarchy/memHierarchyInterface.h
configure:22658: mpicxx -c -g -O2  -std=c++17  -I/home/bloring/sst-elem/sst-elements-install//include -DSSTMAC_INTEGRATED_SST_CORE=1 -I/home/bloring/sst-core/sst-core-install//include -I/home/bloring/sst-core/sst-core-install//include/sst -I/home/bloring/sst-core/sst-core-install//include/sst/core -D__STDC_FORMAT_MACROS conftest.cpp >&5
conftest.cpp:14: warning: "VERSION" redefined
   14 | #define VERSION "13.1.0"
      |
conftest.cpp:10: note: this is the location of the previous definition
   10 | #define VERSION 13
      |
In file included from conftest.cpp:62:
/home/bloring/sst-elem/sst-elements-install//include/sst/elements/memHierarchy/memHierarchyInterface.h:34:10: fatal error: sst/elements/memHierarchy/memEventCustom.h: No such file or directory
   34 | #include "sst/elements/memHierarchy/memEventCustom.h"
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.

a file is missing from the sst-elements install. It is in the source tree though so it can be workaround:

cp `find ../../sst-elem/ -name memEventCustom.h` ../../sst-elem/sst-elements-install/include/sst/elemen
ts/memHierarchy/
burlen commented 7 months ago

v13.0.0 (from tarballs) has the same issue, as does HEAD on master (as of today)