Changeset 374


Ignore:
Timestamp:
10/16/12 15:13:27 (11 years ago)
Author:
aclsce
Message:
  • Created test_client (from test_cs) to have test_client and xios_server instead of test_cs
  • Modifed make_xios to allow the installation through make_xios
  • Modified bld.cfg to add the creation of new executable file test_client.exe
Location:
XIOS/trunk
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • XIOS/trunk/bld.cfg

    r371 r374  
    3131#bld::target test.exe 
    3232#bld::target generate_fortran_interface.exe  
    33 bld::target xios_server.exe test_cs.exe 
     33bld::target xios_server.exe test_cs.exe test_client.exe 
    3434bld::exe_dep 
    3535 
  • XIOS/trunk/make_xios

    r373 r374  
    1111      case $1 in 
    1212         "-h") 
    13             # A modifier 
     13            echo "make_xios - installs XIOS on your architecture" 
     14            echo "make_xios [options]" 
     15            echo "options :" 
     16            echo "       [--prod] : compilation in production mode" 
     17            echo "       [--dev] : compilation in development mode" 
     18            echo "       [--debug] : compilation in debug mode" 
     19            echo "       --arch arch : to choose target architecture" 
     20            echo "       [--avail] : to know available target architectures " 
     21            echo "       [--full] : to generate dependencies and recompile from scratch" 
     22            echo "       [--use_oasis] : to use Oasis coupler" 
     23            echo "       [--doc] : to generate Doxygen documentation (not available yet)" 
     24            echo "       [--job ntasks] : to use parallel compilation with ntasks" 
     25            echo "Example : ./make_xios --prod --arch PW6_VARGAS" 
     26            echo "Example : ./make_xios --avail" 
    1427            exit;; 
    15  
    1628         "--prod")  compil_mode="prod"  ; shift ;; 
    1729         "--dev")   compil_mode="dev"   ; shift ;; 
    1830         "--debug") compil_mode="debug" ; shift ;; 
    1931         "--arch")  arch=$2     ; shift ; shift ;; 
     32         "--avail") ls arch/*.fcm | cut -d"-" -f2 | cut -d".fcm" -f1 ; exit ;;  
    2033         "--full")  compil_full="true"  ; shift ;; 
    2134         "--use_oasis")  use_oasis="true"  ; shift  ;; 
     
    2639   done 
    2740 
     41# Installation des sources 
     42for tarname in `ls $install_dir/tools/archive | grep tar.gz` ; do 
     43    echo -e "- uncompress archives ..." 
     44    gunzip -f "$tarname" 
     45    tar -xf ${tarname%.gz} 
     46done 
     47 
    2848# Vérification de la présence d'un identifiant d'architecture. 
    2949 
    3050############################################################### 
    31 # lecture des chemins propres ï¿œ l'architecture de la machine # 
     51# lecture des chemins propres a l'architecture de la machine # 
    3252#           et configuration de l'environnement              # 
    3353############################################################### 
Note: See TracChangeset for help on using the changeset viewer.