You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am on a Cray SUSE 15 enterprise cluster with crayPE/24.03. I was using build _ascent.sh to build dependencies with mpich and gcc/13.2.
It appears that
camp-2022.10.1/include/camp/resource/host.hpp miss #include <cstdlib>
camp-2022.10.1/include/camp/resource.hpp miss #include <stdexcept>
mfem-4.5.2/general/hash.hpp and mfem-4.5.2/general/mem_manager.cpp miss #include <cstdint>
The error messages typically are
camp-2022.10.1/include/camp/resource/host.hpp:65:71: error: ‘free’ was not declared in this scope
65 | void deallocate(void *p, MemoryAccess = MemoryAccess::Device) { free(p); }
...
camp-2022.10.1/include/camp/resource/host.hpp:57:27: error: ‘malloc’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation
57 |return (T *)malloc(sizeof(T) * n);
...
mfem-4.5.2/general/hash.hpp:1001:39: error: ‘uint64_t’ was not declared in this scope
1001 | auto k = reinterpret_cast<const uint64_t &>(*begin);
...
mfem-4.5.2/general/mem_manager.cpp:268:10: error: ‘uintptr_t’ does not name a type
268 | const uintptr_t addr = (uintptr_t) ptr;
...
These missing headers appear over Ascent/v0.9.0-0.9.2 building scripts. After manually access these source files and adding missing headers, camp and mfem can been built successfully, so does Ascent.
I have red this closed issue #1259, it looks just same problem as I get. I wonder does it solved also for tags? I checkout tags/v0.9.x to get release. Is this good practice?
The text was updated successfully, but these errors were encountered:
I don't build 0.9.3 yet, may be I should find time to try it out and see what it turns out.
Or could I just modify version number of mfem to 4.7 in build_ascent.sh, will it induces problem related to old/new APIs between dependencies and Ascent?
I believe that mfem 4.7 will work with Ascent 0.9.3, based on: #1393
In general: due to libs making API changes - mixing and matching TPLs may cause issues.
This is why we share what versions we are using for each release:
I didn't know Ascent devs provide changlog, looks like it provides clear track of dependencies' version.
If I understand right, the versions which aren't mentioned under Preferred dependency versions for Ascent@... are same as they are in earlier version of Ascent, right? I find it takes quite a bit time to trace down exactly which version of dependency one suppose to use.
I am on a Cray SUSE 15 enterprise cluster with
crayPE/24.03
. I was usingbuild _ascent.sh
to build dependencies withmpich
andgcc/13.2
.It appears that
camp-2022.10.1/include/camp/resource/host.hpp
miss#include <cstdlib>
camp-2022.10.1/include/camp/resource.hpp
miss#include <stdexcept>
mfem-4.5.2/general/hash.hpp
andmfem-4.5.2/general/mem_manager.cpp
miss#include <cstdint>
The error messages typically are
These missing headers appear over Ascent/v0.9.0-0.9.2 building scripts. After manually access these source files and adding missing headers,
camp
andmfem
can been built successfully, so does Ascent.I have red this closed issue #1259, it looks just same problem as I get. I wonder does it solved also for
tags
? I checkouttags/v0.9.x
to get release. Is this good practice?The text was updated successfully, but these errors were encountered: