Software Development on Quest
Software Development on Quest
Software Development on Quest
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Stuck? Need help?<br />
quest-help@northwestern.edu<br />
Best practices<br />
<str<strong>on</strong>g>Software</str<strong>on</strong>g> development<br />
• Write it to be clear and c<strong>on</strong>cise, make sure it<br />
is well commented.<br />
• Portability<br />
• Minimize number of divisi<strong>on</strong>s<br />
• Cache : use of spatial locality<br />
– Row-major in C<br />
– Column-major in Fortran<br />
• Minimize pointer arithmetic, avoid typecasting<br />
and c<strong>on</strong>versi<strong>on</strong>s.<br />
• Avoid branches, c<strong>on</strong>diti<strong>on</strong>als, and IO within<br />
loops