"Only one thing worse than rotten watermelon, baby poop." I think that this is worse, rotten potatoes that have gone to liquid state.
For the original question, you may have to take a sharp knife and cut around the walls/edges, the carpet may have been installed first and then walls or cupboards put over top. If the subfloor is a plywood/luan etc, let it thoroughly dry out and then paint with a primer designed for sealing the wood. Hot humid weather could draw the smells through the new carpet or floor finish material.
Ken