Changes between Version 1 and Version 2 of Doc/ComputingCenters/LSCE


Ignore:
Timestamp:
03/24/14 16:16:55 (10 years ago)
Author:
trac
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Doc/ComputingCenters/LSCE

    v1 v2  
     1{{{ 
     2#!html 
     3<h1>How to use the IPSL models and tools at LSCE</h1> 
     4}}} 
     5---- 
     6[[PageOutline(1-2,Index du chapitre,,numbered)]] 
     7 
     8The LSCE computing environment is detailed here: [https://w3.lsce.ipsl.fr/informatique/util/index.php]. You can only access this webpage via the LSCE network. 
     9 
     10 * The interactivity 
     11 
     12 The network includes a cluster for the interactive mode. This cluster is considered as a unique machine called '''asterix.lscelb.extra.cea.fr''' which can be shorten into '''asterix.lscelb'''. 
     13 
     14The direct access to the cluster is only possible from the LSCE or from the CCRT machines. The cluster can be accessed via ssh and xdmcp protocols. 
     15 
     16 * The computing cluster 
     17 
     18   The LSCE has a small computing cluster. See its users' manual here: [https://w3.lsce.ipsl.fr/informatique/util/calcul/batch.php]. This cluster is considered as a unique machine called  ''obelix.lscelb.extra.cea.fr'' which can be shorten into '''obelix.lscelb'''. 
     19 
     20## Modipsl and compiling ## 
     21'''By default the compiling is meant to function in MPI parallel mode.''' The compiler is `ifort` (''Intel'' compiler). The '''lxiv8''' target in modipsl/util/AA_make.gdef is used on obelix. To this day, only ORCHIDEE is installed on obelix. [[BR]] 
     22 
     23 
     24You must modify the makefile '''to run in sequential mode'''. To do so change the following lines in modipsl/util/AA_make.gdef 
     25{{{ 
     26#-Q- lxiv8    F_C = mpif90 -c -cpp 
     27#-Q- lxiv8    F_O = -DCPP_PARA -O3 $(F_D) $(F_P) -I$(MODDIR) -module $(MODDIR) 
     28#-Q- lxiv8    F_L = mpif90 
     29}}} 
     30 
     31in  
     32 
     33{{{ 
     34#-Q- lxiv8    F_C = ifort -c -cpp 
     35#-Q- lxiv8    F_O = -O  $(F_D) $(F_P) -I$(MODDIR) -module $(MODDIR) 
     36#-Q- lxiv8    F_L = ifort 
     37}}} 
     38  
     39Then recreate the makefile with ./ins_make and compile as usual.  
     40 
     41## libIGCM and environment ## 
     42 
     43libIGCM can be used on the LSCE computing cluster.  
     44 
     45The default shell at LSCE is `tcsh`, which syntax is different from the `ksh` syntax used by libIGCM. To configure your environment correctly in order to correctly run  libIGCM in `ksh`, the easiest is to copy the files `/home/users/igcmg/.bashrc` in your `$HOME`. 
     46 
     47## Example of parallel MPI job ## 
     48Here is an example of a simple job to run the orchidee_ol executable. All input files and the executable must be in the directory before running the executable.  
     49{{{ 
     50###################### 
     51## OBELIX      LSCE ## 
     52###################### 
     53#PBS -N MyTest 
     54#PBS -m a 
     55#PBS -j oe 
     56#PBS -q medium 
     57#PBS -o Script_Output_SECHSTOM.000001 
     58#PBS -S /bin/ksh 
     59#PBS -v BATCH_NUM_PROC_TOT=4 
     60#PBS -l nodes=1:ppn=4 
     61 
     62cd $PBS_O_WORKDIR 
     63mpirun -np ${BATCH_NUM_PROC_TOT} orchidee_ol 
     64}}} 
     65 
     66 
     67To submit it you need to use the command '''qsub''', and you can follow your simulation with the command '''qstat -u login'''