Skip to content

Conversation

@miguelmaso
Copy link
Collaborator

I've started to try to launch distributed runs on a cluster (not working yet). I experienced some issues when precompiling HyperFEM, because of the dependencies (mismatch between the system libraries and the Julia libraries).

I find it better to remove the strong dependencies on HPC libraries that are not directly used by HyperFEM. Those are dependencies of the specific project using HyperFEM and HPC.

@miguelmaso miguelmaso requested a review from jmartfrut January 15, 2026 11:48
@miguelmaso
Copy link
Collaborator Author

Note: the proper way to solve this issue is to create an extension package (HyperFEMDistributed) with the MPI libraries

@github-actions
Copy link

github-actions bot commented Jan 15, 2026

Benchmark Results (Julia v1)

Time benchmarks
main 1e8585a... main / 1e8585a...
Constitutive models/Visco-elastic Ψ 0.0509 ± 0.027 ms 0.0495 ± 0.027 ms 1.03 ± 0.78
Constitutive models/Visco-elastic ∂Ψu 0.0664 ± 0.0065 ms 0.0656 ± 0.0058 ms 1.01 ± 0.13
Constitutive models/Visco-elastic ∂Ψuu 0.117 ± 0.016 ms 0.115 ± 0.015 ms 1.02 ± 0.19
Simulations/StaticMechanicalDirichlet 0.155 ± 0.01 s 0.151 ± 0.01 s 1.03 ± 0.098
Simulations/StaticMechanicalNeumann 0.139 ± 0.014 s 0.134 ± 0.015 s 1.04 ± 0.16
Simulations/ViscoElastic 21.5 s 21.1 s 1.02
Tensor algebra/Cofactor 0.089 ± 0.01 μs 0.07 ± 0.009 μs 1.27 ± 0.22
Tensor algebra/Det(A)Inv(A') 0.14 ± 0.001 μs 0.131 ± 0.01 μs 1.07 ± 0.082
Tensor algebra/δδ_λ_2d 30 ± 0 ns 30 ± 0 ns 1 ± 0
Tensor algebra/δδ_μ_2d 30 ± 0 ns 30 ± 0 ns 1 ± 0
time_to_load 2.57 ± 0.012 s 2.47 ± 0.0083 s 1.04 ± 0.0059
Memory benchmarks
main 1e8585a... main / 1e8585a...
Constitutive models/Visco-elastic Ψ 1.24 k allocs: 0.0777 MB 1.24 k allocs: 0.0777 MB 1
Constitutive models/Visco-elastic ∂Ψu 1.36 k allocs: 0.0898 MB 1.36 k allocs: 0.0898 MB 1
Constitutive models/Visco-elastic ∂Ψuu 2.32 k allocs: 0.155 MB 2.32 k allocs: 0.155 MB 1
Simulations/StaticMechanicalDirichlet 1.61 M allocs: 0.115 GB 1.61 M allocs: 0.115 GB 1
Simulations/StaticMechanicalNeumann 1.48 M allocs: 0.0933 GB 1.48 M allocs: 0.0933 GB 1
Simulations/ViscoElastic 0.343 G allocs: 22 GB 0.343 G allocs: 22 GB 1
Tensor algebra/Cofactor 1 allocs: 0.0781 kB 1 allocs: 0.0781 kB 1
Tensor algebra/Det(A)Inv(A') 4 allocs: 0.25 kB 4 allocs: 0.25 kB 1
Tensor algebra/δδ_λ_2d 0 allocs: 0 B 0 allocs: 0 B
Tensor algebra/δδ_μ_2d 0 allocs: 0 B 0 allocs: 0 B
time_to_load 0.149 k allocs: 11.1 kB 0.149 k allocs: 11.1 kB 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants