Skip to content

Commit

Permalink
Pulled changes in submit.csh, post_processing.csh and copytemplates.s…
Browse files Browse the repository at this point in the history
…h from master branch
  • Loading branch information
sstaehler committed Jul 9, 2014
1 parent d4f7f38 commit 17c8c64
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion SOLVER/UTILS/post_processing.csh
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ if ( $gnu_query == 1 ) then
echo
echo "%%%%%%%%% PLOTTING seismograms (gnuplot) %%%%%%%%%%"
cd $outdir
set seistype = `grep "SEISTYPE" param_post_processing |awk '{print $2}' |sed 's/"/ /g' `
set seistype = "disp"
echo "seismogram type:" $seistype
set reclist = `cat $homedir/$simdir1/Data/receiver_names.dat |awk '{print $1}'`
echo "1st receiver:" $reclist[1]
Expand Down
8 changes: 3 additions & 5 deletions SOLVER/submit.csh
Original file line number Diff line number Diff line change
Expand Up @@ -73,13 +73,11 @@ endif

set bgmodel = `grep ^BACKGROUND_MODEL $meshdir/inparam_mesh | awk '{print $2}'`

# if the mesh has different mesh_params.h, copy here
# Since the compiling does not depend on mesh_params.h anymore, we just copy it here anyway.
# actually mesh_params.h is not needed anymore by the solver, just keeping it for
# informational purposes
if ( ! -f mesh_params.h || `diff mesh_params.h $meshdir/mesh_params.h | wc -l` != "0" ) then
echo 'copying mesh_params.h from ' $meshdir
cp $meshdir/mesh_params.h .
endif
echo 'copying mesh_params.h from ' $meshdir
cp $meshdir/mesh_params.h .

# if the mesh has different background_models.F90, copy over
if ( `diff background_models.F90 $meshdir/background_models.F90 | wc -l` != "0" ) then
Expand Down
1 change: 1 addition & 0 deletions copytemplates.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,5 @@ cp SOLVER/inparam_basic.TEMPLATE SOLVER/inparam_basic
cp SOLVER/inparam_advanced.TEMPLATE SOLVER/inparam_advanced
cp SOLVER/STATIONS.TEMPLATE SOLVER/STATIONS
cp SOLVER/inparam_source.TEMPLATE SOLVER/inparam_source
cp SOLVER/inparam_hetero.TEMPLATE SOLVER/inparam_hetero
cp SOLVER/CMTSOLUTION.TEMPLATE SOLVER/CMTSOLUTION

0 comments on commit 17c8c64

Please sign in to comment.