- Timestamp:
- Dec 21, 2024, 9:55:39 PM (6 weeks ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BOL/Replay/replay_clean.sh
r4668 r5444 2 2 3 3 4 f90=f90 4 5 replay_comment="replay automatic include" 5 6 if [ $# = 0 ] ; then 6 7 \rm -f dump_replay*.h dump_param.h dump_ini.h input tmp_get_subroutine_arg tmp_include_line tmp_include_line* tmp_include_line*_cpp tmp_include_line* 7 8 8 for file in `grep "$replay_comment" * F90| cut -d: -f1` ; do9 for file in `grep "$replay_comment" *${f90} | cut -d: -f1` ; do 9 10 sed -i"" -e "/$replay_comment/d" $file 10 11 done 11 cat > call_param_replay. F90<<...eod12 cat > call_param_replay.${f90} <<...eod 12 13 subroutine call_param_replay(ngrid,nlay) 13 14 integer,intent(in) :: ngrid,nlay … … 16 17 end 17 18 ...eod 18 cat > call_ini_replay. F90<<...eod19 cat > call_ini_replay.${f90} <<...eod 19 20 subroutine call_ini_replay 20 21 stop 'In call_ini_replay : You should run replay_equip.sh before runing replay[13]d' … … 28 29 echo removing $list_include 29 30 \rm -f $list_include 30 \rm -f dump_replay_`basename $file . F90`_*h31 \rm -f dump_replay_`basename $file .${f90}`_*h 31 32 sed -i'' -e "/$replay_comment/d" $file 32 33 done
Note: See TracChangeset
for help on using the changeset viewer.