Changeset 374 for XIOS/trunk/make_xios
- Timestamp:
- 10/16/12 15:13:27 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/trunk/make_xios
r373 r374 11 11 case $1 in 12 12 "-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" 14 27 exit;; 15 16 28 "--prod") compil_mode="prod" ; shift ;; 17 29 "--dev") compil_mode="dev" ; shift ;; 18 30 "--debug") compil_mode="debug" ; shift ;; 19 31 "--arch") arch=$2 ; shift ; shift ;; 32 "--avail") ls arch/*.fcm | cut -d"-" -f2 | cut -d".fcm" -f1 ; exit ;; 20 33 "--full") compil_full="true" ; shift ;; 21 34 "--use_oasis") use_oasis="true" ; shift ;; … … 26 39 done 27 40 41 # Installation des sources 42 for 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} 46 done 47 28 48 # Vérification de la présence d'un identifiant d'architecture. 29 49 30 50 ############################################################### 31 # lecture des chemins propres ï¿œl'architecture de la machine #51 # lecture des chemins propres a l'architecture de la machine # 32 52 # et configuration de l'environnement # 33 53 ###############################################################
Note: See TracChangeset
for help on using the changeset viewer.