[yt-svn] commit/yt: drudd: Added detection of UChicago RCC Midway to install script.

commits-noreply at bitbucket.org commits-noreply at bitbucket.org
Mon Apr 1 20:43:02 PDT 2013


1 new commit in yt:

https://bitbucket.org/yt_analysis/yt/commits/4c9a9cd7eac8/
Changeset:   4c9a9cd7eac8
Branch:      yt
User:        drudd
Date:        2013-04-02 04:59:02
Summary:     Added detection of UChicago RCC Midway to install script.
Affected #:  1 file

diff -r ae7a263311d3d0cfd7809e7841501dc724384106 -r 4c9a9cd7eac8541bc10a747fb90ad2fdf200761a doc/install_script.sh
--- a/doc/install_script.sh
+++ b/doc/install_script.sh
@@ -170,6 +170,19 @@
         echo "   $ module load gcc"
         echo
     fi
+    if [ "${MYHOST##midway}" != "${MYHOST}" ]
+    then
+        echo "Looks like you're on Midway."
+        echo
+        echo " ******************************************"
+        echo " * It may be better to use the yt module! *"
+        echo " *                                        *"
+        echo " *   $ module load yt                     *"
+        echo " *                                        *"
+        echo " ******************************************"
+        echo
+        return
+    fi
     if [ "${MYOS##Darwin}" != "${MYOS}" ]
     then
         echo "Looks like you're running on Mac OSX."

Repository URL: https://bitbucket.org/yt_analysis/yt/

--

This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.



More information about the yt-svn mailing list