forked from nicogodet/telemac-mascaret-feedstock
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[linux] added MED, GOTM, MUMPS + patch for global models +
- Loading branch information
Showing
4 changed files
with
1,007 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# Define your matrices | ||
python_versions=("3.8" "3.9" "3.10" "3.11" "3.12") | ||
numpy_versions=("1.19" "1.20" "1.21" "1.22" "1.23" "1.24" "1.25" "1.26") | ||
mpi_versions=("openmpi" ) | ||
|
||
# File to store the build results | ||
results_file="build_results.txt" | ||
|
||
# Loop over each configuration | ||
for py in "${python_versions[@]}"; do | ||
for np in "${numpy_versions[@]}"; do | ||
for mpi in "${mpi_versions[@]}"; do | ||
echo "Building for Python $py, NumPy $np, and MPI $mpi" | ||
# Run conda build and check the result | ||
if conda build recipe --variants="{mpi: '$mpi', python: '$py', numpy: '$np'}" -c tomsail; then | ||
# If build succeeds | ||
echo "SUCCESS: Python $py, NumPy $np, MPI $mpi" >> "$results_file" | ||
else | ||
# If build fails | ||
echo "FAIL: Python $py, NumPy $np, MPI $mpi" >> "$results_file" | ||
fi | ||
done | ||
done | ||
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.