Skip to content

Commit

Permalink
Running CI again now that VMEC MPI communicator has been fixed for fr…
Browse files Browse the repository at this point in the history
…ee boundary
  • Loading branch information
landreman committed Jul 19, 2023
1 parent 67150fe commit 714f4c5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion examples/2_Intermediate/free_boundary_vmec.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
This example shows how to take coils in simsopt, write an mgrid file, and then
run free-boundary vmec. No optimization of the plasma or coil shapes is
performed in this example.
You can run this example with one or multiple MPI processes.
"""

from pathlib import Path
Expand Down Expand Up @@ -67,4 +69,4 @@
assert vmec.wout.ier_flag == 0
np.testing.assert_allclose(vmec.wout.volume_p, 28.6017247168422, rtol=0.01)
np.testing.assert_allclose(vmec.wout.rmnc[0, 0], 5.561878306096512, rtol=0.01)
np.testing.assert_allclose(vmec.wout.bmnc[0, 1], 2.78074392223658, rtol=0.01)
np.testing.assert_allclose(vmec.wout.bmnc[0, 1], 2.78074392223658, rtol=0.01)
2 changes: 1 addition & 1 deletion examples/run_vmec_examples
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ mpiexec $MPI_OPTIONS -n 2 ./2_Intermediate/constrained_optimization.py

mpiexec $MPI_OPTIONS -n 2 ./2_Intermediate/QH_fixed_resolution.py
mpiexec $MPI_OPTIONS -n 2 ./2_Intermediate/QH_fixed_resolution_boozer.py
./2_Intermediate/free_boundary_vmec.py
mpiexec $MPI_OPTIONS -n 2 ./2_Intermediate/free_boundary_vmec.py

mpiexec $MPI_OPTIONS -n 2 ./3_Advanced/single_stage_optimization.py
mpiexec $MPI_OPTIONS -n 2 ./3_Advanced/single_stage_optimization_finite_beta.py
Expand Down

0 comments on commit 714f4c5

Please sign in to comment.