Skip to content

Commit

Permalink
[linux] added MED, GOTM, MUMPS + patch for global models +
Browse files Browse the repository at this point in the history
  • Loading branch information
tomsail committed Jan 30, 2024
1 parent df2599a commit 7d9ad55
Show file tree
Hide file tree
Showing 4 changed files with 1,007 additions and 20 deletions.
24 changes: 24 additions & 0 deletions matrix_build.sh
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
4 changes: 2 additions & 2 deletions recipe/configs/systel.linux.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ cmd_obj_c: gcc -c [cflags] <srcName> -o <objName>
brief: Scibian 10 dynamic build using GFortran 8.3.0 and Open MPI.
options: api
#
f2py_name: f2py3
f2py_name: f2py
pyd_fcompiler: gnu95
sfx_lib: .so
#
Expand All @@ -115,7 +115,7 @@ cflags: -fPIC
brief: Scibian 10 dynamic build using GFortran 8.3.0 and Open MPI, in debug mode.
options: api
#
f2py_name: f2py3
f2py_name: f2py
pyd_fcompiler: gnu95
sfx_lib: .so
#
Expand Down
Loading

0 comments on commit 7d9ad55

Please sign in to comment.