Changeset 22893
- Timestamp:
- 07/02/18 10:52:09 (7 years ago)
- Location:
- issm/branches/trunk-larour-NatGeoScience2016/packagers
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/branches/trunk-larour-NatGeoScience2016/packagers/macosx-dakota/package.sh
r21759 r22893 11 11 cd $ISSM_DIR/test/NightlyRun 12 12 rm matlab.log 13 /Applications/MATLAB_R2015b.app/bin/matlab -no jvm -nosplash-r "try, addpath $ISSM_DIR/bin $ISSM_DIR/lib; runme('id',101);exit; catch me,fprintf('%s',getReport(me)); exit; end" -logfile matlab.log13 /Applications/MATLAB_R2015b.app/bin/matlab -nodisplay -nojvm -nosplash -nodesktop -r "try, addpath $ISSM_DIR/bin $ISSM_DIR/lib; runme('id',101);exit; catch me,fprintf('%s',getReport(me)); exit; end" -logfile matlab.log 14 14 15 15 if [[ $(cat matlab.log | grep -c SUCCESS) -lt 10 ]]; then -
issm/branches/trunk-larour-NatGeoScience2016/packagers/macosx/package.sh
r21759 r22893 7 7 cp ../externalpackages/mpich/install/bin/mpiexec . 8 8 cp ../externalpackages/mpich/install/bin/hydra_pmi_proxy . 9 echo "move gmsh to bin" 10 if [ -f ../externalpackages/gmsh/install/gmsh ]; then 11 cp ../externalpackages/gmsh/install/gmsh . 12 else 13 echo "gmsh not found" 14 fi 9 15 10 16 #Check that test101 runs 11 17 cd $ISSM_DIR/test/NightlyRun 12 18 rm matlab.log 13 $MATLAB_DIR/bin/matlab -nojvm -nosplash-r "try, addpath $ISSM_DIR/bin $ISSM_DIR/lib; runme('id',101);exit; catch me,fprintf('%s',getReport(me)); exit; end" -logfile matlab.log19 /Applications/MATLAB_R2015b.app/bin/matlab -nodisplay -nojvm -nosplash -nodesktop -r "try, addpath $ISSM_DIR/bin $ISSM_DIR/lib; runme('id',101);exit; catch me,fprintf('%s',getReport(me)); exit; end" -logfile matlab.log 14 20 15 21 if [[ $(cat matlab.log | grep -c SUCCESS) -lt 10 ]]; then … … 20 26 fi 21 27 22 #Package using the Package Maker from OSX, driven by command line.23 28 tarball_name='issm-mac-static_build.tar.gz' 24 29 … … 31 36 rm -rf trunk 32 37 mkdir trunk 33 #Need script to download data34 38 cp -rf bin lib test examples scripts trunk/ 35 39 tar -czf $tarball_name trunk -
issm/branches/trunk-larour-NatGeoScience2016/packagers/ubuntu/package.sh
r20610 r22893 5 5 cat generic_static.m | sed -e "s/generic_static/generic/g" > generic.m 6 6 echo "move mpiexec to bin" 7 cp ../externalpackages/mpich/install/bin/mpiexec . 8 cp ../externalpackages/mpich/install/bin/hydra_pmi_proxy . 9 echo "move gmsh to bin" 10 if [ -f ../externalpackages/gmsh/install/gmsh ]; then 11 cp ../externalpackages/gmsh/install/gmsh . 12 else 13 echo "gmsh not found" 14 fi 7 15 8 16 #Check that test101 runs 9 17 cd $ISSM_DIR/test/NightlyRun 10 18 rm matlab.log 11 $MATLAB_DIR/bin/matlab -nojvm -nosplash -r "try, addpath $ISSM_DIR/bin $ISSM_DIR/lib; runme('id',101);exit; catch me,fprintf('%s',getReport(me)); exit; end" -logfile matlab.log19 /usr/local/MATLAB/R2015a/bin/matlab -nojvm -nosplash -r "try, addpath $ISSM_DIR/bin $ISSM_DIR/lib; runme('id',101);exit; catch me,fprintf('%s',getReport(me)); exit; end" -logfile matlab.log 12 20 13 21 if [[ $(cat matlab.log | grep -c SUCCESS) -lt 10 ]]; then … … 28 36 rm -rf trunk 29 37 mkdir trunk 30 cp -rf bin lib test examples trunk/38 cp -rf bin lib test examples scripts trunk/ 31 39 tar -czf $tarball_name trunk 32 40 ls -lah $tarball_name
Note:
See TracChangeset
for help on using the changeset viewer.