Index: /issm/trunk-jpl/externalpackages/petsc/install-3.12-mac-solid_earth-static.sh
===================================================================
--- /issm/trunk-jpl/externalpackages/petsc/install-3.12-mac-solid_earth-static.sh	(revision 25566)
+++ /issm/trunk-jpl/externalpackages/petsc/install-3.12-mac-solid_earth-static.sh	(revision 25567)
@@ -29,9 +29,18 @@
 # Configure
 #
-# NOTE: Cannot use --with-fpic option when compiling static libs,
+# NOTE: 
+# - Cannot use --with-fpic option when compiling static libs,
 #
 #		Cannot determine compiler PIC flags if shared libraries is turned off
 #		Either run using --with-shared-libraries or --with-pic=0 and supply the
 #		compiler PIC flag via CFLAGS, CXXXFLAGS, and FCFLAGS
+#
+# - Added -fallow-argument-mismatch to FFLAGS in order to clear,
+#
+#		error: The Fortran compiler gfortran will not compile files that call 
+#		the same routine with arguments of different types.
+#
+#	This has only been added to macOS static builds, but may be needed 
+#	elsewhere.
 #
 cd src
@@ -42,5 +51,5 @@
 	--CFLAGS="-fPIC" \
 	--CXXFLAGS="-fPIC" \
-	--FFLAGS="-fPIC -static-libgfortran" \
+	--FFLAGS="-fPIC -fallow-argument-mismatch -static-libgfortran" \
 	--with-debugging=0 \
 	--with-valgrind=0 \
Index: /issm/trunk-jpl/externalpackages/petsc/install-3.12-mac-static.sh
===================================================================
--- /issm/trunk-jpl/externalpackages/petsc/install-3.12-mac-static.sh	(revision 25566)
+++ /issm/trunk-jpl/externalpackages/petsc/install-3.12-mac-static.sh	(revision 25567)
@@ -29,9 +29,18 @@
 # Configure
 #
-# NOTE: Cannot use --with-fpic option when compiling static libs,
+# NOTE: 
+# - Cannot use --with-fpic option when compiling static libs,
 #
 #		Cannot determine compiler PIC flags if shared libraries is turned off
 #		Either run using --with-shared-libraries or --with-pic=0 and supply the
 #		compiler PIC flag via CFLAGS, CXXXFLAGS, and FCFLAGS
+#
+# - Added -fallow-argument-mismatch to FFLAGS in order to clear,
+#
+#		error: The Fortran compiler gfortran will not compile files that call 
+#		the same routine with arguments of different types.
+#
+#	This has only been added to macOS static builds, but may be needed 
+#	elsewhere.
 #
 cd src
@@ -42,5 +51,5 @@
 	--CFLAGS="-fPIC" \
 	--CXXFLAGS="-fPIC" \
-	--FFLAGS="-fPIC -static-libgfortran" \
+	--FFLAGS="-fPIC -fallow-argument-mismatch -static-libgfortran" \
 	--with-debugging=0 \
 	--with-valgrind=0 \
