Exawind / nalu-wind

Solver for wind farm simulations targeting exascale computational platforms
https://nalu-wind.readthedocs.io
Other
122 stars 83 forks source link

Some questions about Trilinos #1247

Closed Z0907Q closed 2 months ago

Z0907Q commented 5 months ago

Dear Scientist, I'm sorry to contact you again, but this error really needs your help. When I build with Spack, the following error occurs。 313646106-310d39d1-4d59-4759-99e1-9151092c14bc Maybe you should check it. I look forward to hearing from you. Thank you.

psakievich commented 5 months ago

That version of trilinos is too old. We have a pr to update the spack packages. In the mean time if you are in the container try,

quick-create --name test --specs nalu-wind 

spack install

To create a spack environment named test and build nalu-wind there.

Z0907Q commented 5 months ago

那个版本的trilinos太旧了。我们有一个 pr 来更新 spack 包。同时,如果您在容器中,请尝试,

quick-create --name test --specs nalu-wind 

spack install

创建一个名为 test 的 spack 环境并在那里构建 nalu-wind。

I'm sorry, I don't see what you mean。How do I update the trilinos version?

Z0907Q commented 5 months ago

That version of trilinos is too old. We have a pr to update the spack packages. In the mean time if you are in the container try,

quick-create --name test --specs nalu-wind 

spack install

To create a spack environment named test and build nalu-wind there. I would like to ask you to help me see if these orders are correct. docker pull ecpe4s/exawind-snapshot:latest docker run -it ecpe4s/exawind-snapshot bash spack install nalu-wind spack load nalu-wind Is my build process correct?

psakievich commented 5 months ago

The issue is the configurations for trilinos are not right b/c if you naively spack install nalu-wind you are missing the additional constraints that we haven't upstreamed to spack yet. We have a PR open here that will update core spack https://github.com/spack/spack/pull/40793, but it still needs more work.

Using one of our spack environments via quick-create should add the correct constraints and spack's solver would then pick the correct trilinos.

Z0907Q commented 5 months ago

The issue is the configurations for trilinos are not right b/c if you naively spack install nalu-wind you are missing the additional constraints that we haven't upstreamed to spack yet. We have a PR open here that will update core spack spack/spack#40793, but it still needs more work.

Using one of our spack environments via quick-create should add the correct constraints and spack's solver would then pick the correct trilinos. However, spack/ Spack #40793 was not updated successfully

psakievich commented 2 months ago

This issue should be resolved now. Please re-open if that is not the case