It was supposed to be a grand celebration of the engineering triumph that forged a nation.

Instead, the 100th anniversary of the Panama Canal’s opening Aug. 15 was marred by doubts about the country’s ability to harness the full benefits of a multibillion-dollar expansion beset by cost overruns, strikes and the threat of competition from rival projects.