diff --git a/makefile_and_run.py b/makefile_and_run.py index 4f00100..096ed58 100755 --- a/makefile_and_run.py +++ b/makefile_and_run.py @@ -15,12 +15,13 @@ import time ## taskset ensures all child processes inherit the CPU affinity mask ## This forces make and all compiler processes to use only nohz_full cores (4-55, 60-111) ## Format: taskset -c 4-55,60-111 ensures processes only run on these cores -NUMACTL_CPU_BIND = "taskset -c 0-111" +#NUMACTL_CPU_BIND = "taskset -c 0-111" +NUMACTL_CPU_BIND = "taskset -c 16-47,64-95" ## Build parallelism configuration ## Use nohz_full cores (4-55, 60-111) for compilation: 52 + 52 = 104 cores ## Set make -j to utilize available cores for faster builds -BUILD_JOBS = 104 +BUILD_JOBS = 96 ################################################################## @@ -117,6 +118,7 @@ def run_ABE(): if (input_data.GPU_Calculation == "no"): mpi_command = NUMACTL_CPU_BIND + " mpirun -np " + str(input_data.MPI_processes) + " ./ABE" + #mpi_command = " mpirun -np " + str(input_data.MPI_processes) + " ./ABE" mpi_command_outfile = "ABE_out.log" elif (input_data.GPU_Calculation == "yes"): mpi_command = NUMACTL_CPU_BIND + " mpirun -np " + str(input_data.MPI_processes) + " ./ABEGPU" @@ -158,7 +160,8 @@ def run_TwoPunctureABE(): print( ) ## Define the command to run - TwoPuncture_command = NUMACTL_CPU_BIND + " ./TwoPunctureABE" + #TwoPuncture_command = NUMACTL_CPU_BIND + " ./TwoPunctureABE" + TwoPuncture_command = " ./TwoPunctureABE" TwoPuncture_command_outfile = "TwoPunctureABE_out.log" ## Execute the command with subprocess.Popen and stream output