I added the header in the upack directory, but I think the issue is,
everytime ./candi.sh is run, it unpacks (unzips) it from a tar.gz file into
the unpack folder and then uses that. So even if I change it in the unpack
folder, it uncompresses the file from a tar.gz file and uses that.

So I tried to change the file (add the #include <cstdint>) and then
tar.gzed the folder and then put it back in the folder which had the tar.gz
with the same name and tried to run. It did this
"903b797cddfdd82b0516d4659e90f738 does not match given checksum
099680cd3660dba5ec447ddc50a8406c" and then redownloaded a new version and
tried to installed it (which was unsuccessful for the same reason).

Is there a way to make candi.sh to install from the unpack folder (where
the file was changed), without again unpacking it from the tar.gzed version?

Thank you




On Thu, May 9, 2024 at 12:14 PM Wolfgang Bangerth <[email protected]>
wrote:

> On 5/9/24 12:10, Narasimhan Swaminathan IITM wrote:
> > OK. I am attaching the output of  ./candi.sh -j 1 as an output.txt file.
> I
> > hope that is ok. I was not sure what I should look for higher up in the
> output.
>
> Oh, I see, it's not running out of memory after all. I just can't compile
> Trilinos:
>
> /home/narasimhan-swaminathan/Documents/Research/Software/Deal_II/candi/install/tmp/unpack/Trilinos-trilinos-release-13-2-0/packages/kokkos/core/src/impl/Kokkos_MemoryPool.cpp:112:48:
>
> error: ‘uint32_t’ has not been declared
>    112 | void _print_memory_pool_state(std::ostream& s, uint32_t const*
> sb_state_ptr,
>        |                                                ^~~~~~~~
>
> and later
>
> src/impl/Kokkos_MemoryPool.cpp:49:1: note: ‘uint32_t’ is defined in header
> ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
>     48 | #include <sstream>
>    +++ |+#include <cstdint>
>     49 |
>
> So the Trilinos folks forgot to #include a necessary file; this may have
> worked with some compilers in the past but apparently it does not work
> with
> your compiler. I *suspect* that that is fixed in newer Trilinos versions,
> but
> you can also head the suggestion of adding <cstdint> to the mentioned file
> by
> hand and fix the problem yourself. The file to fix is
>
> /home/narasimhan-swaminathan/Documents/Research/Software/Deal_II/candi/install/tmp/unpack/Trilinos-trilinos-release-13-2-0/packages/kokkos/core/src/impl/Kokkos_MemoryPool.cpp
>
> Best
>   W.
>
> --
> ------------------------------------------------------------------------
> Wolfgang Bangerth          email:                 [email protected]
>                             www: http://www.math.colostate.edu/~bangerth/
>
>
> --
> The deal.II project is located at http://www.dealii.org/
> For mailing list/forum options, see
> https://groups.google.com/d/forum/dealii?hl=en
> ---
> You received this message because you are subscribed to a topic in the
> Google Groups "deal.II User Group" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/dealii/SX4DcgxzqI0/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/dealii/e721a698-ffbe-4e66-9868-4533622db4d0%40colostate.edu
> .
>

-- 
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see 
https://groups.google.com/d/forum/dealii?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dealii/CAC5HXNgyRFODs17ic5cKh%3DE9qKYsfg-cRbRQXz4tu85noec4%2Bg%40mail.gmail.com.

Reply via email to