@@ -173,7 +173,16 @@ dashL= $(empty) -L
173
173
# --------------------------------------------------------------------------
174
174
175
175
FLAG_4 = -DMULTIPROCESSOR
176
- PARLIB = -lmetis # -L/usr/local/lib -lmetis
176
+ # If using METIS 5 or above, uncomment FLAG_411 and read the file readme_metis in folder METIS_readme for detail
177
+ FLAG_411 = -DMETIS_5
178
+ # If FLAG_411 is defined, uncomment path below
179
+ PARLIB =
180
+ PARTINCS = -I /usr /local /install /metis /5.1.0 /intel /19 /include
181
+ PARTLIBS = -L /usr /local /install /metis /5.1.0 /intel /19 /lib -lmetis
182
+ # If FLAG_411 is not defined, uncomment path below
183
+ # PARLIB = -lmetis #-L/usr/local/lib -lmetis
184
+ # PARTINCS =
185
+ # PARTLIBS =
177
186
178
187
# --------------------------------------------------------------------------
179
188
# WATER_QUALITY INCLUDE EPA WATER QUALITY MOD
@@ -486,7 +495,8 @@ dashL= $(empty) -L
486
495
# FLAG_40 = -DLIMITER_VER_ADV
487
496
# --------------------------------------------------------------------------
488
497
# SPECIAL PARTITION
489
- # This flag can make sure the identical repeat run for same amount of CPUs
498
+ # This flag can make sure the identical repeat run for same amount of CPUs
499
+ # (there should be no opt = -O3 when compilation)
490
500
# --------------------------------------------------------------------------
491
501
# FLAG_42 = -DPARTITION_SPECIAL
492
502
@@ -645,18 +655,18 @@ dashL= $(empty) -L
645
655
$(FLAG_31 ) $(FLAG_32 ) $(FLAG_33 ) $(FLAG_34 ) \
646
656
$(FLAG_35 ) $(FLAG_36 ) $(FLAG_37 ) $(FLAG_38 ) \
647
657
$(FLAG_39 ) $(FLAG_40 ) $(FLAG_41 ) $(FLAG_42 ) \
648
- $(FLAG_43 ) $(FLAG_44 ) $(FLAG_80 )$(FLAG_LAM )\
658
+ $(FLAG_43 ) $(FLAG_44 ) $(FLAG_80 ) $(FLAG_LAM ) $( FLAG_411 )\
649
659
$(FLAG_101 ) $(FLAG_102 ) $(FLAG_103 ) $(FLAG_104 ) $(FLAG_105 )\
650
660
$(FLAG_211 ) $(FLAG_212 ) $(FLAG_213 ) $(FLAG_251 ) $(FLAG_261 ) $(FLAG_262 )\
651
661
$(FLAG_USE_NETCDF4 ) $(FLAG_USE_COMPRESSION )
652
662
# --------------------------------------------------------------------------
653
663
# Libraries
654
664
# --------------------------------------------------------------------------
655
665
656
- LIBS = $(LIBDIR ) $(CLIB ) $(PARLIB ) $(IOLIBS ) $(DTLIBS )\
666
+ LIBS = $(LIBDIR ) $(CLIB ) $(PARLIB ) $( PARTLIBS ) $(IOLIBS ) $(DTLIBS )\
657
667
$(MPILIB ) $(GOTMLIB ) $(KFLIB ) $(BIOLIB ) \
658
668
$(OILIB ) $(VISITLIB ) $(PROJLIBS ) $(PETSC_LIB )
659
669
660
670
INCS = $(INCDIR ) $(IOINCS ) $(GOTMINCS ) $(BIOINCS )\
661
- $(VISITINCPATH ) $(PROJINCS ) $(DTINCS ) \
671
+ $(VISITINCPATH ) $(PROJINCS ) $(DTINCS ) $( PARTINCS ) \
662
672
$(PETSC_FC_INCLUDES )
0 commit comments