Ignore:
Timestamp:
Jul 19, 2013, 4:03:57 PM (11 years ago)
Author:
yann meurdesoif
Message:

Add parallel compiling functionality through fcm
=> 2 new options for the makelmdz_fcm

-j n : enable parallel compiling on 8 tasks
-full : recreate dependency and recompile form scratch

YM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ5/trunk/makelmdz_fcm

    r1789 r1802  
    2929LIBPREFIX=""
    3030cosp=false
     31job=1
     32full=''
    3133
    3234LMDGCM=`/bin/pwd`
     
    7981[-filtre NOMFILTRE]        : use filtre from libf/NOMFILTRE (default: filtrez)
    8082[-link LINKS]              : additional links with other libraries
     83[-j n]                     : active parallel compiling on ntask
     84[-full]                    : full recompiling
    8185[-fcm_path path]           : path to the fcm tool (default: tools/fcm/bin)
    8286[-ext_src path]            : path to an additional set of routines to compile with the model
     
    147151      "-ext_src")
    148152          EXT_SRC=$2 ; shift ; shift ;;
     153      "-j")
     154          job=$2 ; shift ; shift ;;
     155      "-full")
     156          full="-full" ; shift ;;
    149157
    150158      "-arch")
     
    468476
    469477rm -f $LIBOGCM/${arch}${SUFF_NAME}/.config/fcm.bld.lock
    470 ./build_gcm ${fcm_path}
     478./build_gcm ${fcm_path} -j $job $full
    471479
    472480rm -rf tmp_src
Note: See TracChangeset for help on using the changeset viewer.