Environnement Commun Linux : Différence entre versions

Un article de Informaticiens département des sciences de la Terre et l'atmosphère
Aller à: navigation, charcher
m
m
 
(17 révisions intermédiaires par 2 utilisateurs non affichées)
Ligne 1: Ligne 1:
{| width="100%" cellspacing="2" cellpadding="10" style="border: 0px none;"
+
*[[Login-Profile|Environment control via .profile]]
|-
+
*[[Running job monitor|Running job monitor]]
| width="50%" valign="top" style="background: none repeat scroll 0% 0% rgb(238, 255, 255); border: 0px solid rgb(170, 170, 170);" |  
+
*[[Queued Work Stream|Queued work streams]]
en construction(cette page s'adresse principalement aux développeurs)<br>
+
*Utility libraries
 
+
**[[Utility library hpcsperf|hpcsperf]]
| valign="top" style="background: none repeat scroll 0% 0% rgb(255, 255, 238); border: 0px solid rgb(170, 170, 170);" |
+
**rmnlib
under construction(this page is mainly for developers)<br>
+
**rpn_comm
 
+
**JIO (io monitoring)  
|}
 
 
 
 
*Useful environment variables  
 
*Useful environment variables  
 
**'''PATH'''&nbsp;: colon ':' separated list of directories where executables or sourced (.) shell includes are to be found<br>  
 
**'''PATH'''&nbsp;: colon ':' separated list of directories where executables or sourced (.) shell includes are to be found<br>  
Ligne 17: Ligne 15:
 
**'''EC_ARCH'''&nbsp;: name of the hardware+software architecture of the machine ('''BASE_ARCH''' + compiler usually)  
 
**'''EC_ARCH'''&nbsp;: name of the hardware+software architecture of the machine ('''BASE_ARCH''' + compiler usually)  
 
*Useful memory layout information  
 
*Useful memory layout information  
**Linux memory layout<br>
+
**[[Linux memory layout|Linux memory layout]]<br>  
 
 
128 TB ---------------------------------  Top of memory
 
 
                  |  thread 0 (master) stack
 
                  |  local variables
 
                \ /
 
 
 
 
                / \
 
                  |
 
                  |  heap (allocate/malloc)
 
 
~44 TB ---------------------------------
 
 
                  |  thread N stack
 
                  |
 
                \ /
 
 
                  |  thread N-1 stack
 
                  |
 
                \ /
 
 
                ...
 
 
                  |  thread 1 stack
 
                  |
 
                \ /
 
 
 
                / \
 
                  |  code + static data
 
                  |  (common blocks + some main program arrays)
 
                  |
 
 
000 ---------------------------------- Bottom of memory
 
 
 
**'''OMP_STACKSIZE''' environment variable controls thread (&gt;0) stack size
 
 
*Useful information about system  
 
*Useful information about system  
**'''/proc/cpuinfo'''&nbsp;: pseudo file containing a full description of logical cpus in a linux system (cat/less/more)&lt;br&gt;
+
**'''/proc/cpuinfo'''&nbsp;: pseudo file containing a full description of logical cpus in a linux system (cat/less/more)  
*useful commands&lt;br&gt;
+
*Some useful commands  
**'''r.mpirun'''&nbsp;: script front end to mpiexec hiding machine/mpi implementation specific details  
+
**'''r.mpirun2''' : script front end to mpiexec hiding machine/mpi implementation specific details  
**'''soumet'''&nbsp;: script used to submit jobs, hiding machine/batch subsystem specific details&lt;br&gt;
+
**[[Soumet : travaux par lots / batch jobs|'''ord_soumet''']]&nbsp;: script used to submit jobs, hiding machine/batch subsystem specific details

Version actuelle datée du 7 d'août 2013 à 21:40

  • Environment control via .profile
  • Running job monitor
  • Queued work streams
  • Utility libraries
    • hpcsperf
    • rmnlib
    • rpn_comm
    • JIO (io monitoring)
  • Useful environment variables
    • PATH : colon ':' separated list of directories where executables or sourced (.) shell includes are to be found
    • LD_LIBRARY_PATH : colon ':' separated list of directories where dynamic libraries (.so files) needed by executables can be found
    • EC_LD_LIBRARY_PATH : colon ':' separated list of directories where s.compile, s.f90  et al. will look for libraries
    • EC_INCLUDE_PATH : colon ':' separated list of directories where s.compile, s.f90  et al. will look for include files
    • BASE_ARCH : name of the hardware architecture of the machine
    • EC_ARCH : name of the hardware+software architecture of the machine (BASE_ARCH + compiler usually)
  • Useful memory layout information
  • Useful information about system
    • /proc/cpuinfo : pseudo file containing a full description of logical cpus in a linux system (cat/less/more)
  • Some useful commands
    • r.mpirun2 : script front end to mpiexec hiding machine/mpi implementation specific details
    • ord_soumet : script used to submit jobs, hiding machine/batch subsystem specific details