Changeset 3168


Ignore:
Timestamp:
03/03/10 15:20:43 (15 years ago)
Author:
jschierm
Message:

Scotch: fix problem compiling with Matlab 7.8.

Location:
issm/trunk/externalpackages/scotch
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/externalpackages/scotch/scotch.patch

    r3060 r3168  
    44diff -rc src/src/libscotch/arch.c new/src/libscotch/arch.c
    55*** src/src/libscotch/arch.c    2008-09-27 07:48:01.000000000 -0700
    6 --- new/src/libscotch/arch.c    2010-02-10 11:23:26.442951850 -0800
     6--- new/src/libscotch/arch.c    2010-03-03 14:06:15.166926170 -0800
    77***************
    88*** 173,187 ****
     
    7070diff -rc src/src/libscotch/arch_cmplt.c new/src/libscotch/arch_cmplt.c
    7171*** src/src/libscotch/arch_cmplt.c      2008-05-22 06:44:41.000000000 -0700
    72 --- new/src/libscotch/arch_cmplt.c      2010-02-10 11:23:26.449951858 -0800
     72--- new/src/libscotch/arch_cmplt.c      2010-03-03 14:06:15.171926172 -0800
    7373***************
    7474*** 90,99 ****
     
    122122diff -rc src/src/libscotch/arch_cmplt.h new/src/libscotch/arch_cmplt.h
    123123*** src/src/libscotch/arch_cmplt.h      2008-05-22 06:44:41.000000000 -0700
    124 --- new/src/libscotch/arch_cmplt.h      2010-02-10 11:23:26.455951865 -0800
     124--- new/src/libscotch/arch_cmplt.h      2010-03-03 14:06:15.178926175 -0800
    125125***************
    126126*** 87,93 ****
     
    139139diff -rc src/src/libscotch/arch_cmpltw.c new/src/libscotch/arch_cmpltw.c
    140140*** src/src/libscotch/arch_cmpltw.c     2008-08-27 14:22:22.000000000 -0700
    141 --- new/src/libscotch/arch_cmpltw.c     2010-02-10 11:23:26.462951873 -0800
     141--- new/src/libscotch/arch_cmpltw.c     2010-03-03 14:06:15.184926177 -0800
    142142***************
    143143*** 200,211 ****
     
    211211diff -rc src/src/libscotch/arch_cmpltw.h new/src/libscotch/arch_cmpltw.h
    212212*** src/src/libscotch/arch_cmpltw.h     2008-05-22 06:44:41.000000000 -0700
    213 --- new/src/libscotch/arch_cmpltw.h     2010-02-10 11:23:26.469951882 -0800
     213--- new/src/libscotch/arch_cmpltw.h     2010-03-03 14:06:15.189926179 -0800
    214214***************
    215215*** 86,92 ****
     
    228228diff -rc src/src/libscotch/arch_deco.c new/src/libscotch/arch_deco.c
    229229*** src/src/libscotch/arch_deco.c       2008-09-28 06:35:27.000000000 -0700
    230 --- new/src/libscotch/arch_deco.c       2010-02-10 11:23:26.476951890 -0800
     230--- new/src/libscotch/arch_deco.c       2010-03-03 14:06:15.195926181 -0800
    231231***************
    232232*** 211,217 ****
     
    269269diff -rc src/src/libscotch/arch_deco.h new/src/libscotch/arch_deco.h
    270270*** src/src/libscotch/arch_deco.h       2008-09-27 07:49:46.000000000 -0700
    271 --- new/src/libscotch/arch_deco.h       2010-02-10 11:23:26.482951897 -0800
     271--- new/src/libscotch/arch_deco.h       2010-03-03 14:06:15.201926184 -0800
    272272***************
    273273*** 113,119 ****
     
    286286diff -rc src/src/libscotch/arch.h new/src/libscotch/arch.h
    287287*** src/src/libscotch/arch.h    2009-04-28 08:11:27.000000000 -0700
    288 --- new/src/libscotch/arch.h    2010-02-10 11:23:26.488951904 -0800
     288--- new/src/libscotch/arch.h    2010-03-03 14:06:15.207926186 -0800
    289289***************
    290290*** 175,181 ****
     
    303303diff -rc src/src/libscotch/arch_hcub.c new/src/libscotch/arch_hcub.c
    304304*** src/src/libscotch/arch_hcub.c       2008-05-22 06:44:41.000000000 -0700
    305 --- new/src/libscotch/arch_hcub.c       2010-02-10 11:23:26.495951912 -0800
     305--- new/src/libscotch/arch_hcub.c       2010-03-03 14:06:15.213926188 -0800
    306306***************
    307307*** 88,95 ****
     
    351351diff -rc src/src/libscotch/arch_hcub.h new/src/libscotch/arch_hcub.h
    352352*** src/src/libscotch/arch_hcub.h       2008-05-22 06:44:41.000000000 -0700
    353 --- new/src/libscotch/arch_hcub.h       2010-02-10 11:23:26.501951919 -0800
     353--- new/src/libscotch/arch_hcub.h       2010-03-03 14:06:15.219926191 -0800
    354354***************
    355355*** 85,91 ****
     
    368368diff -rc src/src/libscotch/arch_mesh.c new/src/libscotch/arch_mesh.c
    369369*** src/src/libscotch/arch_mesh.c       2008-05-22 06:44:41.000000000 -0700
    370 --- new/src/libscotch/arch_mesh.c       2010-02-10 11:23:26.508951927 -0800
     370--- new/src/libscotch/arch_mesh.c       2010-03-03 14:06:15.225926193 -0800
    371371***************
    372372*** 96,103 ****
     
    467467diff -rc src/src/libscotch/arch_mesh.h new/src/libscotch/arch_mesh.h
    468468*** src/src/libscotch/arch_mesh.h       2008-05-22 06:44:41.000000000 -0700
    469 --- new/src/libscotch/arch_mesh.h       2010-02-10 11:23:26.514951934 -0800
     469--- new/src/libscotch/arch_mesh.h       2010-03-03 14:06:15.232926196 -0800
    470470***************
    471471*** 96,102 ****
     
    498498diff -rc src/src/libscotch/arch_tleaf.c new/src/libscotch/arch_tleaf.c
    499499*** src/src/libscotch/arch_tleaf.c      2008-05-22 06:44:41.000000000 -0700
    500 --- new/src/libscotch/arch_tleaf.c      2010-02-10 11:23:26.520951941 -0800
     500--- new/src/libscotch/arch_tleaf.c      2010-03-03 14:06:15.238926198 -0800
    501501***************
    502502*** 92,99 ****
     
    556556diff -rc src/src/libscotch/arch_tleaf.h new/src/libscotch/arch_tleaf.h
    557557*** src/src/libscotch/arch_tleaf.h      2008-05-22 06:44:41.000000000 -0700
    558 --- new/src/libscotch/arch_tleaf.h      2010-02-10 11:23:26.526951948 -0800
     558--- new/src/libscotch/arch_tleaf.h      2010-03-03 14:06:15.244926201 -0800
    559559***************
    560560*** 89,95 ****
     
    573573diff -rc src/src/libscotch/arch_torus.c new/src/libscotch/arch_torus.c
    574574*** src/src/libscotch/arch_torus.c      2008-05-22 06:44:41.000000000 -0700
    575 --- new/src/libscotch/arch_torus.c      2010-02-10 11:23:26.533951956 -0800
     575--- new/src/libscotch/arch_torus.c      2010-03-03 14:06:15.251926203 -0800
    576576***************
    577577*** 90,97 ****
     
    672672diff -rc src/src/libscotch/arch_torus.h new/src/libscotch/arch_torus.h
    673673*** src/src/libscotch/arch_torus.h      2008-05-22 06:44:41.000000000 -0700
    674 --- new/src/libscotch/arch_torus.h      2010-02-10 11:23:26.540951964 -0800
     674--- new/src/libscotch/arch_torus.h      2010-03-03 14:06:15.257926206 -0800
    675675***************
    676676*** 96,102 ****
     
    703703diff -rc src/src/libscotch/common.c new/src/libscotch/common.c
    704704*** src/src/libscotch/common.c  2008-05-22 06:44:41.000000000 -0700
    705 --- new/src/libscotch/common.c  2010-02-10 11:23:26.546951971 -0800
     705--- new/src/libscotch/common.c  2010-03-03 14:06:15.263926208 -0800
    706706***************
    707707*** 100,106 ****
     
    722722diff -rc src/src/libscotch/common.h new/src/libscotch/common.h
    723723*** src/src/libscotch/common.h  2009-02-06 14:20:55.000000000 -0800
    724 --- new/src/libscotch/common.h  2010-02-10 11:23:26.552951978 -0800
     724--- new/src/libscotch/common.h  2010-03-03 14:06:15.270926211 -0800
    725725***************
    726726*** 66,71 ****
     
    758758diff -rc src/src/libscotch/dummysizes.c new/src/libscotch/dummysizes.c
    759759*** src/src/libscotch/dummysizes.c      2009-05-09 16:08:02.000000000 -0700
    760 --- new/src/libscotch/dummysizes.c      2010-02-10 11:23:26.558951985 -0800
     760--- new/src/libscotch/dummysizes.c      2010-03-03 14:06:15.276926213 -0800
    761761***************
    762762*** 267,271 ****
     
    771771diff -rc src/src/libscotch/graph.c new/src/libscotch/graph.c
    772772*** src/src/libscotch/graph.c   2008-05-22 06:44:42.000000000 -0700
    773 --- new/src/libscotch/graph.c   2010-02-10 11:23:26.564951992 -0800
     773--- new/src/libscotch/graph.c   2010-03-03 14:06:15.283926216 -0800
    774774***************
    775775*** 135,141 ****
     
    794794diff -rc src/src/libscotch/graph.h new/src/libscotch/graph.h
    795795*** src/src/libscotch/graph.h   2008-06-01 02:49:11.000000000 -0700
    796 --- new/src/libscotch/graph.h   2010-02-10 11:23:26.570951999 -0800
     796--- new/src/libscotch/graph.h   2010-03-03 14:06:15.289926218 -0800
    797797***************
    798798*** 159,165 ****
     
    811811diff -rc src/src/libscotch/graph_io.c new/src/libscotch/graph_io.c
    812812*** src/src/libscotch/graph_io.c        2008-05-22 06:44:42.000000000 -0700
    813 --- new/src/libscotch/graph_io.c        2010-02-10 11:23:26.577952008 -0800
     813--- new/src/libscotch/graph_io.c        2010-03-03 14:06:15.297926222 -0800
    814814***************
    815815*** 86,92 ****
     
    10491049diff -rc src/src/libscotch/graph_io_scot.c new/src/libscotch/graph_io_scot.c
    10501050*** src/src/libscotch/graph_io_scot.c   2008-05-22 06:44:42.000000000 -0700
    1051 --- new/src/libscotch/graph_io_scot.c   2010-02-10 11:23:26.584952016 -0800
     1051--- new/src/libscotch/graph_io_scot.c   2010-03-03 14:06:15.304926224 -0800
    10521052***************
    10531053*** 89,95 ****
     
    10661066diff -rc src/src/libscotch/library_arch.c new/src/libscotch/library_arch.c
    10671067*** src/src/libscotch/library_arch.c    2008-05-22 06:44:42.000000000 -0700
    1068 --- new/src/libscotch/library_arch.c    2010-02-10 11:23:26.605952040 -0800
     1068--- new/src/libscotch/library_arch.c    2010-03-03 14:06:15.310926227 -0800
    10691069***************
    10701070*** 120,128 ****
     
    11011101diff -rc src/src/libscotch/library_arch_f.c new/src/libscotch/library_arch_f.c
    11021102*** src/src/libscotch/library_arch_f.c  2008-05-22 06:44:42.000000000 -0700
    1103 --- new/src/libscotch/library_arch_f.c  2010-02-10 11:23:26.611952047 -0800
     1103--- new/src/libscotch/library_arch_f.c  2010-03-03 14:06:15.317926230 -0800
    11041104***************
    11051105*** 121,127 ****
     
    11181118diff -rc src/src/libscotch/library_error_exit.c new/src/libscotch/library_error_exit.c
    11191119*** src/src/libscotch/library_error_exit.c      2009-01-20 00:36:33.000000000 -0800
    1120 --- new/src/libscotch/library_error_exit.c      2010-02-10 11:23:26.617952054 -0800
     1120--- new/src/libscotch/library_error_exit.c      2010-03-03 14:06:15.323926232 -0800
    11211121***************
    11221122*** 114,119 ****
     
    11931193diff -rc src/src/libscotch/library_graph.c new/src/libscotch/library_graph.c
    11941194*** src/src/libscotch/library_graph.c   2008-05-22 07:28:12.000000000 -0700
    1195 --- new/src/libscotch/library_graph.c   2010-02-10 11:23:26.623952061 -0800
     1195--- new/src/libscotch/library_graph.c   2010-03-03 14:06:15.329926234 -0800
    11961196***************
    11971197*** 137,143 ****
     
    12381238diff -rc src/src/libscotch/library_graph_f.c new/src/libscotch/library_graph_f.c
    12391239*** src/src/libscotch/library_graph_f.c 2008-05-22 06:44:43.000000000 -0700
    1240 --- new/src/libscotch/library_graph_f.c 2010-02-10 11:23:26.630952069 -0800
     1240--- new/src/libscotch/library_graph_f.c 2010-03-03 14:06:15.336926237 -0800
    12411241***************
    12421242*** 136,142 ****
     
    12551255diff -rc src/src/libscotch/library_graph_map.c new/src/libscotch/library_graph_map.c
    12561256*** src/src/libscotch/library_graph_map.c       2008-09-28 04:04:05.000000000 -0700
    1257 --- new/src/libscotch/library_graph_map.c       2010-02-10 11:23:26.635952075 -0800
     1257--- new/src/libscotch/library_graph_map.c       2010-03-03 14:06:15.343926240 -0800
    12581258***************
    12591259*** 182,192 ****
     
    12801280diff -rc src/src/libscotch/library_graph_map_f.c new/src/libscotch/library_graph_map_f.c
    12811281*** src/src/libscotch/library_graph_map_f.c     2008-06-28 03:44:26.000000000 -0700
    1282 --- new/src/libscotch/library_graph_map_f.c     2010-02-10 11:23:26.642952083 -0800
     1282--- new/src/libscotch/library_graph_map_f.c     2010-03-03 14:06:15.349926242 -0800
    12831283***************
    12841284*** 183,189 ****
     
    12971297diff -rc src/src/libscotch/library.h new/src/libscotch/library.h
    12981298*** src/src/libscotch/library.h 2009-05-09 16:08:03.000000000 -0700
    1299 --- new/src/libscotch/library.h 2010-02-10 11:23:26.648952090 -0800
     1299--- new/src/libscotch/library.h 2010-03-03 14:06:15.356926245 -0800
    13001300***************
    13011301*** 134,140 ****
     
    13421342diff -rc src/src/libscotch/Makefile new/src/libscotch/Makefile
    13431343*** src/src/libscotch/Makefile  2009-05-09 16:08:04.000000000 -0700
    1344 --- new/src/libscotch/Makefile  2010-02-19 15:46:06.253243103 -0800
     1344--- new/src/libscotch/Makefile  2010-03-03 14:41:00.434722658 -0800
    13451345***************
    13461346*** 49,55 ****
     
    13621362***************
    13631363*** 68,73 ****
    1364 --- 68,81 ----
     1364--- 68,83 ----
    13651365                                        libptscotcherr$(LIB)                                                            \
    13661366                                        libptscotcherrexit$(LIB)
    13671367 
    13681368+ mexscotch                     :       clean
     1369+                                       $(MAKE) CFLAGS="$(CFLAGS)" CC="$(CCS)" CCD="$(CCS)" LDFLAGS="$(LDFLAGS)" SCOTCHLIB=scotch       \
     1370+                                       dummysizes$(EXE)
    13691371+                                       $(MAKE) CFLAGS="$(CFLAGS) -DMATLAB -I${MATLAB_DIR}/extern/include" CC="$(CCS)" CCD="$(CCS)" LDFLAGS="$(LDFLAGS) -Wl,-rpath-link,${MATLAB_DIR}/bin/glnxa64 -L${MATLAB_DIR}/bin/glnxa64 -lmex -lmat" SCOTCHLIB=scotch     \
    13701372+                                       scotch.h                                                \
     
    13791381diff -rc src/src/libscotch/mapping.h new/src/libscotch/mapping.h
    13801382*** src/src/libscotch/mapping.h 2008-10-27 08:27:47.000000000 -0700
    1381 --- new/src/libscotch/mapping.h 2010-02-10 11:23:26.662952107 -0800
     1383--- new/src/libscotch/mapping.h 2010-03-03 14:06:15.371926251 -0800
    13821384***************
    13831385*** 106,112 ****
     
    13961398diff -rc src/src/libscotch/mapping_io.c new/src/libscotch/mapping_io.c
    13971399*** src/src/libscotch/mapping_io.c      2008-05-22 06:44:43.000000000 -0700
    1398 --- new/src/libscotch/mapping_io.c      2010-02-10 11:23:26.667952113 -0800
     1400--- new/src/libscotch/mapping_io.c      2010-03-03 14:06:15.377926253 -0800
    13991401***************
    14001402*** 199,204 ****
     
    14851487diff -rc src/src/libscotch/mesh_io_scot.c new/src/libscotch/mesh_io_scot.c
    14861488*** src/src/libscotch/mesh_io_scot.c    2008-05-22 06:44:43.000000000 -0700
    1487 --- new/src/libscotch/mesh_io_scot.c    2010-02-10 11:23:26.673952120 -0800
     1489--- new/src/libscotch/mesh_io_scot.c    2010-03-03 14:06:15.384926256 -0800
    14881490***************
    14891491*** 85,91 ****
     
    15021504diff -rc src/src/Makefile new/src/Makefile
    15031505*** src/src/Makefile    2008-09-15 05:50:51.000000000 -0700
    1504 --- new/src/Makefile    2010-02-10 11:23:26.678952125 -0800
     1506--- new/src/Makefile    2010-03-03 14:06:15.389926258 -0800
    15051507***************
    15061508*** 97,102 ****
     
    15201522diff -rc src/src/scotch/Makefile new/src/scotch/Makefile
    15211523*** src/src/scotch/Makefile     2009-04-27 02:19:43.000000000 -0700
    1522 --- new/src/scotch/Makefile     2010-02-19 15:47:58.973374370 -0800
     1524--- new/src/scotch/Makefile     2010-03-03 14:06:15.395926260 -0800
    15231525***************
    15241526*** 49,59 ****
  • issm/trunk/externalpackages/scotch/scotch_jes_notes.txt

    r3003 r3168  
    2782782/08/10:
    279279
    280 - modified all changes to use the MATLAB compiler conditional, so that both mex and stand-alone modules could be built simultaneously
     280- modified all source code changes to use the MATLAB compiler conditional, so that both mex and stand-alone modules could be built simultaneously
    281281
    2822822/10/10:
     
    285285- removed Matlab-specific switches from CFLAGS and LDFLAGS and added them to mexscotch target
    286286
     2873/03/10:
     288
     289- separated dummysizes within mexscotch target in libscotch/Makefile so that it is built without the matlab flag, includes, and libraries (matlab 7.8 would fail even though matlab 7.6 was okay).
     290
Note: See TracChangeset for help on using the changeset viewer.