Ignore:
Timestamp:
02/26/21 10:56:08 (4 years ago)
Author:
jdquinn
Message:

CHG: Modifications to build system and additional configurations in support of Windows 10 MSYS2 MinGW build

Location:
issm/trunk-jpl/src/m/classes/clusters
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/m/classes/clusters/generic.m

    r25956 r26034  
    2828
    2929                        %Change the defaults if ispc
    30                         if ispc,
     30                        if ispc & ~ismingw,
    3131                                cluster.codepath      = [issmdir() '\bin'];
    3232                                cluster.etcpath       = [issmdir() '\etc'];
     
    145145
    146146                                if cluster.np>1,
    147                                         fprintf(fid,'"C:\\Program Files\\MPICH2\\bin\\mpiexec.exe" -n %i "%s/%s" %s ./ %s ',cluster.np,cluster.codepath,executable,solution,modelname);
     147                                        % fprintf(fid,'"C:\\Program Files\\MPICH2\\bin\\mpiexec.exe" -n %i "%s/%s" %s ./ %s ',cluster.np,cluster.codepath,executable,solution,modelname);
     148                                        fprintf(fid,'"C:\\PROGRA~1\\MICROS~1\\Bin\\mpiexec.exe" -n %i "%s/%s" %s ./ %s ',cluster.np,cluster.codepath,executable,solution,modelname);
    148149                                else
    149150                                        fprintf(fid,'"%s/%s" %s ./ %s ',cluster.codepath,executable,solution,modelname);
  • issm/trunk-jpl/src/m/classes/clusters/localpfe.m

    r25956 r26034  
    2727                function cluster=localpfe(varargin) % {{{
    2828
    29                         %Change the defaults if ispc
    30                         if ispc,
     29                        %Change the defaults if ispc and not ismingw
     30                        if ispc & ~ismingw,
    3131                                cluster.codepath      = [issmdir() '\bin'];
    3232                                cluster.etcpath       = [issmdir() '\etc'];
     
    106106                        executable='issm_slc.exe';
    107107
    108                         if ispc(), error('BuildQueueScriptMultipleModels not support yet on windows machines');end;
     108                        if ispc & ~ismingw, error('BuildQueueScriptMultipleModels not support yet on windows machines');end;
    109109                       
    110110                        %write queuing script
     
    170170
    171171                        %write queuing script
    172                         if ~ispc(),
     172                        if ~ispc,
    173173
    174174                                fid=fopen([modelname '.queue'],'w');
     
    214214                %}}}
    215215                function UploadQueueJob(cluster,modelname,dirname,filelist)% {{{
    216                         if ~ispc,
     216                        if ~ispc | ismingw,
    217217
    218218                                %compress the files into one zip.
     
    262262                function Download(cluster,dirname,filelist)% {{{
    263263
    264                         if ispc(),
     264                        if ispc && ~ismingw,
    265265                                %do nothing
    266266                                return;
  • issm/trunk-jpl/src/m/classes/clusters/pfe.m

    r25956 r26034  
    216216                        executable='issm_slc.exe';
    217217
    218                         if ispc(), error('BuildQueueScriptMultipleModels not support yet on windows machines');end;
     218                        if ispc & ~ismingw, error('BuildQueueScriptMultipleModels not support yet on windows machines');end;
    219219
    220220                        %write queuing script
Note: See TracChangeset for help on using the changeset viewer.