Compiling on a Cray / MI300A system #634
-
I'm trying to compile on Hunter, the new APU cluster in Stuttgart (HLRS). I'm trying to compile the next version (5152fec).
Here's my attempts so far:
I currently don't have the new AMD Fortran compiler (amdflang-new) as a module, so I can't test easily. Has someone else succeded to compile on such a system (LUMI is probably similar)? Thanks in advance! |
Beta Was this translation helpful? Give feedback.
Replies: 9 comments 16 replies
-
Using
|
Beta Was this translation helpful? Give feedback.
-
With the Cray compiler environment, I can finally build. Oddities that I needed to fix:
|
Beta Was this translation helpful? Give feedback.
-
Officially, we do not support the Cray compilers. I recommend using the AMD compilers instead, as they are better supported in our environment. The linking error you encountered suggests that |
Beta Was this translation helpful? Give feedback.
-
For now, I suggest removing the |
Beta Was this translation helpful? Give feedback.
-
Did you delete .cache?
…On Fri, 11 Apr 2025 at 12:27, Jonathan Neuhauser ***@***.***> wrote:
Tried unloading cray-libsci, but now I get (after rebuilding everything)
/NekRS/examples/turbPipePeriodic/.cache/nek5000/libturbPipe.so: undefined
symbol: _dger_
—
Reply to this email directly, view it on GitHub
<#634 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEN2M75NMOHOKRQHFBECWJT2Y6KI5AVCNFSM6AAAAAB23LNIXKVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTEOBQGIZTOMY>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Partial success! I finally get it to compile and run with
The channel case now completes sucessfully. The turbPipePeriodic fails because of the mcmodel issue. |
Beta Was this translation helpful? Give feedback.
-
It might work now with mcmodel = medium as libgcc is different.
…On Fri, 11 Apr 2025 at 14:02, Jonathan Neuhauser ***@***.***> wrote:
Partial success! I finally get it to compile and run with
export FFLAGS="-lgcc"
export CC=cc FC=ftn CXX=CC
module load PrgEnv-amd
module unload cray-libsci
cmake -S . -B build -Wfatal-errors
cmake --build ./build --target install -j24
The channel case now completes sucessfully. The turbPipePeriodic fails
because of the mcmodel issue.
—
Reply to this email directly, view it on GitHub
<#634 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEN2M73ITZJ4JDFZHFKKJML2Y6VODAVCNFSM6AAAAAB23LNIXKVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTEOBQGMZDGNQ>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
To summarize the solution:
|
Beta Was this translation helpful? Give feedback.
-
Please DM me.
…On Mon, 14 Apr 2025 at 11:27, Jonathan Neuhauser ***@***.***> wrote:
I switched to a different linker to circumvent the memory model issue.
export FFLAGS="-fuse-ld=bfd"
Now I can run the turbPipePeriodic case with the original settings.
--cimode=1 timings:
solve 3.16591e+01s 100.0
min 9.43427e-02s
max 8.12869e+00s
flops/rank 1.15927e+12
checkpointing 5.65680e-01s 1.8 1
udfExecuteStep 1.60344e-03s 0.0 200
makef 3.41827e+00s 10.8 200
udfUEqnSource 5.98709e-03s 0.0 0.2 200
udfProperties 8.75081e-04s 0.0 201
velocitySolve 6.08549e+00s 19.2 200
rhs 1.39646e-01s 0.4 2.3 200
pressureSolve 2.11087e+01s 66.7 200
rhs 3.23801e-01s 1.0 1.5 200
preconditioner 1.58768e+01s 50.1 75.2 2271
pMG smoother 1.15140e+01s 36.4 72.5 4542
pMG smoother 1.99949e+00s 6.3 12.6 4542
coarse grid 1.32561e+00s 4.2 8.3 2271
initial guess 3.13625e-01s 1.0 1.5 200
What case do you have comparison for regarding inter-/intra-node MPI
performance?
—
Reply to this email directly, view it on GitHub
<#634 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEN2M77PB4S56INQ55YJJJT2ZN5R5AVCNFSM6AAAAAB23LNIXKVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTEOBSGY4TCMY>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
To summarize the solution: