Changeset 22821


Ignore:
Timestamp:
05/31/18 10:42:48 (7 years ago)
Author:
Mathieu Morlighem
Message:

merged trunk and trunk-jpl

Location:
issm/trunk-jpl
Files:
3 deleted
11 edited
4 copied

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl

  • issm/trunk-jpl/externalpackages/mpich/install-3.2-macosx64-static.sh

    r21692 r22821  
    2323cd src
    2424./configure \
    25         --prefix="$ISSM_DIR/externalpackages/mpich/install"
     25        --prefix="$ISSM_DIR/externalpackages/mpich/install" \
     26        --disable-shared
    2627
    2728#Compile mpich (this new version supports parallel make)
  • issm/trunk-jpl/jenkins/linux64_ross_static

    r21960 r22821  
    2323        --with-metis-dir=$ISSM_DIR/externalpackages/petsc/install \
    2424        --with-m1qn3-dir=$ISSM_DIR/externalpackages/m1qn3/install \
     25        --with-math77-dir=$ISSM_DIR/externalpackages/math77/install \
    2526        --with-fortran-lib="-L/usr/lib/gcc/x86_64-linux-gnu/4.9/ -lgfortran" \
    2627        --with-numthreads=4'
     
    4142                                                petsc        install-3.7-linux64-static.sh
    4243                                                triangle     install-linux64.sh
     44                                                math77        install.sh
     45                                                gmsh          install-static.sh
    4346                                                shell2junit  install.sh"
    4447
  • issm/trunk-jpl/jenkins/macosx_pine-island_static

    r22762 r22821  
    4242                                                triangle     install-macosx64.sh
    4343                                                math77        install.sh
    44                                                 gmsh          install.sh
     44                                                gmsh          install-static.sh
    4545                                                shell2junit  install.sh"
    4646
     47#for SLR we need gmsh to mesh, math77, and gmt (which itself needs gdal and netcdf...)
    4748#-----------------#
    4849# 4: test options #
  • issm/trunk-jpl/packagers/macosx/package.sh

    r22757 r22821  
    77cp ../externalpackages/mpich/install/bin/mpiexec .
    88cp ../externalpackages/mpich/install/bin/hydra_pmi_proxy .
     9echo "move gmsh to bin"
     10if [ -f ../externalpackages/gmsh/install/gmsh ]; then
     11        cp ../externalpackages/gmsh/install/gmsh .
     12else
     13        echo "gmsh not found"
     14fi
    915
    1016#Check that test101 runs
     
    2026fi
    2127
    22 #Package using the Package Maker from OSX, driven by command line.
    2328tarball_name='issm-mac-static_build.tar.gz'
    2429
     
    3136rm -rf trunk
    3237mkdir trunk
    33 #Need script to download data
    3438cp -rf bin lib test examples scripts trunk/
    3539tar -czf $tarball_name trunk
  • issm/trunk-jpl/packagers/ubuntu/package.sh

    r22757 r22821  
    77cp ../externalpackages/mpich/install/bin/mpiexec .
    88cp ../externalpackages/mpich/install/bin/hydra_pmi_proxy .
     9echo "move gmsh to bin"
     10if [ -f ../externalpackages/gmsh/install/gmsh ]; then
     11        cp ../externalpackages/gmsh/install/gmsh .
     12else
     13        echo "gmsh not found"
     14fi
    915
    1016#Check that test101 runs
     
    3036rm -rf trunk
    3137mkdir trunk
    32 cp -rf bin lib test examples trunk/
     38cp -rf bin lib test examples scripts trunk/
    3339tar -czf $tarball_name trunk
    3440ls -lah $tarball_name
  • issm/trunk-jpl/src

  • issm/trunk-jpl/src/m/coordsystems/gmtmask.m

    r21942 r22821  
    4141        end
    4242
     43        %Find path to gmt, list all possible known paths to gmt (you may need to add yours to the list)
     44   paths = {[issmdir() '/bin/gmt'],[issmdir() '/externalpackages/gmt/install/bin/gmt'],'/Applications/GMT-5.4.3.app/Contents/Resources/bin/gmt'};
     45   gmtpath = '';
     46   for i=paths
     47      if exist(i{1},'file'),
     48         gmtpath = i{1};
     49                        break;
     50      end
     51   end
     52   if isempty(gmtpath),
     53      error('gmt not found, make sure it is properly installed, or add its path to this file (line 44)');
     54   end
     55   
    4356        %figure out which vertices are on the ocean, which one on the continent:
    44         [status,result] = system(['gmt gmtselect ./' filename_all ' -h0 -Df -R0/360/-90/90  -A0 -JQ180/200 -Nk/s/s/k/s > ./' filename_oce]);
     57        [status,result] = system([gmtpath ' gmtselect ./' filename_all ' -h0 -Df -R0/360/-90/90  -A0 -JQ180/200 -Nk/s/s/k/s > ./' filename_oce]);
    4558        if status~=0,
    4659                error(result);
  • issm/trunk-jpl/src/m/coordsystems/gmtmaskparallel.m

    r20129 r22821  
    2323        end
    2424
     25        %Find path to gmt, list all possible known paths to gmt (you may need to add yours to the list)
     26   paths = {[issmdir() '/bin/gmt'],[issmdir() '/externalpackages/gmt/install/bin/gmt'],'/Applications/GMT-5.4.3.app/Contents/Resources/bin/gmt'};
     27   gmtpath = '';
     28   for i=paths
     29      if exist(i{1},'file'),
     30         gmtpath = i{1};
     31                        break;
     32      end
     33   end
     34   if isempty(gmtpath),
     35                error('gmt not found, make sure it is properly installed, or add its path to this file (line 26)');
     36   end
     37
    2538        %Build xjobs script:
    2639        fid=fopen('xjobs.script','w');
    2740        for i=1:length(nnv)-1,
    28                 fprintf(fid,'gmt gmtselect ./all_vertices%i.txt -h0 -Df -R0/360/-90/90  -A0 -JQ180/200 -Nk/s/s/k/s > ./oce_vertices%i.txt\n',i,i);
     41                fprintf(fid,'%s gmtselect ./all_vertices%i.txt -h0 -Df -R0/360/-90/90  -A0 -JQ180/200 -Nk/s/s/k/s > ./oce_vertices%i.txt\n',gmtpath,i,i);
    2942        end
    3043        fclose(fid);
  • issm/trunk-jpl/src/m/mesh/planet/gmsh/gmshplanet.m

    r22807 r22821  
    107107        for i=paths
    108108                if exist(i{1},'file'),
    109                         gmshpath = i{1};
     109                        gmshpath = i{1};
     110                        break;
    110111                end
    111112        end
  • issm/trunk-jpl/test

Note: See TracChangeset for help on using the changeset viewer.