Index: /issm/trunk-jpl/etc/environment.sh
===================================================================
--- /issm/trunk-jpl/etc/environment.sh	(revision 25543)
+++ /issm/trunk-jpl/etc/environment.sh	(revision 25544)
@@ -197,5 +197,5 @@
 if [ -d "$PETSC_DIR" ]; then
 	export PETSC_DIR
-	ld_library_path_append "${PETSC_DIR}/lib"
+	ld_library_path_prepend "${PETSC_DIR}/lib"
 
 	# In case we have installed MPICH via PETSc
Index: /issm/trunk-jpl/jenkins/aws-amazon_linux-solid_earth
===================================================================
--- /issm/trunk-jpl/jenkins/aws-amazon_linux-solid_earth	(revision 25544)
+++ /issm/trunk-jpl/jenkins/aws-amazon_linux-solid_earth	(revision 25544)
@@ -0,0 +1,82 @@
+#--------------------#
+# ISSM Configuration #
+#--------------------#
+
+MATLAB_PATH="/usr/local/MATLAB/R2020a"
+ISSM_CONFIG='\
+	--prefix=${ISSM_DIR} \
+	--disable-static \
+	--enable-development \
+	--enable-debugging \
+	--with-numthreads=4 \
+	--with-matlab-dir=${MATLAB_PATH} \
+	--with-python-dir=/usr \
+	--with-python-numpy-dir=/usr/lib64/python2.7/site-packages/numpy/core/include/numpy \
+	--with-fortran-lib="-L/usr/lib/gcc/x86_64-redhat-linux/7 -lgfortran" \
+	--with-mpi-include=${ISSM_DIR}/externalpackages/petsc/install/include \
+	--with-mpi-libflags="-L${ISSM_DIR}/externalpackages/petsc/install/lib -lmpifort -lmpi" \
+	--with-blas-lapack-dir=${ISSM_DIR}/externalpackages/petsc/install \
+	--with-metis-dir=${ISSM_DIR}/externalpackages/petsc/install \
+	--with-scalapack-dir=${ISSM_DIR}/externalpackages/petsc/install \
+	--with-mumps-dir=${ISSM_DIR}/externalpackages/petsc/install \
+	--with-hdf5-dir=${ISSM_DIR}/externalpackages/petsc/install \
+	--with-petsc-dir=${ISSM_DIR}/externalpackages/petsc/install \
+	--with-triangle-dir=${ISSM_DIR}/externalpackages/triangle/install \
+	--with-boost-dir=${ISSM_DIR}/externalpackages/boost/install
+'
+
+#-------------------#
+# External Packages #
+#-------------------#
+
+EXTERNALPACKAGES="
+	autotools		install-debian-linux.sh
+	cmake			install.sh
+	petsc			install-3.12-linux-solid_earth.sh
+	triangle		install-linux.sh
+	chaco			install.sh
+	m1qn3			install.sh
+	semic			install.sh
+	boost			install-1.7-linux.sh
+	curl			install-7.67.sh
+	netcdf			install-4.7-parallel.sh
+	proj			install-6.2.sh
+	gdal			install-3-python-netcdf.sh
+	gshhg			install.sh
+	gmt				install-6.0-linux.sh
+	gmsh			install-4.sh
+	shell2junit		install.sh
+"
+
+#---------#
+# Testing #
+#---------#
+
+# Test suites
+MATLAB_TEST=1
+PYTHON_TEST=1
+JAVASCRIPT_TEST=0
+EXAMPLES_TEST=0
+
+# Number of CPUs used in ISSM compilation
+#
+# NOTE: One is usually safer as some packages are very sensitive to parallel
+#       compilation.
+#
+NUMCPUS_INSTALL=8
+
+# Number of cpus used in the nightly runs
+#
+# NOTE: Possible problem of access to all_vertices.txt if more than 1.
+#
+NUMCPUS_RUN=1
+
+# Nightly run options
+#
+# See documentation in test/NightlyRun/runme.* for more information.
+#
+# NOTE:
+# - Test 2021 is excluded as Gmsh produces different-sized meshes on macOS and Linux for 3d objects (archives are generated on macOS).
+#
+MATLAB_NROPTIONS="'benchmark','slr','exclude',[2021]"
+PYTHON_NROPTIONS="--benchmark slr --exclude 2021"
