It will vary based on what kind of structures you want to perform optimization on. With grossly provided information, I'd say you can go through the manuals of corresponding packages you'll be using. They should be able to provide more specific information or protocols.