Changeset 89


Ignore:
Timestamp:
08/03/12 20:40:58 (12 years ago)
Author:
ymipsl
Message:

improved compilation option in make_icosa:
-full : compile from scratch
-job n : parallel compilation with n task

YM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • codes/icosagcm/trunk/make_icosa

    r28 r89  
    66compil_mode="prod" 
    77 
     8job=1 
     9full_defined="FALSE" 
    810arch_defined="FALSE" 
    911parallel_defined="FALSE" 
     
    3840      "-parallel") 
    3941          parallel=$2 ; parallel_defined="TRUE"; shift ; shift ;; 
     42 
     43      "-job") 
     44          job=$2 ; shift ; shift ;; 
     45 
     46      "-full") 
     47          full_defined="TRUE" ; shift ; shift ;; 
    4048 
    4149      *) 
     
    99107echo "%LIB $ICOSA_LIB">> config.fcm 
    100108 
    101 ./build 
     109if [[ "$full_defined" == "TRUE" ]] 
     110then 
     111  ./build --job $job --full 
     112else 
     113  ./build --job $job 
     114fi 
Note: See TracChangeset for help on using the changeset viewer.