From ba7775e55cef0a7190026d7296dc61f6a05e2e08 Mon Sep 17 00:00:00 2001 From: ArthurTolley Date: Tue, 18 Jul 2023 02:27:56 -0700 Subject: [PATCH] replacing run.sh code --- examples/live/run.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/examples/live/run.sh b/examples/live/run.sh index 4e4081d9292..bcbc8c6b76b 100755 --- a/examples/live/run.sh +++ b/examples/live/run.sh @@ -124,6 +124,7 @@ mpirun \ -host localhost,localhost \ -n 2 \ --bind-to none \ +-x PYTHONPATH -x LD_LIBRARY_PATH -x OMP_NUM_THREADS -x VIRTUAL_ENV -x PATH -x HDF5_USE_FILE_LOCKING \ \ python -m mpi4py `which pycbc_live` \ --bank-file template_bank.hdf \ @@ -207,6 +208,9 @@ python -m mpi4py `which pycbc_live` \ --sngl-ifar-est-dist conservative \ --verbose +# If you would like to use the pso optimizer, change --optimizer to pso +# and include these arguments while removing other optimizer args. +# You will need to install the pyswarms package into your environment. # --pso-iters 5 \ # --pso-particles 250 \ # --pso-c1 0.5 \