Changeset 21767


Ignore:
Timestamp:
06/19/17 18:38:44 (8 years ago)
Author:
schlegel
Message:

CHG: update discover for newest build and s1690 accout

Location:
issm/trunk-jpl
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/externalpackages/petsc/install-3.6-discover.sh

    r20424 r21767  
    4242#SBATCH -N 1
    4343#SBATCH -n 1
    44 #SBATCH -A s1010
     44#SBATCH -A s1690
    4545#SBATCH -t 00:01:00 # Run time (hh:mm:ss) - 1.5 hours
    4646#SBATCH --qos=debug
     
    5151module load comp/intel-15.0.0.090
    5252module load mpi/impi-4.0.3.008
     53module load other/cmake-3.8.2
    5354
    5455export PATH="$PATH:."
  • issm/trunk-jpl/m4/issm_options.m4

    r21728 r21767  
    13201320        dnl scalapack headers and libraries
    13211321        if test "x$HAVE_SCALAPACK" == "xyes"; then
    1322                 if test x$VENDOR = xintel-discover; then
    1323                  SCALAPACKLIB=-L"$SCALAPACK_ROOT/ -lmkl_scalapack_lp64"
    1324                 else
    1325                  SCALAPACKLIB=-L"$SCALAPACK_ROOT/ -lscalapack"
    1326                 fi
     1322                SCALAPACKLIB=-L"$SCALAPACK_ROOT/ -lscalapack"
    13271323                AC_DEFINE([_HAVE_SCALAPACK_],[1],[with Scalapack in ISSM src])
    13281324                AC_SUBST([SCALAPACKLIB])
     
    13491345        if test "x$HAVE_BLASLAPACK" == "xyes"; then
    13501346                BLASLAPACKINCL=""
    1351                 if test x$VENDOR = xintel-discover; then
    1352                    dnl works for intel 11
    1353                         dnl BLASLAPACKLIB=-L"$BLASLAPACK_ROOT -lmkl_lapack -lmkl -lguide -lpthread "
    1354                         dnl dnl works for intel 13
    1355                         BLASLAPACKLIB=-L"$BLASLAPACK_ROOT -lmkl_lapack95_lp64 -lmkl_rt "
    1356                 else
    1357                         dnl: branch on whether we are running on windows or linux.
    1358                         case "${host_os}" in
    1359                                 *cygwin*)
    1360                                 BLASLAPACKLIB="-L`cygpath -m $BLASLAPACK_ROOT` -Wl,libf2cblas.lib  -Wl,libf2clapack.lib"
    1361                                 ;;
    1362                                 *linux*)
    1363                                 BLASLAPACKLIB=-L"$BLASLAPACK_ROOT/lib -lflapack -lfblas "
    1364                                 ;;
    1365                                 *darwin*)
    1366                                 BLASLAPACKLIB=-L"$BLASLAPACK_ROOT/lib -lflapack -lfblas "
    1367                                 ;;
    1368                         esac
    1369                 fi
     1347                dnl: branch on whether we are running on windows or linux.
     1348                case "${host_os}" in
     1349                *cygwin*)
     1350                  BLASLAPACKLIB="-L`cygpath -m $BLASLAPACK_ROOT` -Wl,libf2cblas.lib  -Wl,libf2clapack.lib"
     1351                  ;;
     1352                *linux*)
     1353                  BLASLAPACKLIB=-L"$BLASLAPACK_ROOT/lib -lflapack -lfblas "
     1354                  ;;
     1355                *darwin*)
     1356                  BLASLAPACKLIB=-L"$BLASLAPACK_ROOT/lib -lflapack -lfblas "
     1357                  ;;
     1358                esac
    13701359                AC_DEFINE([_HAVE_BLASLAPACK_],[1],[with blas lapack in ISSM src])
    13711360                AC_SUBST([BLASLAPACKLIB])
     
    14721461        if test "x$HAVE_BLACS" == "xyes"; then
    14731462                BLACSINCL=""
    1474                 if test x$VENDOR = xintel-discover; then
    1475                  BLACSLIB=-L"$BLACS_ROOT/ -lmkl_blacs_intelmpi_lp64"
    1476                 else
    1477                  BLACSLIB=-L"$BLACS_ROOT/ -lblacs"
    1478                 fi
     1463                BLACSLIB=-L"$BLACS_ROOT/ -lblacs"
    14791464                AC_DEFINE([_HAVE_BLACS_],[1],[with Blacs in ISSM src])
    14801465                AC_SUBST([BLACSINCL])
  • issm/trunk-jpl/src/m/classes/clusters/discover.m

    r21576 r21767  
    9090                 end
    9191                 %}}}
    92                  function BuildQueueScript(cluster,dirname,modelname,solution,io_gather,isvalgrind,isgprof,isdakota,ioceancoupling) % {{{
     92                 function BuildQueueScript(cluster,dirname,modelname,solution,io_gather,isvalgrind,isgprof,isdakota,isoceancoupling) % {{{
    9393
    9494                         if(isgprof),    disp('gprof not supported by cluster, ignoring...'); end
     
    116116                         fprintf(fid,'#SBATCH -N %i \n',cluster.numnodes);
    117117                         fprintf(fid,'#SBATCH -t %02i:%02i:00 \n',floor(cluster.time/3600),floor(mod(cluster.time,3600)/60));
    118                          fprintf(fid,'#SBATCH -A s1010 \n\n');
     118                         fprintf(fid,'#SBATCH -A s1690 \n\n');
    119119                         for i=1:numel(cluster.modules),
    120120                                 fprintf(fid,['module load ' cluster.modules{i} '\n']);
     
    127127                         fprintf(fid,'module load comp/intel-15.0.0.090\n');
    128128                         fprintf(fid,'module load mpi/impi-4.0.3.008\n');
     129                         fprintf(fid,'module load other/cmake-3.8.2\n');
    129130                         fprintf(fid,'export PATH="$PATH:."\n\n');
    130131                         fprintf(fid,'export ISSM_DIR="%s/../"\n',cluster.codepath); %FIXME
Note: See TracChangeset for help on using the changeset viewer.