From 46537d8f2669fd316994673f3c037f6d0147b1db Mon Sep 17 00:00:00 2001
From: Bo-Chun Louis Chen <louistw@uab.edu>
Date: Thu, 10 Oct 2019 11:56:54 -0500
Subject: [PATCH] Remove script.yml.erb

---
 template/script.sh.erb | 45 ------------------------------------------
 1 file changed, 45 deletions(-)
 delete mode 100755 template/script.sh.erb

diff --git a/template/script.sh.erb b/template/script.sh.erb
deleted file mode 100755
index 5473f3c..0000000
--- a/template/script.sh.erb
+++ /dev/null
@@ -1,45 +0,0 @@
-#!/usr/bin/env bash
-
-<%- gpu = context.node_type.include?("vis") -%>
-
-# Clean the environment
-module purge
-
-# Set working directory to home directory
-cd "${HOME}"
-
-#
-# Launch Xfce Window Manager and Panel
-#
-
-(
-  export SEND_256_COLORS_TO_REMOTE=1
-  export XDG_CONFIG_HOME="<%= session.staged_root.join("config") %>"
-  export XDG_DATA_HOME="<%= session.staged_root.join("share") %>"
-  export XDG_CACHE_HOME="$(mktemp -d)"
-  module restore
-  set -x
-  xfwm4 --compositor=off --daemon --sm-client-disable
-  xsetroot -solid "#D3D3D3"
-  xfsettingsd --sm-client-disable
-  xfce4-panel --sm-client-disable
-) &
-
-#
-# Start MATLAB
-#
-
-# Load the required environment
-module load xalt/latest <%= context.version %>
-
-# Launch MATLAB
-<%- if gpu -%>
-module load intel/16.0.3 virtualgl
-module list
-set -x
-vglrun matlab -desktop -nosoftwareopengl
-<%- else -%>
-module list
-set -x
-matlab -desktop
-<%- end -%>
-- 
GitLab