[cig-commits] [commit] master: submit.csh: Copy inparam_mesh and make_axisem.macros (be332a9)

cig_noreply at geodynamics.org cig_noreply at geodynamics.org
Sun Oct 19 02:14:30 PDT 2014


Repository : https://github.com/geodynamics/axisem

On branch  : master
Link       : https://github.com/geodynamics/axisem/compare/e1e0e0477eff45293e3ac8fee6c6c542f2fc5c6d...be332a9d51d070094944a87918a299a188beeea6

>---------------------------------------------------------------

commit be332a9d51d070094944a87918a299a188beeea6
Author: Simon Stähler <staehler at geophysik.uni-muenchen.de>
Date:   Sun Oct 19 11:13:57 2014 +0200

    submit.csh: Copy inparam_mesh and make_axisem.macros
    
     - Save these files in the rundir as well for forensic purposes


>---------------------------------------------------------------

be332a9d51d070094944a87918a299a188beeea6
 SOLVER/submit.csh | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

diff --git a/SOLVER/submit.csh b/SOLVER/submit.csh
index 548874c..7cab16e 100755
--- a/SOLVER/submit.csh
+++ b/SOLVER/submit.csh
@@ -168,7 +168,17 @@ endif
 echo 'source names:' $srcapp
 echo 'source components:' $srctype
 
+echo 'Create the run directory ' $1
 mkdir $1
+
+
+# Copy the make_axisem.macros file, in which the exact compiler settings are stored
+echo 'copying make_axisem.macros from ../'
+cp ../make_axisem.macros $1
+
+# Copy inparam_mesh, just for archival purposes
+cp $meshdir/inparam_mesh $1
+
 cd $1
 set mainrundir = $PWD
 
@@ -212,16 +222,6 @@ foreach isim  (${srcapp})
         ln -s $datapath_isim ./Data
     endif
         
-    #    #if ( "(ls -A $datapath)" ) then
-    #    ln -s $datapath
-    #else
-    #    echo "creating $datapath" 
-    #    mkdir $datapath
-    #    if ( $multisrc == 'true' ) then
-    #        mkdir $datapath/MZZ $datapath/MXX_P_MYY $datapath/MXZ_MYZ $datapath/MXY_MXX_M_MYY
-    #    endif
-    #endif
-        
     if ( -d $infopath) then 
         echo " saving info into $infopath"
     else



More information about the CIG-COMMITS mailing list