Strength of materials under static loading in the diamond anvil cell