Changeset 28138
- Timestamp:
- 03/13/24 11:46:12 (12 months ago)
- Location:
- issm/trunk-jpl
- Files:
-
- 4 deleted
- 10 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/etc/environment.sh
r28022 r28138 186 186 ####################### 187 187 188 OS_NAME=$(uname -s) 189 190 ## macOS 191 # 192 if [[ ${OS_NAME} == "Darwin" ]]; then 193 BUILD_TOOL_PATH=$(xcode-select -p) 194 195 if [[ ${BUILD_TOOL_PATH} == "/Applications/Xcode.app/Contents/Developer" ]]; then 196 BUILD_TOOL_VER=$(xcodebuild -version | /usr/bin/grep "Xcode" | sed -e 's/Xcode //' | cut -d. -f1) 197 elif [[ ${BUILD_TOOL_PATH} == "/Library/Developer/CommandLineTools" ]]; then 198 BUILD_TOOL_VER=$(pkgutil --pkg-info=com.apple.pkg.CLTools_Executables | /usr/bin/grep "version" | sed -e 's/version: //' | cut -d. -f1) 199 else 200 echo "Error: On macOS, either Xcode or the Command Line Tools must be installed!" 201 exit 1 202 fi 203 204 if [[ ${BUILD_TOOL_VER} -ge 15 ]]; then 205 export LDFLAGS="-Wl,-ld_classic" 206 fi 207 fi 208 209 ## Windows 210 # 188 211 MINGW=0 189 if [[ $ (uname -s)== MINGW* ]]; then212 if [[ ${OS_NAME} == MINGW* ]]; then 190 213 MINGW=1 191 214 MSMPI_ROOT="${ISSM_EXT_DIR}/msmpi/install" … … 205 228 fi 206 229 207 # Windows compilers208 if [[ "${ISSM_ARCH}" == "cygwin-intel" ]]; then209 source ${ISSM_DIR}/externalpackages/windows/windows_environment.sh210 fi230 # # Windows compilers 231 # if [[ "${ISSM_ARCH}" == "cygwin-intel" ]]; then 232 # source ${ISSM_DIR}/externalpackages/windows/windows_environment.sh 233 # fi 211 234 212 235 ######################### -
issm/trunk-jpl/externalpackages/chaco/chaco.patch
r11741 r28138 1 1 Only in src/code/assign: assign.o 2 2 diff -rc src/code/assign/assign_out.c old/code/assign/assign_out.c 3 *** src/code/assign/assign_out.c 4 --- old/code/assign/assign_out.c 3 *** src/code/assign/assign_out.c 2010-07-16 16:28:47.352242454 -0700 4 --- old/code/assign/assign_out.c 1995-08-08 14:32:10.000000000 -0700 5 5 *************** 6 6 *** 3,9 **** 7 7 * contract DE-AC04-76DP00789 and is copyrighted by Sandia Corporation. */ 8 8 9 #include 10 - #include 9 #include <stdio.h> 10 - #include "defs.h" 11 11 12 12 static void assign_out_normal(), assign_out_inv(); … … 54 54 Only in src/code/eigen: eigensolve.o 55 55 diff -rc src/code/eigen/get_extval.c old/code/eigen/get_extval.c 56 *** src/code/eigen/get_extval.c 57 --- old/code/eigen/get_extval.c 56 *** src/code/eigen/get_extval.c 2010-07-16 16:28:47.353242463 -0700 57 --- old/code/eigen/get_extval.c 1995-08-08 14:32:20.000000000 -0700 58 58 *************** 59 59 *** 4,10 **** … … 143 143 Only in src/code/klvspiff: make_sep_list.o 144 144 diff -rc src/code/klvspiff/matching.c old/code/klvspiff/matching.c 145 *** src/code/klvspiff/matching.c 146 --- old/code/klvspiff/matching.c 145 *** src/code/klvspiff/matching.c 2010-07-16 16:28:47.356242493 -0700 146 --- old/code/klvspiff/matching.c 1996-03-11 10:24:25.000000000 -0800 147 147 *************** 148 148 *** 6,12 **** … … 158 158 Only in src/code/klvspiff: nway_klv.o 159 159 diff -rc src/code/main/defs.h old/code/main/defs.h 160 *** src/code/main/defs.h 161 --- old/code/main/defs.h 160 *** src/code/main/defs.h 2010-07-16 16:28:47.359242522 -0700 161 --- old/code/main/defs.h 1995-08-08 14:32:41.000000000 -0700 162 162 *************** 163 163 *** 1,39 **** … … 165 165 ! #define _CHACO_DEFS_H_ 166 166 ! 167 #define TRUE 168 #define FALSE 167 #define TRUE 1 168 #define FALSE 0 169 169 170 170 ! #ifndef _HAVE_CHACO_ //protect ISSM compilation. This symbol is defined when we compile ISSM 171 171 ! 172 ! #define max(A, B)((A) > (B) ? (A) : (B))173 ! #define min(A, B)((A) < (B) ? (A) : (B))174 ! #define sign(A)((A) < 0 ? -1 : 1)175 ! #define absval(A)((A) < 0 ? -(A): (A))176 ! 177 ! 178 ! #define PI3.141592653589793179 ! #define TWOPI6.283185307179586180 ! 172 ! #define max(A, B) ((A) > (B) ? (A) : (B)) 173 ! #define min(A, B) ((A) < (B) ? (A) : (B)) 174 ! #define sign(A) ((A) < 0 ? -1 : 1) 175 ! #define absval(A) ((A) < 0 ? -(A): (A)) 176 ! 177 ! /* Define constants that are needed in various places */ 178 ! #define PI 3.141592653589793 179 ! #define TWOPI 6.283185307179586 180 ! #define HALFPI 1.570796326794896 181 181 ! 182 182 ! #define check_graph chaco_check_graph 183 183 ! 184 184 ! 185 ! 186 ! 187 ! 188 ! 189 ! 190 ! 191 ! 192 ! 193 ! 194 ! 195 ! 196 ! 197 ! 198 ! 185 ! #ifdef MATLAB 186 ! #include "mat.h" 187 ! #include "mex.h" 188 ! #include "matrix.h" 189 ! 190 ! #define printf mexPrintf 191 ! #define fprintf(file,...) (file == stdout || file == stderr ? mexPrintf(__VA_ARGS__) : fprintf(file,__VA_ARGS__)) 192 ! #define malloc mxMalloc 193 ! #define calloc mxCalloc 194 ! #define realloc mxRealloc 195 ! #define free mxFree 196 ! #define exit(status) mexErrMsgTxt("exit=" #status) 197 ! 198 ! #endif 199 199 ! 200 200 ! #endif //#ifndef _HAVE_CHACO_ … … 202 202 ! #endif //ifndef _CHACO_DEFS_H_ 203 203 --- 1,11 ---- 204 ! #define max(A, B)((A) > (B) ? (A) : (B))205 ! #define min(A, B)((A) < (B) ? (A) : (B))206 ! #define sign(A) 207 ! #define absval(A) 208 #define TRUE 209 #define FALSE 204 ! #define max(A, B) ((A) > (B) ? (A) : (B)) 205 ! #define min(A, B) ((A) < (B) ? (A) : (B)) 206 ! #define sign(A) ((A) < 0 ? -1 : 1) 207 ! #define absval(A) ((A) < 0 ? -(A): (A)) 208 #define TRUE 1 209 #define FALSE 0 210 210 211 211 ! /* Define constants that are needed in various places */ 212 ! #define PI3.141592653589793213 ! #define TWOPI6.283185307179586212 ! #define PI 3.141592653589793 213 ! #define TWOPI 6.283185307179586 214 214 ! #define HALFPI 1.570796326794896 215 215 Only in src/code/main: interface.o 216 216 Only in src/code/main: main.o 217 217 diff -rc src/code/main/params.h old/code/main/params.h 218 *** src/code/main/params.h 219 --- old/code/main/params.h 218 *** src/code/main/params.h 2010-07-16 16:28:47.361242541 -0700 219 --- old/code/main/params.h 1995-08-08 14:32:43.000000000 -0700 220 220 *************** 221 221 *** 1,12 **** … … 224 224 - 225 225 - 226 #define NAME_LENGTH 80/* Maximum length of file name */227 #define LINE_LENGTH 200/* Length of input files read at once */228 229 #define MAXDIMS 3/* Most cuts allowed at one time */230 #define MAXSETS 8/* 2^MAXDIMS */226 #define NAME_LENGTH 80 /* Maximum length of file name */ 227 #define LINE_LENGTH 200 /* Length of input files read at once */ 228 229 #define MAXDIMS 3 /* Most cuts allowed at one time */ 230 #define MAXSETS 8 /* 2^MAXDIMS */ 231 231 - 232 232 - … … 234 234 --- 1,5 ---- 235 235 Only in src/code/main: user_params.o 236 diff -rc src/code/Makefile old/code/Makefile237 *** src/code/Makefile 2010-07-21 18:22:19.909939194 -0700238 --- old/code/Makefile 1997-10-02 10:23:22.000000000 -0700239 ***************240 *** 2,18 ****241 DEST= ${DEST_DIR}/chaco242 CC = gcc243 IFLAG = -Imain244 ! #IFLAG = -Imain -I/usr/local/pkgs/matlab-7.6/extern/include245 ! #CFLAGS = -O2246 ! #OFLAGS = -O2247 ! #CFLAGS = -fPIC -fno-omit-frame-pointer -D_GNU_SOURCE -pthread -fexceptions248 ! CFLAGS = -fPIC -fno-omit-frame-pointer -pthread -fexceptions -g249 ! #CFLAGS = -fPIC -fno-omit-frame-pointer -pthread -fexceptions -DMATLAB250 ! OFLAGS = -O2251 ! #AR = /usr/ccs/bin/ar rcv # for solaris 2252 ! AR = /usr/bin/ar rcv253 ! #RANLIB = /usr/ccs/bin/ranlib # for solaris 2254 ! RANLIB = /usr/bin/ranlib255 256 FILES.c= main/user_params.c main/interface.c main/main.c \257 submain/balance.c submain/divide.c submain/submain.c \258 --- 2,9 ----259 DEST= ${DEST_DIR}/chaco260 CC = gcc261 IFLAG = -Imain262 ! CFLAGS = -O2263 ! OFLAGS = -O2264 265 FILES.c= main/user_params.c main/interface.c main/main.c \266 submain/balance.c submain/divide.c submain/submain.c \267 ***************268 *** 96,196 ****269 util/update.c util/vecout.c util/vecran.c \270 util/vecscale.c271 272 -273 - FILESMINUSBLAS.c= main/user_params.c main/interface.c main/main.c \274 - submain/balance.c submain/divide.c submain/submain.c \275 - input/input_assign.c \276 - input/check_input.c input/input.c input/input_geom.c \277 - input/input_graph.c input/read_params.c input/reflect_input.c \278 - input/read_val.c \279 - graph/check_graph.c graph/free_graph.c \280 - graph/reformat.c graph/subgraph.c graph/graph_out.c \281 - inertial/eigenvec2.c inertial/eigenvec3.c inertial/inertial.c \282 - inertial/inertial1d.c inertial/inertial2d.c \283 - inertial/inertial3d.c inertial/make_subgeom.c \284 - klspiff/buckets.c klspiff/buckets_bi.c klspiff/buckets1.c \285 - klspiff/bilistops.c klspiff/coarsen_kl.c klspiff/count_weights.c \286 - klspiff/compress_ewgts.c klspiff/kl_init.c klspiff/kl_output.c \287 - klspiff/klspiff.c klspiff/make_bndy_list.c \288 - klspiff/make_kl_list.c klspiff/nway_kl.c \289 - klvspiff/bpm_improve.c klvspiff/bucketsv.c \290 - klvspiff/clear_dvals.c klvspiff/coarsen_klv.c \291 - klvspiff/countup_vtx_sep.c klvspiff/find_bndy.c klvspiff/flow.c \292 - klvspiff/klv_init.c klvspiff/klvspiff.c klvspiff/make_bpgraph.c \293 - klvspiff/make_sep_list.c klvspiff/matching.c klvspiff/nway_klv.c \294 - klvspiff/flatten.c \295 - coarsen/coarsen.c coarsen/interpolate.c coarsen/makefgraph.c \296 - coarsen/makeccoords.c \297 - coarsen/coarsen1.c coarsen/makev2cv.c \298 - coarsen/maxmatch.c coarsen/maxmatch1.c coarsen/maxmatch2.c \299 - coarsen/maxmatch3.c coarsen/maxmatch4.c coarsen/maxmatch5.c \300 - connect/add_edges.c connect/connected.c connect/find_edges.c \301 - eigen/bidir.c eigen/bisect.c eigen/checkeig.c \302 - eigen/checkeig_ext.c \303 - eigen/checkorth.c eigen/cksturmcnt.c eigen/mkeigvecs.c\304 - eigen/eigensolve.c eigen/get_extval.c eigen/get_ritzvals.c \305 - eigen/lanczos_FO.c eigen/lanczos_SO.c eigen/lanczos_SO_float.c \306 - eigen/lanczos_ext.c eigen/lanczos_ext_float.c eigen/lanc_seconds.c\307 - eigen/lanpause.c eigen/makeorthlnk.c eigen/mkscanlist.c \308 - eigen/orthog1.c eigen/orthogonalize.c eigen/orthogvec.c \309 - eigen/ql.c eigen/rqi.c eigen/rqi_ext.c eigen/scale_diag.c \310 - eigen/scanmax.c eigen/scanmin.c eigen/solistout.c \311 - eigen/sorthog.c eigen/splarax.c eigen/sturmcnt.c \312 - eigen/Tevec.c eigen/tri_solve.c eigen/warnings.c \313 - symmlq/aprod.c symmlq/msolve.c symmlq/pow_dd.c \314 - symmlq/symmlq.c \315 - tinvit/tinvit.c tinvit/pythag.c tinvit/epslon.c \316 - optimize/determinant.c optimize/func2d.c \317 - optimize/func3d.c optimize/opt2d.c optimize/opt3d.c \318 - assign/assign.c assign/assign_out.c assign/mapper.c \319 - assign/median.c assign/merge_assign.c \320 - assign/rec_median.c assign/rotate.c assign/y2x.c \321 - bpmatch/checkbp.c bpmatch/inits2d.c bpmatch/inits3d.c \322 - bpmatch/genvals2d.c bpmatch/genvals3d.c bpmatch/map2d.c \323 - bpmatch/map3d.c bpmatch/movevtxs.c \324 - bpmatch/sorts2d.c bpmatch/sorts3d.c \325 - refine_map/compute_cube_edata.c refine_map/compute_cube_vdata.c \326 - refine_map/refine_cube.c refine_map/update_cube_edata.c \327 - refine_map/update_cube_vdata.c refine_map/find_edge_cube.c \328 - refine_map/init_cube_edata.c refine_map/compute_mesh_edata.c \329 - refine_map/compute_mesh_vdata.c refine_map/find_edge_mesh.c \330 - refine_map/init_mesh_edata.c refine_map/refine_mesh.c \331 - refine_map/update_mesh_edata.c refine_map/update_mesh_vdata.c \332 - refine_map/refine_map.c refine_map/make_comm_graph.c \333 - refine_part/refine_part.c refine_part/kl_refine.c \334 - refine_part/make_maps_ref.c refine_part/make_terms_ref.c \335 - internal/force_internal.c internal/improve_internal.c \336 - internal/check_internal.c \337 - misc/define_subcubes.c misc/define_submeshes.c \338 - misc/divide_procs.c misc/merge_goals.c misc/make_term_props.c \339 - misc/count.c misc/countup.c misc/countup_cube.c \340 - misc/countup_mesh.c misc/make_subgoal.c \341 - misc/find_maxdeg.c misc/make_maps.c misc/make_setlists.c \342 - misc/sequence.c misc/perturb.c misc/simple_part.c \343 - misc/time_kernels.c misc/timing.c \344 - util/affirm.c util/array_alloc_2D.c util/bit_reverse.c \345 - util/checkpnt.c util/cpvec.c util/dot.c \346 - util/doubleout.c util/input_int.c util/gray.c \347 - util/machine_params.c util/makevwsqrt.c util/mkvec.c util/norm.c \348 - util/normalize.c util/mergesort.c \349 - util/randomize.c util/smalloc.c util/bail.c \350 - util/scadd.c util/seconds.c util/setvec.c util/shell_sort.c \351 - util/strout.c util/tri_prod.c util/true_or_false.c \352 - util/update.c util/vecout.c util/vecran.c \353 - util/vecscale.c354 -355 FILES.o= $(FILES.c:.c=.o)356 - FILESMINUSBLAS.o= $(FILESMINUSBLAS.c:.c=.o)357 -358 -359 - ${DEST}: ${FILES.c} chaco.a Makefile360 - ${CC} ${OFLAGS} chaco.a -lm -o ${DEST}361 362 - chaco.a: ${FILES.o}363 - ${AR} chaco.a ${FILES.o} ; ${RANLIB} chaco.a364 365 ! chacominusblas.a: ${FILESMINUSBLAS.o}366 ! ${AR} chacominusblas.a ${FILESMINUSBLAS.o} ; ${RANLIB} chacominusblas.a367 368 lint:369 lint ${IFLAG} ${FILES.c} -lm370 --- 87,97 ----371 util/update.c util/vecout.c util/vecran.c \372 util/vecscale.c373 374 FILES.o= $(FILES.c:.c=.o)375 376 377 ! ${DEST}: ${FILES.o} Makefile378 ! ${CC} ${OFLAGS} ${FILES.o} -lm -o ${DEST}379 380 lint:381 lint ${IFLAG} ${FILES.c} -lm382 236 Only in src/code/misc: count.o 383 237 Only in src/code/misc: countup_cube.o … … 398 252 Only in src/code/misc: time_kernels.o 399 253 diff -rc src/code/misc/timing.c old/code/misc/timing.c 400 *** src/code/misc/timing.c 401 --- old/code/misc/timing.c 254 *** src/code/misc/timing.c 2010-07-16 16:28:47.366242590 -0700 255 --- old/code/misc/timing.c 1997-01-03 09:10:52.000000000 -0800 402 256 *************** 403 257 *** 3,9 **** … … 443 297 Only in src/code/symmlq: pow_dd.o 444 298 diff -rc src/code/symmlq/symmlqblas.f old/code/symmlq/symmlqblas.f 445 *** src/code/symmlq/symmlqblas.f 446 --- old/code/symmlq/symmlqblas.f 299 *** src/code/symmlq/symmlqblas.f 2010-07-21 18:09:10.370123273 -0700 300 --- old/code/symmlq/symmlqblas.f 2010-07-21 14:02:09.633743650 -0700 447 301 *************** 448 302 *** 16,22 **** … … 470 324 Only in src/code/util: array_alloc_2D.o 471 325 diff -rc src/code/util/bail.c old/code/util/bail.c 472 *** src/code/util/bail.c 473 --- old/code/util/bail.c 326 *** src/code/util/bail.c 2010-07-16 16:28:47.368242609 -0700 327 --- old/code/util/bail.c 1995-08-08 14:33:01.000000000 -0700 474 328 *************** 475 329 *** 4,10 **** 476 330 477 #include 478 #include 479 - #include 331 #include <stdio.h> 332 #include <string.h> 333 - #include "defs.h" 480 334 481 335 /* Wrapper for exit() - print message and exit with status code. Exit code … … 487 341 int status; 488 342 { 489 extern FILE *Output_File; 343 extern FILE *Output_File; /* Output file or NULL */ 490 344 + void exit(); 491 345 … … 495 349 Only in src/code/util: bit_reverse.o 496 350 diff -rc src/code/util/checkpnt.c old/code/util/checkpnt.c 497 *** src/code/util/checkpnt.c 498 --- old/code/util/checkpnt.c 351 *** src/code/util/checkpnt.c 2010-07-16 16:28:47.370242629 -0700 352 --- old/code/util/checkpnt.c 1995-08-08 14:33:01.000000000 -0700 499 353 *************** 500 354 *** 4,10 **** 501 355 502 #include 503 #include 504 - #include 356 #include <stdio.h> 357 #include <string.h> 358 - #include "defs.h" 505 359 506 360 /* Debug break point. */ … … 511 365 Only in src/code/util: dot.o 512 366 diff -rc src/code/util/doubleout.c old/code/util/doubleout.c 513 *** src/code/util/doubleout.c 514 --- old/code/util/doubleout.c 367 *** src/code/util/doubleout.c 2010-07-16 16:28:47.372242648 -0700 368 --- old/code/util/doubleout.c 1995-08-08 14:33:02.000000000 -0700 515 369 *************** 516 370 *** 3,9 **** … … 538 392 Only in src/code/util: shell_sort.o 539 393 diff -rc src/code/util/smalloc.c old/code/util/smalloc.c 540 *** src/code/util/smalloc.c 541 --- old/code/util/smalloc.c 394 *** src/code/util/smalloc.c 2010-07-16 16:28:47.375242677 -0700 395 --- old/code/util/smalloc.c 1996-03-11 10:44:07.000000000 -0800 542 396 *************** 543 397 *** 4,10 **** … … 547 401 - #include "defs.h" 548 402 549 static int nmalloc = 0; 550 static int nfree = 0; 403 static int nmalloc = 0; /* number of calls to malloc */ 404 static int nfree = 0; /* number of calls to free */ 551 405 --- 4,9 ---- 552 406 Only in src/code/util: smalloc.o 553 407 diff -rc src/code/util/strout.c old/code/util/strout.c 554 *** src/code/util/strout.c 555 --- old/code/util/strout.c 408 *** src/code/util/strout.c 2010-07-16 16:28:47.377242697 -0700 409 --- old/code/util/strout.c 1995-08-08 14:33:05.000000000 -0700 556 410 *************** 557 411 *** 4,10 **** 558 412 559 #include 560 #include 561 - #include 413 #include <stdio.h> 414 #include <string.h> 415 - #include "defs.h" 562 416 563 417 /* Wrapper for a printf statement with a string as only arg. -
issm/trunk-jpl/externalpackages/chaco/patches/Makefile.patch
r28027 r28138 1 cat Makefile.patch 2 --- Makefile.bak 2023-12-16 14:13:20.545167957 -0500 3 +++ src/code/Makefile 2023-12-16 14:15:23.204795093 -0500 4 @@ -6,13 +6,15 @@ 5 #CFLAGS = -O2 6 #OFLAGS = -O2 7 #CFLAGS = -fPIC -fno-omit-frame-pointer -D_GNU_SOURCE -pthread -fexceptions 8 -CFLAGS = -fPIC -fno-omit-frame-pointer -pthread -fexceptions -g 9 +C FLAGS = -fPIC -fno-omit-frame-pointer -pthread -fexceptions -g -I/usr/include/malloc -Wno-implicit-function-declaration10 #CFLAGS = -fPIC -fno-omit-frame-pointer -pthread -fexceptions -DMATLAB11 OFLAGS = -O2 12 #AR = /usr/ccs/bin/ar rcv # for solaris213 -AR = /usr/bin/ar rcv 14 + #AR = /usr/bin/ar rcv1 --- ./src/code/Makefile 1997-10-02 10:23:22 2 +++ ./Makefile 2024-03-12 14:07:55 3 @@ -1,106 +1,117 @@ 4 -DEST_DIR = ../exec 5 -DEST= ${DEST_DIR}/chaco 6 -CC = gcc 7 +DEST_DIR = ../exec 8 +DEST = ${DEST_DIR}/chaco 9 +CC = gcc 10 IFLAG = -Imain 11 -CFLAGS = -O2 12 -OFLAGS = -O2 13 +CFLAGS = -fPIC -pthread -fexceptions -g -I/usr/include/malloc -w -Wno-error=implicit-int -Wno-error=implicit-function-declaration 14 +OFLAGS = -O2 -fno-omit-frame-pointer 15 15 +AR = ar rcv 16 #RANLIB = /usr/ccs/bin/ranlib # for solaris 217 -RANLIB = /usr/bin/ranlib18 +#RANLIB = /usr/bin/ranlib19 16 +RANLIB = ranlib 20 17 21 FILES.c= main/user_params.c main/interface.c main/main.c \ 22 submain/balance.c submain/divide.c submain/submain.c \ 18 -FILES.c= main/user_params.c main/interface.c main/main.c \ 19 - submain/balance.c submain/divide.c submain/submain.c \ 20 - input/input_assign.c \ 21 - input/check_input.c input/input.c input/input_geom.c \ 22 - input/input_graph.c input/read_params.c input/reflect_input.c \ 23 - input/read_val.c \ 24 - graph/check_graph.c graph/free_graph.c \ 25 - graph/reformat.c graph/subgraph.c graph/graph_out.c \ 26 - inertial/eigenvec2.c inertial/eigenvec3.c inertial/inertial.c \ 27 - inertial/inertial1d.c inertial/inertial2d.c \ 28 - inertial/inertial3d.c inertial/make_subgeom.c \ 29 - klspiff/buckets.c klspiff/buckets_bi.c klspiff/buckets1.c \ 30 - klspiff/bilistops.c klspiff/coarsen_kl.c klspiff/count_weights.c \ 31 - klspiff/compress_ewgts.c klspiff/kl_init.c klspiff/kl_output.c \ 32 - klspiff/klspiff.c klspiff/make_bndy_list.c \ 33 - klspiff/make_kl_list.c klspiff/nway_kl.c \ 34 - klvspiff/bpm_improve.c klvspiff/bucketsv.c \ 35 - klvspiff/clear_dvals.c klvspiff/coarsen_klv.c \ 36 - klvspiff/countup_vtx_sep.c klvspiff/find_bndy.c klvspiff/flow.c \ 37 - klvspiff/klv_init.c klvspiff/klvspiff.c klvspiff/make_bpgraph.c \ 38 - klvspiff/make_sep_list.c klvspiff/matching.c klvspiff/nway_klv.c \ 39 - klvspiff/flatten.c \ 40 - coarsen/coarsen.c coarsen/interpolate.c coarsen/makefgraph.c \ 41 - coarsen/makeccoords.c \ 42 - coarsen/coarsen1.c coarsen/makev2cv.c \ 43 - coarsen/maxmatch.c coarsen/maxmatch1.c coarsen/maxmatch2.c \ 44 - coarsen/maxmatch3.c coarsen/maxmatch4.c coarsen/maxmatch5.c \ 45 - connect/add_edges.c connect/connected.c connect/find_edges.c \ 46 - eigen/bidir.c eigen/bisect.c eigen/checkeig.c \ 47 - eigen/checkeig_ext.c \ 48 - eigen/checkorth.c eigen/cksturmcnt.c eigen/mkeigvecs.c\ 49 - eigen/eigensolve.c eigen/get_extval.c eigen/get_ritzvals.c \ 50 - eigen/lanczos_FO.c eigen/lanczos_SO.c eigen/lanczos_SO_float.c \ 51 - eigen/lanczos_ext.c eigen/lanczos_ext_float.c eigen/lanc_seconds.c\ 52 - eigen/lanpause.c eigen/makeorthlnk.c eigen/mkscanlist.c \ 53 - eigen/orthog1.c eigen/orthogonalize.c eigen/orthogvec.c \ 54 - eigen/ql.c eigen/rqi.c eigen/rqi_ext.c eigen/scale_diag.c \ 55 - eigen/scanmax.c eigen/scanmin.c eigen/solistout.c \ 56 - eigen/sorthog.c eigen/splarax.c eigen/sturmcnt.c \ 57 - eigen/Tevec.c eigen/tri_solve.c eigen/warnings.c \ 58 - symmlq/aprod.c symmlq/msolve.c symmlq/pow_dd.c \ 59 - symmlq/symmlq.c symmlq/symmlqblas.c \ 60 - tinvit/tinvit.c tinvit/pythag.c tinvit/epslon.c \ 61 - optimize/determinant.c optimize/func2d.c \ 62 - optimize/func3d.c optimize/opt2d.c optimize/opt3d.c \ 63 - assign/assign.c assign/assign_out.c assign/mapper.c \ 64 - assign/median.c assign/merge_assign.c \ 65 - assign/rec_median.c assign/rotate.c assign/y2x.c \ 66 - bpmatch/checkbp.c bpmatch/inits2d.c bpmatch/inits3d.c \ 67 - bpmatch/genvals2d.c bpmatch/genvals3d.c bpmatch/map2d.c \ 68 - bpmatch/map3d.c bpmatch/movevtxs.c \ 69 - bpmatch/sorts2d.c bpmatch/sorts3d.c \ 70 - refine_map/compute_cube_edata.c refine_map/compute_cube_vdata.c \ 71 - refine_map/refine_cube.c refine_map/update_cube_edata.c \ 72 - refine_map/update_cube_vdata.c refine_map/find_edge_cube.c \ 73 - refine_map/init_cube_edata.c refine_map/compute_mesh_edata.c \ 74 - refine_map/compute_mesh_vdata.c refine_map/find_edge_mesh.c \ 75 - refine_map/init_mesh_edata.c refine_map/refine_mesh.c \ 76 - refine_map/update_mesh_edata.c refine_map/update_mesh_vdata.c \ 77 - refine_map/refine_map.c refine_map/make_comm_graph.c \ 78 - refine_part/refine_part.c refine_part/kl_refine.c \ 79 - refine_part/make_maps_ref.c refine_part/make_terms_ref.c \ 80 - internal/force_internal.c internal/improve_internal.c \ 81 - internal/check_internal.c \ 82 - misc/define_subcubes.c misc/define_submeshes.c \ 83 - misc/divide_procs.c misc/merge_goals.c misc/make_term_props.c \ 84 - misc/count.c misc/countup.c misc/countup_cube.c \ 85 - misc/countup_mesh.c misc/make_subgoal.c \ 86 - misc/find_maxdeg.c misc/make_maps.c misc/make_setlists.c \ 87 - misc/sequence.c misc/perturb.c misc/simple_part.c \ 88 - misc/time_kernels.c misc/timing.c \ 89 - util/affirm.c util/array_alloc_2D.c util/bit_reverse.c \ 90 - util/checkpnt.c util/cpvec.c util/dot.c \ 91 - util/doubleout.c util/input_int.c util/gray.c \ 92 - util/machine_params.c util/makevwsqrt.c util/mkvec.c util/norm.c \ 93 - util/normalize.c util/mergesort.c \ 94 - util/randomize.c util/smalloc.c util/bail.c \ 95 - util/scadd.c util/seconds.c util/setvec.c util/shell_sort.c \ 96 - util/strout.c util/tri_prod.c util/true_or_false.c \ 97 - util/update.c util/vecout.c util/vecran.c \ 98 - util/vecscale.c 99 +FILESMINUSBLAS.c = \ 100 + main/user_params.c main/interface.c main/main.c \ 101 + submain/balance.c submain/divide.c submain/submain.c \ 102 + input/input_assign.c \ 103 + input/check_input.c input/input.c input/input_geom.c \ 104 + input/input_graph.c input/read_params.c input/reflect_input.c \ 105 + input/read_val.c \ 106 + graph/check_graph.c graph/free_graph.c \ 107 + graph/reformat.c graph/subgraph.c graph/graph_out.c \ 108 + inertial/eigenvec2.c inertial/eigenvec3.c inertial/inertial.c \ 109 + inertial/inertial1d.c inertial/inertial2d.c \ 110 + inertial/inertial3d.c inertial/make_subgeom.c \ 111 + klspiff/buckets.c klspiff/buckets_bi.c klspiff/buckets1.c \ 112 + klspiff/bilistops.c klspiff/coarsen_kl.c klspiff/count_weights.c \ 113 + klspiff/compress_ewgts.c klspiff/kl_init.c klspiff/kl_output.c \ 114 + klspiff/klspiff.c klspiff/make_bndy_list.c \ 115 + klspiff/make_kl_list.c klspiff/nway_kl.c \ 116 + klvspiff/bpm_improve.c klvspiff/bucketsv.c \ 117 + klvspiff/clear_dvals.c klvspiff/coarsen_klv.c \ 118 + klvspiff/countup_vtx_sep.c klvspiff/find_bndy.c klvspiff/flow.c \ 119 + klvspiff/klv_init.c klvspiff/klvspiff.c klvspiff/make_bpgraph.c \ 120 + klvspiff/make_sep_list.c klvspiff/matching.c klvspiff/nway_klv.c \ 121 + klvspiff/flatten.c \ 122 + coarsen/coarsen.c coarsen/interpolate.c coarsen/makefgraph.c \ 123 + coarsen/makeccoords.c \ 124 + coarsen/coarsen1.c coarsen/makev2cv.c \ 125 + coarsen/maxmatch.c coarsen/maxmatch1.c coarsen/maxmatch2.c \ 126 + coarsen/maxmatch3.c coarsen/maxmatch4.c coarsen/maxmatch5.c \ 127 + connect/add_edges.c connect/connected.c connect/find_edges.c \ 128 + eigen/bidir.c eigen/bisect.c eigen/checkeig.c \ 129 + eigen/checkeig_ext.c \ 130 + eigen/checkorth.c eigen/cksturmcnt.c eigen/mkeigvecs.c\ 131 + eigen/eigensolve.c eigen/get_extval.c eigen/get_ritzvals.c \ 132 + eigen/lanczos_FO.c eigen/lanczos_SO.c eigen/lanczos_SO_float.c \ 133 + eigen/lanczos_ext.c eigen/lanczos_ext_float.c eigen/lanc_seconds.c\ 134 + eigen/lanpause.c eigen/makeorthlnk.c eigen/mkscanlist.c \ 135 + eigen/orthog1.c eigen/orthogonalize.c eigen/orthogvec.c \ 136 + eigen/ql.c eigen/rqi.c eigen/rqi_ext.c eigen/scale_diag.c \ 137 + eigen/scanmax.c eigen/scanmin.c eigen/solistout.c \ 138 + eigen/sorthog.c eigen/splarax.c eigen/sturmcnt.c \ 139 + eigen/Tevec.c eigen/tri_solve.c eigen/warnings.c \ 140 + symmlq/aprod.c symmlq/msolve.c symmlq/pow_dd.c \ 141 + symmlq/symmlq.c \ 142 + tinvit/tinvit.c tinvit/pythag.c tinvit/epslon.c \ 143 + optimize/determinant.c optimize/func2d.c \ 144 + optimize/func3d.c optimize/opt2d.c optimize/opt3d.c \ 145 + assign/assign.c assign/assign_out.c assign/mapper.c \ 146 + assign/median.c assign/merge_assign.c \ 147 + assign/rec_median.c assign/rotate.c assign/y2x.c \ 148 + bpmatch/checkbp.c bpmatch/inits2d.c bpmatch/inits3d.c \ 149 + bpmatch/genvals2d.c bpmatch/genvals3d.c bpmatch/map2d.c \ 150 + bpmatch/map3d.c bpmatch/movevtxs.c \ 151 + bpmatch/sorts2d.c bpmatch/sorts3d.c \ 152 + refine_map/compute_cube_edata.c refine_map/compute_cube_vdata.c \ 153 + refine_map/refine_cube.c refine_map/update_cube_edata.c \ 154 + refine_map/update_cube_vdata.c refine_map/find_edge_cube.c \ 155 + refine_map/init_cube_edata.c refine_map/compute_mesh_edata.c \ 156 + refine_map/compute_mesh_vdata.c refine_map/find_edge_mesh.c \ 157 + refine_map/init_mesh_edata.c refine_map/refine_mesh.c \ 158 + refine_map/update_mesh_edata.c refine_map/update_mesh_vdata.c \ 159 + refine_map/refine_map.c refine_map/make_comm_graph.c \ 160 + refine_part/refine_part.c refine_part/kl_refine.c \ 161 + refine_part/make_maps_ref.c refine_part/make_terms_ref.c \ 162 + internal/force_internal.c internal/improve_internal.c \ 163 + internal/check_internal.c \ 164 + misc/define_subcubes.c misc/define_submeshes.c \ 165 + misc/divide_procs.c misc/merge_goals.c misc/make_term_props.c \ 166 + misc/count.c misc/countup.c misc/countup_cube.c \ 167 + misc/countup_mesh.c misc/make_subgoal.c \ 168 + misc/find_maxdeg.c misc/make_maps.c misc/make_setlists.c \ 169 + misc/sequence.c misc/perturb.c misc/simple_part.c \ 170 + misc/time_kernels.c misc/timing.c \ 171 + util/affirm.c util/array_alloc_2D.c util/bit_reverse.c \ 172 + util/checkpnt.c util/cpvec.c util/dot.c \ 173 + util/doubleout.c util/input_int.c util/gray.c \ 174 + util/machine_params.c util/makevwsqrt.c util/mkvec.c util/norm.c \ 175 + util/normalize.c util/mergesort.c \ 176 + util/randomize.c util/smalloc.c util/bail.c \ 177 + util/scadd.c util/seconds.c util/setvec.c util/shell_sort.c \ 178 + util/strout.c util/tri_prod.c util/true_or_false.c \ 179 + util/update.c util/vecout.c util/vecran.c \ 180 + util/vecscale.c 181 182 -FILES.o= $(FILES.c:.c=.o) 183 +FILES.c = $(FILESMINUSBLAS.c) symmlq/symmlqblas.c 184 185 +FILES.o = $(FILES.c:.c=.o) 186 +FILESMINUSBLAS.o = $(FILESMINUSBLAS.c:.c=.o) 187 188 -${DEST}: ${FILES.o} Makefile 189 - ${CC} ${OFLAGS} ${FILES.o} -lm -o ${DEST} 190 +${DEST}: ${FILES.c} chaco.a Makefile 191 + ${CC} ${OFLAGS} chaco.a -lm -o ${DEST} 192 193 +chaco.a: ${FILES.o} 194 + ${AR} chaco.a ${FILES.o} ; ${RANLIB} chaco.a 195 + 196 +chacominusblas.a: ${FILESMINUSBLAS.o} 197 + ${AR} chacominusblas.a ${FILESMINUSBLAS.o} ; ${RANLIB} chacominusblas.a 198 + 199 lint: 200 - lint ${IFLAG} ${FILES.c} -lm 201 + lint ${IFLAG} ${FILES.c} -lm 202 203 alint: 204 - alint ${IFLAG} ${FILES.c} -lm 205 + alint ${IFLAG} ${FILES.c} -lm 206 207 clean: 208 - rm -f */*.o ${DEST_DIR}/core 209 + rm -f */*.o ${DEST_DIR}/core 210 211 .c.o: 212 - ${CC} -c ${IFLAG} ${CFLAGS} -o $*.o $*.c 213 + ${CC} -c ${IFLAG} ${CFLAGS} -o $*.o $*.c -
issm/trunk-jpl/externalpackages/cmake/install.sh
r26212 r28138 5 5 ## Constants 6 6 # 7 VER="3. 19.3"7 VER="3.28.3" 8 8 9 9 PREFIX="${ISSM_DIR}/externalpackages/cmake/install" # Set to location where external package should be installed -
issm/trunk-jpl/externalpackages/dakota/install-6.2-mac.sh
r27867 r28138 74 74 -DBUILD_STATIC_LIBS=OFF \ 75 75 -DCMAKE_C_COMPILER=${MPI_HOME}/bin/mpicc \ 76 -DCMAKE_C_FLAGS="-w " \76 -DCMAKE_C_FLAGS="-w -Wno-error=implicit-int" \ 77 77 -DCMAKE_CXX_COMPILER=${MPI_HOME}/bin/mpicxx \ 78 78 -DCMAKE_CXX_FLAGS="-fdelayed-template-parsing -w" \ … … 139 139 install_name_tool -add_rpath ${LIBGFORTRAN_ROOT} libteuchos.dylib 140 140 install_name_tool -add_rpath ${LIBGFORTRAN_ROOT} liboptpp.dylib 141 -
issm/trunk-jpl/externalpackages/gsl/install.sh
r27202 r28138 37 37 make -j $1 install 38 38 fi 39 -
issm/trunk-jpl/externalpackages/m1qn3/install-mac.sh
r28084 r28138 1 1 #!/bin/bash 2 2 set -eu 3 3 4 4 5 ## Constants -
issm/trunk-jpl/externalpackages/petsc/install-3.20-mac-intel.sh
r28135 r28138 38 38 --PETSC_DIR="${PETSC_DIR}" \ 39 39 --CFLAGS="-Wno-error=implicit-function-declaration" \ 40 --LDFLAGS="-Wl,-ld_classic" \41 40 --with-debugging=0 \ 42 41 --with-valgrind=0 \ … … 45 44 --with-pic=1 \ 46 45 --download-fblaslapack=1 \ 47 --download-mpich= 1\46 --download-mpich="https://www.mpich.org/static/downloads/4.2.0/mpich-4.2.0.tar.gz" \ 48 47 --download-metis=1 \ 49 48 --download-parmetis=1 \ … … 56 55 make install 57 56 57 # Need to make sure classic linker is used (should be able to remove this once MPICH fixes it) 58 if [[ ${LDFLAGS} =~ "-Wl,-ld_classic" ]]; then 59 sed -i'' -e 's/-Wl,-commons,use_dylibs//g' ${PREFIX}/bin/mpicc 60 sed -i'' -e 's/-Wl,-commons,use_dylibs//g' ${PREFIX}/bin/mpicxx 61 fi -
issm/trunk-jpl/externalpackages/petsc/install-3.20-mac-silicon.sh
r28031 r28138 5 5 ## Constants 6 6 # 7 VER="3.20. 2"7 VER="3.20.5" 8 8 9 9 PETSC_DIR="${ISSM_DIR}/externalpackages/petsc/src" # DO NOT CHANGE THIS … … 45 45 make 46 46 make install 47 48 # Need to make sure classic linker is used (should be able to remove this once MPICH fixes it) 49 if [[ ${LDFLAGS} =~ "-Wl,-ld_classic" ]]; then 50 sed -i'' -e 's/-Wl,-commons,use_dylibs//g' ${PREFIX}/bin/mpicc 51 sed -i'' -e 's/-Wl,-commons,use_dylibs//g' ${PREFIX}/bin/mpicxx 52 fi -
issm/trunk-jpl/jenkins/mac-intel-full
r28079 r28138 24 24 --with-python-dir=/System/Volumes/Data/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9 \ 25 25 --with-python-numpy-dir=/Library/Python/3.9/site-packages/numpy/core/include/numpy \ 26 --with-fortran-lib="-L/ opt/homebrew/Cellar/gcc/13.1.0/lib/gcc/13 -lgfortran" \26 --with-fortran-lib="-L/usr/local/Cellar/gcc/13.2.0/lib/gcc/13 -lgfortran" \ 27 27 --with-mpi-include=${ISSM_DIR}/externalpackages/petsc/install/include \ 28 28 --with-mpi-libflags="-L${ISSM_DIR}/externalpackages/petsc/install/lib -lmpi -lmpicxx -lmpifort" \ … … 51 51 autotools install-mac.sh 52 52 cmake install.sh 53 petsc install-3. 14-mac.sh53 petsc install-3.20-mac-intel.sh 54 54 gsl install.sh 55 55 boost install-1.7-mac.sh … … 91 91 92 92 # Nightly run options 93 MATLAB_NROPTIONS="" 94 PYTHON_NROPTIONS="" 93 MATLAB_NROPTIONS="'exclude',[IdFromString('Dakota'),119,216,274,423,430,433,435,441:442,448,462:464,508,517,544,546,701,702,703,808]" 94 PYTHON_NROPTIONS="--exclude Dakota 119 216 274 423 430 433 435 441:442 448 462:464 508 517 544 546 702:703 808" 95
Note:
See TracChangeset
for help on using the changeset viewer.