Skip to content

Commit f7a8b84

Browse files
committed
remove debug prints, remove thread_multiple as a parameter to run
1 parent 0384987 commit f7a8b84

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

pyuvsim/uvsim.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -688,7 +688,7 @@ def run_uvdata_uvsim(
688688

689689
# Allow up to 50% of available memory for SkyModel data.
690690
skymodel_mem_max = 0.5 * mem_avail
691-
print(f"Mem {mem_avail}, footprint {skymodel_mem_footprint}")
691+
692692
Nsky_parts = np.ceil(skymodel_mem_footprint / float(skymodel_mem_max))
693693
Nsky_parts = max(Nsky_parts, 1)
694694
if Nsky_parts > Nsrcs:
@@ -786,7 +786,7 @@ def run_uvdata_uvsim(
786786
# These lines are affected by issue 179 of line_profiler, so the nocover
787787
# above will need to stay until this issue is resolved (see profiling.py).
788788
task_inds = np.array(uvdata_indices)
789-
print(f"inds shape {task_inds.shape}")
789+
790790
bl_inds = task_inds[:, 0] % Nbls
791791
time_inds = (task_inds[:, 0] - bl_inds) // Nbls
792792
Ntimes_loc = np.unique(time_inds).size
@@ -814,7 +814,6 @@ def run_uvsim(
814814
params,
815815
return_uv=False,
816816
quiet=False,
817-
thread_multiple=False,
818817
backend="progsteps",
819818
):
820819
"""
@@ -828,9 +827,6 @@ def run_uvsim(
828827
If true, do not write results to file and return uv_out. (Default False)
829828
quiet: bool
830829
If True, do not print anything to stdout. (Default False)
831-
thread_multiple : bool
832-
When set to True uses the MPI.THREAD_MULTIPLE otherwise use MPI.THREAD_SERIALIZED
833-
(Default False)
834830
backend : str
835831
Specifies the backend monitor for simulation progress and display.
836832
The `tqdm` module is required for 'tqdm' and 'send_recv'

0 commit comments

Comments
 (0)