Index: /issm/trunk-jpl/src/m/classes/clusters/pfe.m
===================================================================
--- /issm/trunk-jpl/src/m/classes/clusters/pfe.m	(revision 26922)
+++ /issm/trunk-jpl/src/m/classes/clusters/pfe.m	(revision 26923)
@@ -19,4 +19,5 @@
 		processor      = 'ivy';
 		srcpath        = '';
+		extpkgpath     = '';
 		codepath       = '';
 		executionpath  = '';
@@ -52,4 +53,5 @@
 			disp(sprintf('    processor: %i',cluster.processor));
 			disp(sprintf('    srcpath: %s',cluster.srcpath));
+			disp(sprintf('    extpkgpath: %s',cluster.extpkgpath));
 			disp(sprintf('    codepath: %s',cluster.codepath));
 			disp(sprintf('    executionpath: %s',cluster.executionpath));
@@ -173,4 +175,7 @@
 			fprintf(fid,'export MPI_GROUP_MAX=64\n\n');
 			fprintf(fid,'export ISSM_DIR="%s"\n',cluster.srcpath); %FIXME
+			if cluster.extpkgpath
+				fprintf(fid,'export ISSM_EXT_PKG="%s"\n',cluster.extpkgpath); 
+			end
 			fprintf(fid,'source $ISSM_DIR/etc/environment.sh\n');       %FIXME
 			fprintf(fid,'cd %s/%s/\n\n',cluster.executionpath,dirname);
Index: /issm/trunk-jpl/src/m/classes/clusters/pfe.py
===================================================================
--- /issm/trunk-jpl/src/m/classes/clusters/pfe.py	(revision 26922)
+++ /issm/trunk-jpl/src/m/classes/clusters/pfe.py	(revision 26923)
@@ -36,4 +36,5 @@
         self.processor = 'ivy'
         self.srcpath = ''
+        self.extpkgpath = ''
         self.codepath = ''
         self.executionpath = ''
@@ -72,4 +73,5 @@
         s += '    processor: {}\n'.format(self.processor)
         s += '    srcpath: {}\n'.format(self.srcpath)
+        s += '    extpkgpath: {}\n'.format(self.extpkgpath)
         s += '    codepath: {}\n'.format(self.codepath)
         s += '    executionpath: {}\n'.format(self.executionpath)
@@ -177,4 +179,6 @@
         fid.write('export MPI_GROUP_MAX=64\n\n')
         fid.write('export ISSM_DIR="{}"\n'.format(self.srcpath)) # FIXME
+        if self.extpkgpath:
+            fid.write('export ISSM_EXT_PKG="{}"\n'.format(self.extpkgpath)) 
         fid.write('source $ISSM_DIR/etc/environment.sh\n') # FIXME
         fid.write('cd {}/{}/\n\n'.format(self.executionpath, dirname))
