Changeset 912 for trunk/libIGCM
- Timestamp:
- 08/12/13 14:59:31 (11 years ago)
- Location:
- trunk/libIGCM/libIGCM_sys
- Files:
-
- 6 deleted
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/libIGCM/libIGCM_sys/libIGCM_sys.ksh
r881 r912 12 12 #************************************************************** 13 13 14 # bypass specific internationalization (for awk)14 # bypass specific internationalization (for gawk) 15 15 export LC_ALL="C" 16 16 -
trunk/libIGCM/libIGCM_sys/libIGCM_sys_ada.ksh
r909 r912 1389 1389 if [ $DRYRUN -le 2 ]; then 1390 1390 if [ X${1} = X'/l' ] ; then 1391 # test if the first file is present in the old computation :1392 1391 eval set +A dm_liste \${${2}} 1393 1392 else … … 1469 1468 if [ $DRYRUN -le 2 ]; then 1470 1469 if [ X${1} = X'/l' ] ; then 1471 # test if the first file is present in the old computation :1472 1470 eval set +A buf_liste \${${2}} 1473 1471 else -
trunk/libIGCM/libIGCM_sys/libIGCM_sys_curie.ksh
r900 r912 1465 1465 if [ $DRYRUN -le 2 ]; then 1466 1466 if [ X${1} = X'/l' ] ; then 1467 # test if the first file is present in the old computation :1468 1467 eval set +A dm_liste \${${2}} 1469 1468 else … … 1614 1613 if [ $DRYRUN -le 2 ]; then 1615 1614 if [ X${1} = X'/l' ] ; then 1616 # test if the first file is present in the old computation :1617 1615 eval set +A buf_liste \${${2}} 1618 1616 else … … 1887 1885 #D-#================================================== 1888 1886 #D-function IGCM_sys_rebuild_station 1889 #D-* Purpose: rebuild parallel files describing station 1887 #D-* Purpose: rebuild parallel files describing station 1890 1888 #D-* Examples: 1891 1889 #D- … … 1950 1948 # Array containing Station as a number 1951 1949 # unset proc_stn 1952 # set +A proc_stn $( grep "iophy_mpi rank ip lon lat $iProc" ${PREFIX}_${Exe_Output} | sed -e "s/iophy_mpi rank ip lon lat //g" | awk ' {print $2}' )1950 # set +A proc_stn $( grep "iophy_mpi rank ip lon lat $iProc" ${PREFIX}_${Exe_Output} | sed -e "s/iophy_mpi rank ip lon lat //g" | gawk ' {print $2}' ) 1953 1951 # Number of stations produced by processor proc 1954 1952 # stationLast=${#proc_stn[*]} … … 2181 2179 2182 2180 # Check of the volume 2183 volume_quota=$(ccc_quota | grep ' scratch' | awk '{print $2}')2184 volume_avail=$(ccc_quota | grep ' scratch' | awk '{print $3}')2181 volume_quota=$(ccc_quota | grep ' scratch' | gawk '{print $2}') 2182 volume_avail=$(ccc_quota | grep ' scratch' | gawk '{print $3}') 2185 2183 2186 2184 if ( [ ! X${volume_quota} = X ] && [ ! ${volume_quota} = "-" ] ) ; then … … 2244 2242 # Check of the number of inodes 2245 2243 2246 inode_quota=$(ccc_quota | grep ' scratch' | awk '{print $6}')2247 inode_avail=$(ccc_quota | grep ' scratch' | awk '{print $7}')2244 inode_quota=$(ccc_quota | grep ' scratch' | gawk '{print $6}') 2245 inode_avail=$(ccc_quota | grep ' scratch' | gawk '{print $7}') 2248 2246 2249 2247 if ( [ ! X${inode_quota} = X ] && [ ! ${inode_quota} = "-" ] ) ; then -
trunk/libIGCM/libIGCM_sys/libIGCM_sys_default.ksh
r855 r912 1222 1222 if [ $DRYRUN -le 2 ]; then 1223 1223 if [ X${1} = X'/l' ] ; then 1224 # test if the first file is present in the old computation :1225 1224 eval set +A dm_liste \${${2}} 1226 1225 else … … 1275 1274 if [ $DRYRUN -le 2 ]; then 1276 1275 if [ X${1} = X'/l' ] ; then 1277 # test if the first file is present in the old computation :1278 1276 eval set +A buf_liste \${${2}} 1279 1277 else … … 1519 1517 # Array containing Station as a number 1520 1518 # unset proc_stn 1521 # set +A proc_stn $( grep "iophy_mpi rank ip lon lat $iProc" ${PREFIX}_${Exe_Output} | sed -e "s/iophy_mpi rank ip lon lat //g" | awk ' {print $2}' )1519 # set +A proc_stn $( grep "iophy_mpi rank ip lon lat $iProc" ${PREFIX}_${Exe_Output} | sed -e "s/iophy_mpi rank ip lon lat //g" | gawk ' {print $2}' ) 1522 1520 # Number of stations produced by processor proc 1523 1521 # stationLast=${#proc_stn[*]} -
trunk/libIGCM/libIGCM_sys/libIGCM_sys_iitm.ksh
r828 r912 1260 1260 if [ $DRYRUN -le 2 ]; then 1261 1261 if [ X${1} = X'/l' ] ; then 1262 # test if the first file is present in the old computation :1263 1262 eval set +A dm_liste \${${2}} 1264 1263 else … … 1320 1319 if [ $DRYRUN -le 2 ]; then 1321 1320 if [ X${1} = X'/l' ] ; then 1322 # test if the first file is present in the old computation :1323 1321 eval set +A buf_liste \${${2}} 1324 1322 else … … 1556 1554 # Array containing Station as a number 1557 1555 # unset proc_stn 1558 # set +A proc_stn $( grep "iophy_mpi rank ip lon lat $iProc" ${PREFIX}_${Exe_Output} | sed -e "s/iophy_mpi rank ip lon lat //g" | awk ' {print $2}' )1556 # set +A proc_stn $( grep "iophy_mpi rank ip lon lat $iProc" ${PREFIX}_${Exe_Output} | sed -e "s/iophy_mpi rank ip lon lat //g" | gawk ' {print $2}' ) 1559 1557 # Number of stations produced by processor proc 1560 1558 # stationLast=${#proc_stn[*]} -
trunk/libIGCM/libIGCM_sys/libIGCM_sys_obelix.ksh
r900 r912 1250 1250 if [ $DRYRUN -le 2 ]; then 1251 1251 if [ X${1} = X'/l' ] ; then 1252 # test if the first file is present in the old computation :1253 1252 eval set +A dm_liste \${${2}} 1254 1253 else … … 1303 1302 if [ $DRYRUN -le 2 ]; then 1304 1303 if [ X${1} = X'/l' ] ; then 1305 # test if the first file is present in the old computation :1306 1304 eval set +A buf_liste \${${2}} 1307 1305 else … … 1547 1545 # Array containing Station as a number 1548 1546 # unset proc_stn 1549 # set +A proc_stn $( grep "iophy_mpi rank ip lon lat $iProc" ${PREFIX}_${Exe_Output} | sed -e "s/iophy_mpi rank ip lon lat //g" | awk ' {print $2}' )1547 # set +A proc_stn $( grep "iophy_mpi rank ip lon lat $iProc" ${PREFIX}_${Exe_Output} | sed -e "s/iophy_mpi rank ip lon lat //g" | gawk ' {print $2}' ) 1550 1548 # Number of stations produced by processor proc 1551 1549 # stationLast=${#proc_stn[*]}
Note: See TracChangeset
for help on using the changeset viewer.