Skip to content

Commit

Permalink
Merge pull request #94 from jaimergp/patch-1
Browse files Browse the repository at this point in the history
Enable ppc64le
  • Loading branch information
ocefpaf authored Dec 23, 2019
2 parents 099ecbb + f39c834 commit 3fb09b1
Show file tree
Hide file tree
Showing 8 changed files with 176 additions and 8 deletions.
33 changes: 33 additions & 0 deletions .ci_support/linux_ppc64le_mpimpich.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
bzip2:
- '1'
c_compiler:
- gcc
c_compiler_version:
- '8'
channel_sources:
- conda-forge,defaults
channel_targets:
- conda-forge main
curl:
- '7.64'
docker_image:
- condaforge/linux-anvil-ppc64le
hdf4:
- '4.2'
jpeg:
- '9'
mpi:
- mpich
pin_run_as_build:
bzip2:
max_pin: x
curl:
max_pin: x
hdf4:
max_pin: x.x
jpeg:
max_pin: x
zlib:
max_pin: x.x
zlib:
- '1.2'
33 changes: 33 additions & 0 deletions .ci_support/linux_ppc64le_mpinompi.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
bzip2:
- '1'
c_compiler:
- gcc
c_compiler_version:
- '8'
channel_sources:
- conda-forge,defaults
channel_targets:
- conda-forge main
curl:
- '7.64'
docker_image:
- condaforge/linux-anvil-ppc64le
hdf4:
- '4.2'
jpeg:
- '9'
mpi:
- nompi
pin_run_as_build:
bzip2:
max_pin: x
curl:
max_pin: x
hdf4:
max_pin: x.x
jpeg:
max_pin: x
zlib:
max_pin: x.x
zlib:
- '1.2'
33 changes: 33 additions & 0 deletions .ci_support/linux_ppc64le_mpiopenmpi.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
bzip2:
- '1'
c_compiler:
- gcc
c_compiler_version:
- '8'
channel_sources:
- conda-forge,defaults
channel_targets:
- conda-forge main
curl:
- '7.64'
docker_image:
- condaforge/linux-anvil-ppc64le
hdf4:
- '4.2'
jpeg:
- '9'
mpi:
- openmpi
pin_run_as_build:
bzip2:
max_pin: x
curl:
max_pin: x
hdf4:
max_pin: x.x
jpeg:
max_pin: x
zlib:
max_pin: x.x
zlib:
- '1.2'
30 changes: 30 additions & 0 deletions .travis.yml

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

38 changes: 30 additions & 8 deletions README.md

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

1 change: 1 addition & 0 deletions conda-forge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ travis:
secure: {BINSTAR_TOKEN: Nx8IpDAhzL7IVDEQVjcFhKVH6LKxvhEZm0fBUI6naCi+H41Byd/EBqaGwJkYmY+Nuy3xeGh3778DpWdmyPcs3FR6i/LQ3dJV26sJDvGLDYM2DTgy42IUwA47z1vaHjGJdYbt2mKwHYmR8TOmO0Luwb2K3AFJ3y0XLWMXX8CZRFOtOjtRtsEIOARWtYdeepQB6TCaedD9hqbwYSY3+enAYkGYVvurvJNQGe37E7oIuS07XR+JyieoYpP6/SX1gF3P5LdDolANeoDtTTNXvElkpZRbpXDoYU7wzUzFFwc8RLe4pLIKhaD0uS55zeEnFt3SJpO/deK5SdIMITzNSe9aUE53lBFNZ6DHcXHvSVlQN4Vxq23iT7wyNLjUOvtaPiWpIt5UebWSDsQjQhwoNGLell5R8QOimlPtjiC8g7mLgatbsh4wIscsY/Pbk/Jc76hz0tndOfR3LJw8xZLBW8WTKikX6jTS9ECJLYduu2r9SEkqCPyCNHNlv2kc4lmfca4WW7dxIMXslmCJRoT0iGVCGKmeJz5xLNtrFzKdOIXtMnVxAhhFCWLXM7nlU8nVYNjMLAPDRBGA//bLqgosElHZo3tiwd02JXB4HZkTWF6tADtxBCPgT1R+xxqQ6yBVB4sVYEfY5p76VPybO3vGYFlxmJA1piV3xVBzv3/jsAbLoDc=}
provider:
win: azure
linux_ppc64le: default
1 change: 1 addition & 0 deletions recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ source:
- patches/0009-topsrcdir.patch
- patches/prevent_MS_runtime_libs_being_installed_again.patch # [win]
- patches/strdup.patch
- patches/do_not_use_16_processes_in_tests.patch # [ppc64le]

build:
number: {{ build }}
Expand Down
15 changes: 15 additions & 0 deletions recipe/patches/do_not_use_16_processes_in_tests.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
diff --git a/nc_test4/run_par_test.sh.in b/nc_test4/run_par_test.sh.in
index 2bd12fff..cc492ce5 100644
--- a/nc_test4/run_par_test.sh.in
+++ b/nc_test4/run_par_test.sh.in
@@ -17,8 +17,8 @@ echo
echo "Testing very simple parallel I/O with 4 processors..."
@MPIEXEC@ -n 4 ./tst_parallel
echo
-echo "Testing simple parallel I/O with 16 processors..."
-@MPIEXEC@ -n 16 ./tst_parallel3
+echo "Testing simple parallel I/O with 16 processors... [Patched to 4 processors]"
+@MPIEXEC@ -n 4 ./tst_parallel3
echo
echo "num_proc time(s) write_rate(B/s)"
@MPIEXEC@ -n 1 ./tst_parallel4

0 comments on commit 3fb09b1

Please sign in to comment.