Difference between revisions of "General computing resources"

From NEClusterWiki
Jump to navigation Jump to search
Line 18: Line 18:
 
===Other===
 
===Other===
 
* [http://henrikwarne.com/2012/12/12/working-as-a-software-developer/ Working as a Software Developer] - useful read if you touch any code
 
* [http://henrikwarne.com/2012/12/12/working-as-a-software-developer/ Working as a Software Developer] - useful read if you touch any code
 +
* [http://www.fortran-2000.com/ArnaudRecipes/CompilerTricks.html] Compiler and tools tricks
 
* [http://www.nawaz.org/posts/2012/Dec/a-guide-to-midnight-commander/ A Guide to Midnight Commander]
 
* [http://www.nawaz.org/posts/2012/Dec/a-guide-to-midnight-commander/ A Guide to Midnight Commander]
 
* [http://cb.vu/unixtoolbox.xhtml UNIX toolbox]
 
* [http://cb.vu/unixtoolbox.xhtml UNIX toolbox]

Revision as of 22:38, 26 September 2013

C++

Fortran

Python

Other

gcc/g++/gfortran compiler flags

Here are some useful flags to use when developing a code, or trying to find why code crashes:

-Wall -Wextra -Wconversion -pedantic -ffpe-trap=zero,overflow,underflow,invalid  -ftrapv
-ffree-line-length-none -finit-local-zero -fbounds-check -fcheck-array-temporaries

Use man gcc to find details about each.

I often remove "underflow" from the list, since it just makes small floating point numbers to zero, but it is useful to know.