- Timestamp:
- 04/26/10 14:09:00 (14 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/adm/makefile
r79 r80 249 249 spellcheck \ 250 250 all \ 251 man \ 251 252 man_troff \ 252 253 man_html \ … … 328 329 all : \ 329 330 man \ 330 browse 331 html_src_browser 331 332 332 333 man : \ … … 335 336 man_pdf \ 336 337 337 browse: \338 html_src_browser : \ 338 339 html_src_browser_doxygen 339 340 … … 399 400 400 401 $(DIRTMP)/index_many.rst : 401 @echo "$(PRODUCTNAME) manuals" | tr [:print:] = > >$@402 @echo "$(PRODUCTNAME) manuals" | tr [:print:] = > $@ 402 403 @echo "$(PRODUCTNAME) manuals" >> $@ 403 404 @echo "$(PRODUCTNAME) manuals" | tr [:print:] = >> $@ 404 405 @echo " " >> $@ 405 406 @echo "Shell scripts" >> $@ 406 @echo " =============">> $@407 @echo "Shell scripts" | tr [:print:] = >> $@ 407 408 @for file in $(LIST_SRCSH); \ 408 409 do echo " "; \ … … 413 414 @echo " " >> $@ 414 415 @echo "MATLAB scripts" >> $@ 415 @echo " ==============">> $@416 @echo "MATLAB scripts" | tr [:print:] = >> $@ 416 417 @for file in $(LIST_SRCMATLAB); \ 417 418 do echo " "; \ … … 422 423 @echo " " >> $@ 423 424 @echo "Fortran Sources" >> $@ 424 @echo " ===============">> $@425 @echo "Fortran Sources" | tr [:print:] = >> $@ 425 426 @for file in $(LIST_SRCFORTRAN); \ 426 427 do echo " "; \ … … 432 433 433 434 $(DIRTMP)/sphinx_tmpdir/index.rst : 434 @echo ".. _index:" > >$@435 @echo ".. _index:" > $@ 435 436 @echo " " >> $@ 436 437 @echo "$(PRODUCTNAME) manuals" | tr [:print:] = >> $@ -
trunk/adm/sphinx/conf.py
r76 r80 32 32 33 33 # The encoding of source files. 34 #source_encoding = 'utf-8'34 source_encoding = 'iso-8859-15' 35 35 36 36 # The master toctree document. -
trunk/src/ircaam_profile.sh
r77 r80 84 84 # $Id$ 85 85 # 86 # - fplod 20100426T094821Z aedon.locean-ipsl.upmc.fr (Darwin) 87 # 88 # * improve PATH and MANPATH modification 89 # 90 # - fplod 20100423T143244Z aedon.locean-ipsl.upmc.fr (Darwin) 91 # 92 # * add error handling on mkdir 93 # 86 94 # - fplod 2009-02-17T11:59:35Z aedon.locean-ipsl.upmc.fr (Darwin) 87 95 # 88 # * more unset statements96 # * more unset statements 89 97 # 90 98 # - fplod 2009-02-04T13:35:30Z zeus.locean-ipsl.upmc.fr (Linux) 91 99 # 92 # * ${IRCAAM}/../bin/ is added to PATH.100 # * ${IRCAAM}/../bin/ is added to PATH. 93 101 # 94 102 # - fplod 2008-08-14T12:28:16Z aedon.locean-ipsl.upmc.fr (Darwin) 95 103 # 96 # * move all \*.sh and \*.pro files to src/104 # * move all \*.sh and \*.pro files to src/ 97 105 # 98 106 # - fplod 2008-07-21T10:58:47Z aedon.locean-ipsl.upmc.fr (Darwin) … … 124 132 do 125 133 case ${1} in 126 -d) # directory for application choosen by user (see svn checkout command used) 134 -d) 135 # directory for application choosen by user (see svn checkout command used) 127 136 directory=${2} 128 137 shift 129 138 ;; 130 -i) # directory for inputs choosen by user 139 -i) 140 # directory for inputs choosen by user 131 141 indir=${2} 132 142 shift 133 143 ;; 134 -o) # directory for outputs choosen by user 144 -o) 145 # directory for outputs choosen by user 135 146 outdir=${2} 136 147 shift 137 148 ;; 138 -t) # directory for temporary outputs choosen by user 149 -t) 150 # directory for temporary outputs choosen by user 139 151 tempdir=${2} 140 152 shift 141 153 ;; 142 *) # other choice 154 *) 155 # other choice 143 156 echo "eee : unknown option ${1}" 144 157 echo "${usage}" … … 146 159 ;; 147 160 esac 148 shift # next flag 161 # next flag 162 shift 149 163 done 150 164 unset usage … … 172 186 # add IRCAAM tools to PATH 173 187 # if not already done 174 echo ${PATH} | grep -q ${IRCAAM} 188 suppath=$(echo ${IRCAAM} | tr -s "/") 189 echo ${PATH} | grep -q "${suppath}:" 175 190 test_path=${?} 176 191 if [ ${test_path} -ne 0 ] 177 192 then 178 PATH=${ IRCAAM}/:${PATH}193 PATH=${suppath}:${PATH} 179 194 export PATH 180 195 else 181 196 # option bavarde oui/non pas encore implantée ++ 182 echo "${command} : iii : ${ IRCAAM}/already in \${PATH}"197 echo "${command} : iii : ${suppath} already in \${PATH}" 183 198 fi 184 199 unset test_path 200 unset suppath 185 201 # 186 202 # add ${IRCAAM}/../bin tools to PATH 187 203 # if not already done 188 echo ${PATH} | grep -q "${IRCAAM}/../bin" 204 suppath=$(echo ${IRCAAM}/../bin | tr -s "/") 205 echo ${PATH} | grep -q "${suppath}:" 189 206 test_path=${?} 190 207 if [ ${test_path} -ne 0 ] 191 208 then 192 PATH=${ IRCAAM}/../bin/:${PATH}209 PATH=${suppath}:${PATH} 193 210 export PATH 194 211 else 195 212 # option bavarde oui/non pas encore implantée ++ 196 echo "${command} : iii : ${ IRCAAM}/../bin/already in \${PATH}"213 echo "${command} : iii : ${suppath} already in \${PATH}" 197 214 fi 198 215 unset test_path 216 unset suppath 199 217 # 200 218 # add IRCAAM manuals to MANPATH 201 219 # if not already done 202 echo ${MANPATH} | grep -q ${IRCAAM} 220 suppath=$(echo ${IRCAAM}/doc/manuals/man | tr -s "/") 221 echo ${MANPATH} | grep -q ${suppath} 203 222 test_manpath=${?} 204 223 if [ ${test_manpath} -ne 0 ] 205 224 then 206 MANPATH=${ IRCAAM}/doc/manuals/man/:${MANPATH}225 MANPATH=${suppath}:${MANPATH} 207 226 export MANPATH 208 227 else 209 228 # option bavarde oui/non pas encore implantée ++ 210 echo "${command} : iii : ${ IRCAAM}/doc/manuals/man/already in \${MANPATH}"229 echo "${command} : iii : ${suppath} already in \${MANPATH}" 211 230 fi 212 231 unset test_manpath 232 unset suppath 213 233 # 214 234 IRCAAM_LOG=${tempdir} … … 217 237 if [ ! -d ${IRCAAM_LOG} ] 218 238 then 219 mkdir -p ${IRCAAM_LOG} 220 echo "${command} : iii : creation of \${IRCAAM_LOG}" 239 mkdir -p ${IRCAAM_LOG} 240 status=${?} 241 if [ ${status} -ne 0 ] 242 then 243 echo "${command} : eee : can not create \${IRCAAM_LOG}" 244 # nb : no exit because this file should be launched by login process 245 else 246 echo "${command} : iii : creation of \${IRCAAM_LOG}" 247 fi 248 unset status 221 249 fi 222 250 # check for permission on IRCAAM_LOG -
trunk/src/refdataget.sh
r77 r80 18 18 # =========== 19 19 # 20 # Put in ${IRCAAM_ID} all the reference data files 20 # Put in ${IRCAAM_ID} all the reference data files 21 21 # 22 22 # This includes : 23 23 # 24 # - ARPEGE data 24 # - ARPEGE data 25 25 # 4 parameters (rlut_d zg_d pr_d) in 5 simulations experiences 26 26 # (CtIV CtCl AfNQIVIV AsNQIVIV TrNQIVIV) between 1971 and 2000. 27 27 # 28 # You will need password from authorized people to access to ARPEGE 28 # You will need password from authorized people to access to ARPEGE 29 29 # simulation files. 30 30 # … … 39 39 # ======== 40 40 # 41 # If you are working on LOCEAN machine and you don't have any reference data, 41 # If you are working on LOCEAN machine and you don't have any reference data, 42 42 # you just have to run this tool :: 43 43 # 44 44 # $ refdataget.sh 45 # 45 # 46 46 # And look at log file with :: 47 47 # 48 48 # $ tlogd.sh refdataget 49 # 49 # 50 50 # and of course on files in ${IRCAAM_ID}. 51 51 # … … 150 150 # ARPEGE 151 151 list_param="rlut_d zg_d pr_d" 152 list_simu="CtIV CtCl AfNQIVIV AsNQIVIV TrNQIVIV" 152 list_simu="CtIV CtCl AfNQIVIV AsNQIVIV TrNQIVIV" 153 153 year_min=1971 154 154 year_max=2000
Note: See TracChangeset
for help on using the changeset viewer.