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 5407 for trunk/NEMOGCM/TOOLS/MISCELLANEOUS/chk_wrk_alloc.sh – NEMO

Ignore:
Timestamp:
2015-06-11T21:13:22+02:00 (9 years ago)
Author:
smasson
Message:

merge dev_r5218_CNRS17_coupling into the trunk

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/NEMOGCM/TOOLS/MISCELLANEOUS/chk_wrk_alloc.sh

    r5302 r5407  
    3232   # same story but for wrk_dealloc 
    3333   nn2=$( sed -e "s/wrk_dealloc/wrk_alloc/" $ff | grep -ic "call *wrk_alloc *(" ) 
    34    [ $(( 2 * $nn1 )) -ne $nn2 ] && echo "problem with wrk_dealloc in $ff"  
     34   if [ $(( 2 * $nn1 )) -ne $nn2 ] 
     35   then 
     36       echo "problem with wrk_dealloc in $ff" 
     37       grep -i "call *wrk_alloc *(" $ff 
     38       grep -i "call *wrk_dealloc *(" $ff 
     39       echo 
     40   fi 
    3541    fi 
    3642     
Note: See TracChangeset for help on using the changeset viewer.