sst-elements
sst-elements copied to clipboard
rdmaNic compilation error on devel
New Issue for sst-element rdmaNic
1 - Detailed description of problem or enhancement Compilation of rdmaNic uses deprecated API; not clear how to fix it.
2 - Describe how to reproduce
- Compile SST
- Compile SST-ELEMENTS
Making all in rdmaNic
sst-elements/src/sst/elements/rdmaNic
CXX rdmaNic.lo
CXX rdmaNicNetworkQueue.lo
CXX rdmaNicRecvEngine.lo
CXX rdmaNicSendEngine.lo
In file included from rdmaNic.h:115,
from rdmaNicNetworkQueue.cc:18:
rdmaNicMemRequestQ.h: In member function 'void SST::MemHierarchy::RdmaNic::MemRequestQ::sendReq(SST::MemHierarchy::RdmaNic::MemRequest*)':
rdmaNicMemRequestQ.h:65:38: warning: 'static SST::Simulation* SST::Simulation::getSimulation()' is deprecated: Element facing Simulation class APIs are deprecated and have moved to the various element base classes. The APIs will be removed in SST 13. [-Wdeprecated-declarations]
65 | req->reqTime=Simulation::getSimulation()->getCurrentSimCycle();
| ^~~~~~~~~~~~~
Simulation::getSimulation()
is now deprecated. I guess this API has moved to baseComponent::getCurrentSimCycle()
, but this class isn't a Component, and doesn't seem to have access to one.
3 - What Operating system(s) and versions gcc-10.2.1 Mac
4 - What version of external libraries (Boost, MPI) NA
5 - Provide sha1 of all relevant sst repositories (sst-core, sst-elements, etc) sst/devel @ bcd759f8855943c2 sst-elements/devel @ 19a6ad660b6