Skip to content

Commit

Permalink
Remove OQ_DISTRIBUTE=zmq whilre running demos
Browse files Browse the repository at this point in the history
  • Loading branch information
ptormene committed Aug 3, 2023
1 parent df157c5 commit b13eb7a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/macos_intel_install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,13 +63,13 @@ jobs:
# run demos with job_hazard.ini and job_risk.ini
for demo_dir in $(find . -type d | sort); do
if [ -f $demo_dir/job_hazard.ini ]; then
OQ_DISTRIBUTE=zmq oq engine --run $demo_dir/job_hazard.ini --exports npz -p pointsource_distance=0
OQ_DISTRIBUTE=zmq oq engine --run $demo_dir/job_risk.ini --hc -1
oq engine --run $demo_dir/job_hazard.ini --exports npz -p pointsource_distance=0
oq engine --run $demo_dir/job_risk.ini --hc -1
fi
done
# run the other demos
for ini in $(find . -name job.ini | sort); do
OQ_DISTRIBUTE=zmq oq engine --run $ini --exports xml,hdf5 -p pointsource_distance=0 -r
oq engine --run $ini --exports xml,hdf5 -p pointsource_distance=0 -r
done
- name: Run tests for calculators and advanced manual to test installation
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/macos_m1_monterey_install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,13 +91,13 @@ jobs:
# run demos with job_hazard.ini and job_risk.ini
for demo_dir in $(find . -type d | sort); do
if [ -f $demo_dir/job_hazard.ini ]; then
OQ_DISTRIBUTE=zmq oq engine --run $demo_dir/job_hazard.ini --exports npz -p pointsource_distance=0
OQ_DISTRIBUTE=zmq oq engine --run $demo_dir/job_risk.ini --hc -1
oq engine --run $demo_dir/job_hazard.ini --exports npz -p pointsource_distance=0
oq engine --run $demo_dir/job_risk.ini --hc -1
fi
done
# run the other demos
for ini in $(find . -name job.ini | sort); do
OQ_DISTRIBUTE=zmq oq engine --run $ini --exports xml,hdf5 -p pointsource_distance=0 -r
oq engine --run $ini --exports xml,hdf5 -p pointsource_distance=0 -r
done
- name: Run tests for calculators and advanced manual to test installation
Expand Down

0 comments on commit b13eb7a

Please sign in to comment.