@User You can avoid running Magic DRC in openlane flow by adding -no_drc switch in Makefile
OPENLANE_BASIC_COMMAND = "cd /project/openlane && flow.tcl -design ./$* -save_path .. -save -tag $* -overwrite"
to
OPENLANE_BASIC_COMMAND = "cd /project/openlane && flow.tcl -design ./$* -save_path .. -save -no_drc -tag $* -overwrite"
And use the run-precheck to validate the Magic DRC which uses SRAM LEF for DRC checks, Note : Precheck Script uses SRAM in Open_PDK path for LEF replacement.
In LEF based Magic DRC flow, if you find small number of DRC around memory which can be avoided by adding blockage around SRAM using set ::env(GLB_RT_OBS)=