New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
Changeset 11263 for NEMO/branches/2019/dev_r10984_HPC-13_IRRMANN_BDY_optimization/doc/manual_build.sh – NEMO

Ignore:
Timestamp:
2019-07-12T12:47:53+02:00 (5 years ago)
Author:
smasson
Message:

dev_r10984_HPC-13 : merge with trunk@11242, see #2285

Location:
NEMO/branches/2019/dev_r10984_HPC-13_IRRMANN_BDY_optimization/doc
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • NEMO/branches/2019/dev_r10984_HPC-13_IRRMANN_BDY_optimization/doc

    • Property svn:ignore deleted
  • NEMO/branches/2019/dev_r10984_HPC-13_IRRMANN_BDY_optimization/doc/manual_build.sh

    r11042 r11263  
    44##--------------- 
    55 
    6 ## latekmk options 
    7 opts='-shell-escape -quiet -pdf' 
    8  
    96## Default selection for models 
    107if   [ "$1" = 'all' ]; then 
    11    models='NEMO SI3 TOP' 
     8    models='NEMO SI3 TOP' 
    129elif [ "$1" =    '' ]; then 
    13    models='NEMO' 
     10    models='NEMO' 
    1411else 
    15    models=$* 
     12    models=$* 
    1613fi 
    1714 
     
    2421 
    2522## LaTeX installation, find latexmk should be enough 
    26 [ -z $( which latexmk ) ] && { echo 'latexmk binary is not present => QUIT'; exit 2; } 
     23[ -z $( which latexmk ) ] && { echo 'latexmk not installed => QUIT'; exit 2; } 
     24 
     25## Pygments package for syntax highlighting of source code (namelists & snippets) 
     26[ -n "$( ./tools/check_pkg.py pygments )" ] && { echo 'Python pygments is missing => QUIT'; exit 2; } 
    2727 
    2828## Retrieve figures if not already there 
    2929if [ ! -d latex/figures ]; then 
    30    printf "Downloading of shared figures and logos\n\n" 
    31    svn co https://forge.ipsl.jussieu.fr/nemo/svn/utils/figures latex/figures > /dev/null 
     30    printf "Downloading of shared figures and logos\n\n" 
     31    svn co https://forge.ipsl.jussieu.fr/nemo/svn/utils/figures latex/figures > /dev/null 
    3232fi 
    33  
    34 ## Pygments package for syntax highlighting of source code (namelists & snippets) 
    35 [ -n "$( ./tools/check_pkg.py pygments )" ] && { exit 2; } 
    3633 
    3734 
     
    4037 
    4138for model in $models; do 
    42    echo $model 
    43    clean $model; build $model 
    44    printf "\t¤ End of building run\n" 
    45    printf "\t  The export should be available at root\n" 
    46    printf "\t  If not check LaTeX log in ./latex/$model/main/${model}_manual.log\n" 
     39    echo $model 
     40    clean $model 
     41    build $model 
     42    printf "\t¤ End of building run\n" 
     43    echo 
    4744done 
    4845 
    4946exit 0 
     47 
Note: See TracChangeset for help on using the changeset viewer.