Changeset 4627
- Timestamp:
- 07/15/10 11:40:45 (15 years ago)
- Location:
- issm/trunk/externalpackages/chaco
- Files:
-
- 10 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/externalpackages/chaco/chaco.patch
r3011 r4627 1 Only in /home/jschierm/Libs/Chaco-2.2: chaco_jes_notes.txt 2 Only in /home/jschierm/Libs/Chaco-2.2: chaco_README.txt 3 diff -rc src/code/assign/assign_out.c /home/jschierm/Libs/Chaco-2.2/code/assign/assign_out.c 1 diff -rc src/code/assign/assign_out.c new/code/assign/assign_out.c 4 2 *** src/code/assign/assign_out.c 1995-08-08 14:32:10.000000000 -0700 5 --- /home/jschierm/Libs/Chaco-2.2/code/assign/assign_out.c 2009-07-30 09:37:34.781348564-07003 --- new/code/assign/assign_out.c 2010-04-06 15:51:09.378194563 -0700 6 4 *************** 7 5 *** 3,8 **** … … 14 12 static void assign_out_normal(), assign_out_inv(); 15 13 16 diff -rc src/code/eigen/get_extval.c /home/jschierm/Libs/Chaco-2.2/code/eigen/get_extval.c14 diff -rc src/code/eigen/get_extval.c new/code/eigen/get_extval.c 17 15 *** src/code/eigen/get_extval.c 1995-08-08 14:32:20.000000000 -0700 18 --- /home/jschierm/Libs/Chaco-2.2/code/eigen/get_extval.c 2009-07-30 09:43:00.511686903-070016 --- new/code/eigen/get_extval.c 2010-04-06 15:51:09.399194588 -0700 19 17 *************** 20 18 *** 4,9 **** … … 27 25 /* Finds first extended eigenpair of system corresponding to 28 26 tridiagonal T using using Rafael's bisection technique. */ 29 diff -rc src/code/klvspiff/matching.c /home/jschierm/Libs/Chaco-2.2/code/klvspiff/matching.c27 diff -rc src/code/klvspiff/matching.c new/code/klvspiff/matching.c 30 28 *** src/code/klvspiff/matching.c 1996-03-11 10:24:25.000000000 -0800 31 --- /home/jschierm/Libs/Chaco-2.2/code/klvspiff/matching.c 2009-07-30 09:43:11.604702814-070029 --- new/code/klvspiff/matching.c 2010-04-06 15:51:09.424194619 -0700 32 30 *************** 33 31 *** 6,11 **** … … 40 38 #define TRUE 1 41 39 #define FALSE 0 42 diff -rc src/code/main/defs.h /home/jschierm/Libs/Chaco-2.2/code/main/defs.h40 diff -rc src/code/main/defs.h new/code/main/defs.h 43 41 *** src/code/main/defs.h 1995-08-08 14:32:41.000000000 -0700 44 --- /home/jschierm/Libs/Chaco-2.2/code/main/defs.h 2009-08-25 10:02:57.088970763-070042 --- new/code/main/defs.h 2010-06-15 10:43:54.039227352 -0700 45 43 *************** 46 44 *** 9,11 **** 47 --- 9,2 7----45 --- 9,28 ---- 48 46 #define PI 3.141592653589793 49 47 #define TWOPI 6.283185307179586 … … 61 59 + #define realloc mxRealloc 62 60 + #define free mxFree 61 + #define exit(status) mexErrMsgTxt("exit=" #status) 63 62 + 64 + #define check_graph chaco_check_graph65 63 + #endif 64 + #define check_graph chaco_check_graph 66 65 + 67 Only in /home/jschierm/Libs/Chaco-2.2/code/main: defs_old.h 68 diff -rc src/code/Makefile /home/jschierm/Libs/Chaco-2.2/code/Makefile 66 diff -rc src/code/Makefile new/code/Makefile 69 67 *** src/code/Makefile 1997-10-02 10:23:22.000000000 -0700 70 --- /home/jschierm/Libs/Chaco-2.2/code/Makefile 2010-02-10 14:05:56.986149785 -080071 *************** 72 *** 2, 8****68 --- new/code/Makefile 2010-06-15 10:35:41.507925761 -0700 69 *************** 70 *** 2,9 **** 73 71 DEST= ${DEST_DIR}/chaco 74 72 CC = gcc … … 78 76 79 77 FILES.c= main/user_params.c main/interface.c main/main.c \ 80 --- 2,13 ---- 78 submain/balance.c submain/divide.c submain/submain.c \ 79 --- 2,18 ---- 81 80 DEST= ${DEST_DIR}/chaco 82 81 CC = gcc … … 89 88 ! #CFLAGS = -fPIC -fno-omit-frame-pointer -pthread -fexceptions -DMATLAB 90 89 OFLAGS = -O2 90 + #AR = /usr/ccs/bin/ar rcv # for solaris 2 91 + AR = /usr/bin/ar rcv 92 + #RANLIB = /usr/ccs/bin/ranlib # for solaris 2 93 + RANLIB = /usr/bin/ranlib 91 94 92 95 FILES.c= main/user_params.c main/interface.c main/main.c \ 93 Only in /home/jschierm/Libs/Chaco-2.2/code: Makefile_old 94 diff -rc src/code/misc/timing.c /home/jschierm/Libs/Chaco-2.2/code/misc/timing.c 96 submain/balance.c submain/divide.c submain/submain.c \ 97 *************** 98 *** 90,97 **** 99 FILES.o= $(FILES.c:.c=.o) 100 101 102 ! ${DEST}: ${FILES.o} Makefile 103 ! ${CC} ${OFLAGS} ${FILES.o} -lm -o ${DEST} 104 105 lint: 106 lint ${IFLAG} ${FILES.c} -lm 107 --- 99,109 ---- 108 FILES.o= $(FILES.c:.c=.o) 109 110 111 ! ${DEST}: ${FILES.c} chaco.a Makefile 112 ! ${CC} ${OFLAGS} chaco.a -lm -o ${DEST} 113 ! 114 ! chaco.a: ${FILES.o} 115 ! ${AR} chaco.a ${FILES.o} ; ${RANLIB} chaco.a 116 117 lint: 118 lint ${IFLAG} ${FILES.c} -lm 119 *************** 120 *** 100,106 **** 121 alint ${IFLAG} ${FILES.c} -lm 122 123 clean: 124 ! rm -f */*.o ${DEST_DIR}/core 125 126 .c.o: 127 ${CC} -c ${IFLAG} ${CFLAGS} -o $*.o $*.c 128 --- 112,118 ---- 129 alint ${IFLAG} ${FILES.c} -lm 130 131 clean: 132 ! rm -f */*.o ${DEST_DIR}/core 133 134 .c.o: 135 ${CC} -c ${IFLAG} ${CFLAGS} -o $*.o $*.c 136 diff -rc src/code/misc/timing.c new/code/misc/timing.c 95 137 *** src/code/misc/timing.c 1997-01-03 09:10:52.000000000 -0800 96 --- /home/jschierm/Libs/Chaco-2.2/code/misc/timing.c 2009-07-30 09:43:19.954714766-0700138 --- new/code/misc/timing.c 2010-04-06 15:51:09.480194687 -0700 97 139 *************** 98 140 *** 3,8 **** … … 105 147 /* Timing parameters. */ 106 148 107 diff -rc src/code/util/bail.c /home/jschierm/Libs/Chaco-2.2/code/util/bail.c149 diff -rc src/code/util/bail.c new/code/util/bail.c 108 150 *** src/code/util/bail.c 1995-08-08 14:33:01.000000000 -0700 109 --- /home/jschierm/Libs/Chaco-2.2/code/util/bail.c 2009-07-30 09:43:24.495721262 -0700151 --- new/code/util/bail.c 2010-05-27 10:29:34.698534832 -0700 110 152 *************** 111 153 *** 4,9 **** … … 118 160 /* Wrapper for exit() - print message and exit with status code. Exit code 119 161 of 0 indicates normal termination. Exit code of 1 indicates early 120 diff -rc src/code/util/checkpnt.c /home/jschierm/Libs/Chaco-2.2/code/util/checkpnt.c 162 *************** 163 *** 14,20 **** 164 int status; 165 { 166 extern FILE *Output_File; /* Output file or NULL */ 167 - void exit(); 168 169 if (msg != NULL && (int) strlen(msg) > 0) { 170 printf("%s\n", msg); 171 --- 15,20 ---- 172 Only in new/code/util: bail_old.c 173 diff -rc src/code/util/checkpnt.c new/code/util/checkpnt.c 121 174 *** src/code/util/checkpnt.c 1995-08-08 14:33:01.000000000 -0700 122 --- /home/jschierm/Libs/Chaco-2.2/code/util/checkpnt.c 2009-07-30 09:43:28.190726549-0700175 --- new/code/util/checkpnt.c 2010-04-06 15:51:09.513194728 -0700 123 176 *************** 124 177 *** 4,9 **** … … 131 184 /* Debug break point. */ 132 185 void checkpnt(tag) 133 diff -rc src/code/util/doubleout.c /home/jschierm/Libs/Chaco-2.2/code/util/doubleout.c186 diff -rc src/code/util/doubleout.c new/code/util/doubleout.c 134 187 *** src/code/util/doubleout.c 1995-08-08 14:33:02.000000000 -0700 135 --- /home/jschierm/Libs/Chaco-2.2/code/util/doubleout.c 2009-07-30 09:43:34.192735135 -0700188 --- new/code/util/doubleout.c 2010-04-06 15:51:09.527194745 -0700 136 189 *************** 137 190 *** 3,8 **** … … 144 197 /* Print a double precision number with filtering format to screen. */ 145 198 void doubleout(number, mode) 146 diff -rc src/code/util/smalloc.c /home/jschierm/Libs/Chaco-2.2/code/util/smalloc.c199 diff -rc src/code/util/smalloc.c new/code/util/smalloc.c 147 200 *** src/code/util/smalloc.c 1996-03-11 10:44:07.000000000 -0800 148 --- /home/jschierm/Libs/Chaco-2.2/code/util/smalloc.c 2009-07-30 09:43:39.722743047-0700201 --- new/code/util/smalloc.c 2010-04-06 15:51:09.542194763 -0700 149 202 *************** 150 203 *** 4,9 **** … … 157 210 static int nmalloc = 0; /* number of calls to malloc */ 158 211 static int nfree = 0; /* number of calls to free */ 159 diff -rc src/code/util/strout.c /home/jschierm/Libs/Chaco-2.2/code/util/strout.c212 diff -rc src/code/util/strout.c new/code/util/strout.c 160 213 *** src/code/util/strout.c 1995-08-08 14:33:05.000000000 -0700 161 --- /home/jschierm/Libs/Chaco-2.2/code/util/strout.c 2009-07-30 09:43:47.607754325-0700214 --- new/code/util/strout.c 2010-04-06 15:51:09.549194772 -0700 162 215 *************** 163 216 *** 4,9 **** … … 170 223 /* Wrapper for a printf statement with a string as only arg. 171 224 Prints to screen and to output file if there is one. */ 225 Only in new/exec: chaco -
issm/trunk/externalpackages/chaco/chaco_jes_notes.txt
r2972 r4627 80 80 > 81 81 82 6/15/10: 83 84 - moved check_graph rename outside of MATLAB compiler directive. 85 - created library chaco.a (without MATLAB compiler directive) for Chaco x-layer to link and implemented it in chaco stand-alone link. 86 -
issm/trunk/externalpackages/chaco/install.sh
r3072 r4627 23 23 cd src/code 24 24 make 25 # Clean up , so that meshpart creates its own objects for mlchaco25 # Clean up objects (but not library or executable) 26 26 make clean 27 27 cd ../..
Note:
See TracChangeset
for help on using the changeset viewer.