Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow multiple OpenBLAS OpenMP calls to run in parallel #138

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
65 changes: 18 additions & 47 deletions .azure-pipelines/azure-pipelines-win.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions .ci_support/osx_64_SYMBOLSUFFIX64_name_suffix-ilp64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ USE_OPENMP:
c_compiler:
- clang
c_compiler_version:
- '12'
- '13'
channel_sources:
- conda-forge
channel_targets:
Expand All @@ -19,7 +19,7 @@ fortran_compiler:
fortran_compiler_version:
- '9'
llvm_openmp:
- '12'
- '13'
macos_machine:
- x86_64-apple-darwin13.4.0
name_suffix:
Expand Down
4 changes: 2 additions & 2 deletions .ci_support/osx_64_SYMBOLSUFFIXname_suffix.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ USE_OPENMP:
c_compiler:
- clang
c_compiler_version:
- '12'
- '13'
channel_sources:
- conda-forge
channel_targets:
Expand All @@ -19,7 +19,7 @@ fortran_compiler:
fortran_compiler_version:
- '9'
llvm_openmp:
- '12'
- '13'
macos_machine:
- x86_64-apple-darwin13.4.0
name_suffix:
Expand Down
4 changes: 2 additions & 2 deletions .ci_support/osx_arm64_.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ USE_OPENMP:
c_compiler:
- clang
c_compiler_version:
- '12'
- '13'
channel_sources:
- conda-forge
channel_targets:
Expand All @@ -19,7 +19,7 @@ fortran_compiler:
fortran_compiler_version:
- '11'
llvm_openmp:
- '12'
- '13'
macos_machine:
- arm64-apple-darwin20.0.0
name_suffix:
Expand Down
3 changes: 2 additions & 1 deletion .circleci/config.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

64 changes: 32 additions & 32 deletions README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion recipe/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,12 @@ if [[ "$PKG_VERSION" == "0.3.11" ]]; then
sed -i.bak 's/$(BUILD_COMPLEX16)> $(@F)/$(BUILD_COMPLEX16) > $(@F)/g' exports/Makefile
fi

NUM_PARALLEL=1
if [[ "$USE_OPENMP" == "1" ]]; then
# Run the the fork test
sed -i.bak 's/test_potrs.o/test_potrs.o test_fork.o/g' utest/Makefile
# Allow multiple OpenBLAS OpenMP calls to run in parallel
NUM_PARALLEL=32
fi

if [ ! -z "$FFLAGS" ]; then
Expand Down Expand Up @@ -67,7 +70,7 @@ export HOSTCC=$CC_FOR_BUILD
# Tests are run as part of build
make QUIET_MAKE=${QUIET_MAKE} DYNAMIC_ARCH=${DYNAMIC_ARCH} BINARY=${BINARY} NO_LAPACK=0 CFLAGS="${CF}" \
HOST=${HOST} TARGET=${TARGET} CROSS_SUFFIX="${HOST}-" \
NO_AFFINITY=1 USE_THREAD=1 NUM_THREADS=128 USE_OPENMP="${USE_OPENMP}" \
NO_AFFINITY=1 USE_THREAD=1 NUM_THREADS=128 USE_OPENMP="${USE_OPENMP}" NUM_PARALLEL="${NUM_PARALLEL}" \
INTERFACE64=${INTERFACE64} SYMBOLSUFFIX=${SYMBOLSUFFIX}
make install PREFIX="${PREFIX}"

Expand Down