Changeset 21767
- Timestamp:
- 06/19/17 18:38:44 (8 years ago)
- Location:
- issm/trunk-jpl
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/externalpackages/petsc/install-3.6-discover.sh
r20424 r21767 42 42 #SBATCH -N 1 43 43 #SBATCH -n 1 44 #SBATCH -A s1 01044 #SBATCH -A s1690 45 45 #SBATCH -t 00:01:00 # Run time (hh:mm:ss) - 1.5 hours 46 46 #SBATCH --qos=debug … … 51 51 module load comp/intel-15.0.0.090 52 52 module load mpi/impi-4.0.3.008 53 module load other/cmake-3.8.2 53 54 54 55 export PATH="$PATH:." -
issm/trunk-jpl/m4/issm_options.m4
r21728 r21767 1320 1320 dnl scalapack headers and libraries 1321 1321 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" 1327 1323 AC_DEFINE([_HAVE_SCALAPACK_],[1],[with Scalapack in ISSM src]) 1328 1324 AC_SUBST([SCALAPACKLIB]) … … 1349 1345 if test "x$HAVE_BLASLAPACK" == "xyes"; then 1350 1346 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 1370 1359 AC_DEFINE([_HAVE_BLASLAPACK_],[1],[with blas lapack in ISSM src]) 1371 1360 AC_SUBST([BLASLAPACKLIB]) … … 1472 1461 if test "x$HAVE_BLACS" == "xyes"; then 1473 1462 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" 1479 1464 AC_DEFINE([_HAVE_BLACS_],[1],[with Blacs in ISSM src]) 1480 1465 AC_SUBST([BLACSINCL]) -
issm/trunk-jpl/src/m/classes/clusters/discover.m
r21576 r21767 90 90 end 91 91 %}}} 92 function BuildQueueScript(cluster,dirname,modelname,solution,io_gather,isvalgrind,isgprof,isdakota,i oceancoupling) % {{{92 function BuildQueueScript(cluster,dirname,modelname,solution,io_gather,isvalgrind,isgprof,isdakota,isoceancoupling) % {{{ 93 93 94 94 if(isgprof), disp('gprof not supported by cluster, ignoring...'); end … … 116 116 fprintf(fid,'#SBATCH -N %i \n',cluster.numnodes); 117 117 fprintf(fid,'#SBATCH -t %02i:%02i:00 \n',floor(cluster.time/3600),floor(mod(cluster.time,3600)/60)); 118 fprintf(fid,'#SBATCH -A s1 010 \n\n');118 fprintf(fid,'#SBATCH -A s1690 \n\n'); 119 119 for i=1:numel(cluster.modules), 120 120 fprintf(fid,['module load ' cluster.modules{i} '\n']); … … 127 127 fprintf(fid,'module load comp/intel-15.0.0.090\n'); 128 128 fprintf(fid,'module load mpi/impi-4.0.3.008\n'); 129 fprintf(fid,'module load other/cmake-3.8.2\n'); 129 130 fprintf(fid,'export PATH="$PATH:."\n\n'); 130 131 fprintf(fid,'export ISSM_DIR="%s/../"\n',cluster.codepath); %FIXME
Note:
See TracChangeset
for help on using the changeset viewer.