Ignore:
Timestamp:
Jun 18, 2015, 12:03:45 PM (10 years ago)
Author:
ymipsl
Message:

Add the possibility to compile only lmdz Physic with the flag -nodyn, creating the libphylmd.a library.
YM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • dynamico_lmdz/aquaplanet/LMDZ5/makelmdz_fcm

    r3809 r3832  
    3434job=1
    3535full=''
     36nodyn=false
    3637
    3738LMDGCM=`/bin/pwd`
     
    9899[-fcm_path path]           : path to the fcm tool (default: tools/fcm/bin)
    99100[-ext_src path]            : path to an additional set of routines to compile with the model
     101[-nodyn]                   : compile only physics
    100102 -arch nom_arch            : target architecture
    101103 exec                      : executable to build
     
    174176      "-full")
    175177          full="-full" ; shift ;;
     178      "-nodyn")
     179          nodyn="true" ; shift ;;
    176180
    177181      "-arch")
     
    533537fi
    534538
     539
     540if [[ $nodyn == "true" ]]
     541then
     542  DYN=$LMDGCM/.void_dir
     543  DYN_COMMON_PATH=$LMDGCM/.void_dir
     544  FILTRE_PATH=$LMDGCM/.void_dir
     545  DYN_PHYS_PATH=$LMDGCM/.void_dir
     546  DYN_PHYS_SUB_PATH=$LMDGCM/.void_dir
     547  code=""
     548  SUFF_NAME=""
     549else
     550  SUFF_NAME=${SUFF_NAME}.e
     551fi
     552
    535553cd $LMDGCM
    536554config_fcm="config.fcm"
     
    580598rm -rf config
    581599ln -s $LIBOGCM/${arch}${SUFF_NAME}/.config config
    582 ln -s $LIBOGCM/${arch}${SUFF_NAME}/.config/tmp tmp_src
     600ln -s $LIBOGCM/${arch}${SUFF_NAME}/.config/ppsrc tmp_src
    583601
    584602
Note: See TracChangeset for help on using the changeset viewer.