Changeset 116
- Timestamp:
- 06/22/06 10:17:23 (18 years ago)
- Location:
- trunk/SRC
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SRC/Commons/cm_general.pro
r97 r116 6 6 ; 7 7 COMMON directories, homedir, iodir, animdir, psdir, imagedir, myuniquetmpdir 8 COMMON key_general, key_performance, key_forgetold 8 COMMON key_general, key_performance, key_forgetold, key_vm 9 9 ; -
trunk/SRC/Documentation/xmldoc/savesaxo.sh
r115 r116 32 32 set -u 33 33 # 34 docompileall= 034 docompileall=1 35 35 dohtml=0 36 36 dooldtest=0 … … 38 38 doidldoc_html=0 39 39 doidldoc_assistant=0 40 doTARsrc= 140 doTARsrc=0 41 41 doTARdata=0 42 doforge= 142 doforge=0 43 43 doSRClodyc=0 44 44 doDTAlodyc=0 … … 283 283 fi 284 284 #------------------------------------------------------------------ 285 if [ $doSRCipsl -eq 1 ]286 then287 echo "iii : you will be asked ${lgforge}@forge.ipsl.jussieu.fr passwd"288 infosrc=$(ssh ${lgforge}@forge.ipsl.jussieu.fr ls -lht /ipsl/forge/projets/saxo/download/SAXO_SRC_*.tar.gz | head -n 1)289 filesrc=$(echo ${infosrc} | awk '{print $NF}')290 filesrc=$( basename $filesrc )291 #292 cat <<EOF > job_src_$$293 #!/bin/bash294 cd SAXO_DIR295 #296 rm -rf SRC297 wget http://forge.ipsl.jussieu.fr/saxo/download/$filesrc298 gunzip $filesrc299 tar vxf $( basename $filesrc .gz )300 rm -f $( basename $filesrc .gz )301 #302 chmod -R 755 *303 exit304 #305 EOF306 fi307 #308 285 if [[ ($doDTAlodyc -eq 1) || ($doDTAipsl -eq 1) ]] 309 286 then … … 346 323 if [ $doSRCipsl -eq 1 ] 347 324 then 348 # update src on cook 349 # 350 echo "iii : update src on cook" 351 scp job_src_$$ smlod@cook.ipsl.jussieu.fr:. 352 ssh smlod@cook.ipsl.jussieu.fr "chmod 755 job_src_$$ ; ./job_src_$$ ; rm -f job_src_$$" 325 # update src on calcul2 326 # 327 echo "iii : update src on calcul2" 328 ssh smlod@calcul2.ipsl.jussieu.fr "svn update SAXO_DIR/SRC ; chmod -R 755 SAXO_DIR" 353 329 fi 354 330 #------------------------------------------------------------------ -
trunk/SRC/ForOldVersion/keep_compatibility.pro
r114 r116 41 41 return 42 42 ENDIF 43 ; are we using the virtual machine?? 44 IF n_elements(key_vm) EQ 0 THEN $ 45 key_vm = total(file_test(expand_path(!path, /array)+'/keep_compatibility.pro')) EQ 0 43 46 ; 44 47 IF n_elements(myuniquetmpdir) NE 0 THEN BEGIN … … 57 60 ; 3) define and create myuniquetmpdir and add it to !path 58 61 def_myuniquetmpdir 62 ; if we are using the virtual machine, there is no need to do this 63 IF NOT keyword_set(key_vm) THEN BEGIN 59 64 ; 60 65 ; 4) copy oldcm_full(_empty) to myuniquetmpdir+'oldcm_used.pro' 61 66 ; select which file should be copied to oldcm_used.pro 62 IF key_forgetold THEN BEGIN63 oldcm = find('oldcm_empty')64 print, 'We forget the compatibility with the old version'65 ENDIF ELSE BEGIN66 oldcm = find('oldcm_full')67 print, 'We keep the compatibility with the old version'68 ENDELSE67 IF key_forgetold THEN BEGIN 68 oldcm = find('oldcm_empty') 69 print, 'We forget the compatibility with the old version' 70 ENDIF ELSE BEGIN 71 oldcm = find('oldcm_full') 72 print, 'We keep the compatibility with the old version' 73 ENDELSE 69 74 ; 70 oldcm = oldcm[0] 71 IF oldcm EQ 'NOT FOUND' THEN BEGIN 72 print, 'Error: oldcm_full or oldcm_empty must be found in the !path' 73 stop 75 oldcm = oldcm[0] 76 IF oldcm EQ 'NOT FOUND' THEN BEGIN 77 print, 'Error: oldcm_full or oldcm_empty must be found in the !path' 78 stop 79 ENDIF 80 ; copy 81 file_copy, oldcm, myuniquetmpdir + 'oldcm_used.pro', /overwrite 82 ; 83 ; make sure we can make the plots even if we are using the demo mode 84 ; 85 demomode_compatibility 74 86 ENDIF 75 ; copy76 file_copy, oldcm, myuniquetmpdir + 'oldcm_used.pro', /overwrite77 ;78 ; make sure we can make the plots enev if we are using the demo mode79 ;80 demomode_compatibility81 87 ; 82 88 ; make sure that the common variables are correctly initialized. -
trunk/SRC/ToBeReviewed/TRIANGULATION/triangule.pro
r114 r116 5 5 @common 6 6 ; 7 IF jpi EQ 1 OR jpj EQ 1 THEN return, -1 7 szmsk = size(maskentree) 8 IF szmsk[0] EQ 0 THEN BEGIN 9 nx = jpi 10 ny = jpj 11 ENDIF ELSE BEGIN 12 nx = szmsk[1] 13 ny = szmsk[2] 14 ENDELSE 15 IF nx EQ 1 OR ny EQ 1 THEN return, -1 8 16 ; 9 17 IF arg_present(coinmonte) THEN coinmonte = 1
Note: See TracChangeset
for help on using the changeset viewer.