Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
en:centro:servizos:hpc:escribir_script [2016/06/21 14:33] – created fernando.guillenen:centro:servizos:hpc:escribir_script [2016/06/22 11:10] (current) fernando.guillen
Line 8: Line 8:
 === C/C++/Fortran Compilation === === C/C++/Fortran Compilation ===
  
-The GNU compiler collection (GCC) is accessible in the cluster trough its commands and usual options. By default the compilers installed are from the GCC 4.7.2 version. ((In this version  there is a optimization option (''march'') to generate code specifically for the cluster's nodes architecture (Opteron 6200 series, 15th Family //Bulldozer// Interlagos). This compilation option doesn't guarantee that the mathematical standard defined in GCC is followed, so its use is not recommended unless you know what you're doing.+The GNU compiler collection (GCC) is accessible in the cluster trough its commands and usual options. By default the compilers installed are from the GCC 4.7.2 version. ((In this version  there is a optimization option (''march'') to generate code specifically for the cluster's nodes architecture (Opteron 6200 series, 15th Family //Bulldozer// Interlagos). This compilation option doesn't guarantee that the mathematical standard defined in GCC is followed, so its use is not recommended unless you know what you're doing.))
  
 <code bash> <code bash>
Line 18: Line 18:
  
 The recommended options are: The recommended options are:
-  * ''-O'' Generate optimized code to get better performance. Is equivalent to ''-O1''. Alternatively, you can use the options ''-O0'', ''-O2'' or ''-O3''. Number indicates the optimization level, being 0 the less optimization and 3 the most (( 3 is quite aggressive and can lead to issues). +  * ''-O'' Generate optimized code to get better performance. Is equivalent to ''-O1''. Alternatively, you can use the options ''-O0'', ''-O2'' or ''-O3''. Number indicates the optimization level, being 0 the less optimization and 3 the most (( 3 is quite aggressive and can lead to issues)). 
   * ''-o <name>'' Sets the binary file name.   * ''-o <name>'' Sets the binary file name.
  
Line 24: Line 24:
 === OpenMP Compilation === === OpenMP Compilation ===
  
-La colección de compiladores GCC permite la compilación de código OpenMP, indicándolo mediante la opción ''-fopenmp''.+The GCC compiler collection allows for the compilation of OpenMP code using the ''-fopenmp'' option
  
 <code bash> <code bash>