mailr28249 - in /trunk/devel_scripts: ./ deploy_scripts/


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by tlinnet on October 03, 2016 - 17:08:
Author: tlinnet
Date: Mon Oct  3 17:08:20 2016
New Revision: 28249

URL: http://svn.gna.org/viewcvs/relax?rev=28249&view=rev
Log:
Changed more to openmpi script.

Modified:
    
trunk/devel_scripts/deploy_scripts/deploy_google_computing_redhat_6_86_x64_upgrade_python.sh
    trunk/devel_scripts/openmpi_test_install_bash.sh
    trunk/devel_scripts/openmpi_test_install_tcsh.sh

Modified: 
trunk/devel_scripts/deploy_scripts/deploy_google_computing_redhat_6_86_x64_upgrade_python.sh
URL: 
http://svn.gna.org/viewcvs/relax/trunk/devel_scripts/deploy_scripts/deploy_google_computing_redhat_6_86_x64_upgrade_python.sh?rev=28249&r1=28248&r2=28249&view=diff
==============================================================================
--- 
trunk/devel_scripts/deploy_scripts/deploy_google_computing_redhat_6_86_x64_upgrade_python.sh
        (original)
+++ 
trunk/devel_scripts/deploy_scripts/deploy_google_computing_redhat_6_86_x64_upgrade_python.sh
        Mon Oct  3 17:08:20 2016
@@ -22,6 +22,7 @@
 
   # wxPython for GUI
   sudo yum -y install wxPython
+  echo 'export 
PYTHONPATH=${PYTHONPATH}:/usr/lib64/python2.6/site-packages/wx-2.8-gtk2-unicode'
$HOME/.bash_profile
 }
 
 # Install python

Modified: trunk/devel_scripts/openmpi_test_install_bash.sh
URL: 
http://svn.gna.org/viewcvs/relax/trunk/devel_scripts/openmpi_test_install_bash.sh?rev=28249&r1=28248&r2=28249&view=diff
==============================================================================
--- trunk/devel_scripts/openmpi_test_install_bash.sh    (original)
+++ trunk/devel_scripts/openmpi_test_install_bash.sh    Mon Oct  3 17:08:20 
2016
@@ -2,7 +2,7 @@
 # -*- coding: UTF-8 -*-
 # Script for deploying relax on Google Cloud Computing GCC
 
-echo 
'http://svn.gna.org/viewcvs/*checkout*/relax/trunk/devel_scripts/openmpi_test_install.sh'
+echo 
'http://svn.gna.org/viewcvs/*checkout*/relax/trunk/devel_scripts/openmpi_test_install_bash.sh'
 echo 'Source the commands with: source openmpi_test_install.sh'
 echo 'Then do: testopenmpi'
 echo ""

Modified: trunk/devel_scripts/openmpi_test_install_tcsh.sh
URL: 
http://svn.gna.org/viewcvs/relax/trunk/devel_scripts/openmpi_test_install_tcsh.sh?rev=28249&r1=28248&r2=28249&view=diff
==============================================================================
--- trunk/devel_scripts/openmpi_test_install_tcsh.sh    (original)
+++ trunk/devel_scripts/openmpi_test_install_tcsh.sh    Mon Oct  3 17:08:20 
2016
@@ -1,60 +1,24 @@
-#!/bin/bash
+#!/bin/tcsh
 # -*- coding: UTF-8 -*-
 # Script for deploying relax on Google Cloud Computing GCC
 
-echo 
'http://svn.gna.org/viewcvs/*checkout*/relax/trunk/devel_scripts/openmpi_test_install.sh'
+echo 
'http://svn.gna.org/viewcvs/*checkout*/relax/trunk/devel_scripts/openmpi_test_install_tcsh.sh'
 echo 'Source the commands with: source openmpi_test_install.sh'
 echo 'Then do: testopenmpi'
 echo ""
 
-function testopenmpi {
-  echo "This is functions to test openmpi, python and openmpi."
-  echo ""
-
-  echo "Shell is: $SHELL"
-  echo ""
-
-  echo "> which mpirun"
-  which mpirun
-  echo ""
-
-  echo "> module avail"
-  module avail
-  echo ""
-
-  echo "> lscpu"
-  lscpu
-  echo ""
-
-  echo "> mpirun --version"
-  mpirun --version
-  echo ""
-
-  echo '> mpirun --report-bindings -np 2 echo "hello world"'
-  mpirun --report-bindings -np 2 echo "hello world"
-  echo ""
-
-  A='"'
-  echo "> mpirun --report-bindings -np 2 python -c 'print $A Hello $A '"
-  mpirun --report-bindings -np 2 python -c 'print " Hello " '
-  echo ""
-
-  echo "> mpirun --report-bindings -np 2 python --version"
-  mpirun --report-bindings -np 2 python --version
-  echo ""
-
-  echo "> mpirun --report-bindings -np 2 /usr/bin/env python --version"
-  mpirun --report-bindings -np 2 /usr/bin/env python --version
-  echo ""
-
-  echo "Testing python, mpi4py and mpirun"
-  python --version
-  /usr/bin/env python --version
-  python -c "import mpi4py; print mpi4py.__version__"
-  mpirun -np 2 python -c "import mpi4py; from mpi4py import MPI; 
print('Mpi4py %s process %d of %d on %s.' %(mpi4py.__version__, 
MPI.COMM_WORLD.Get_rank(),MPI.COMM_WORLD.Get_size(), 
MPI.Get_processor_name()))"
-  echo ""
-
-  #echo "> mpirun --np 2 relax --multi='mpi4py'"
-  #mpirun --np 2 relax --multi='mpi4py'
-  #echo ""
-}
+set A="'"
+alias testopenmpi 'echo "This is functions to test openmpi, python and 
openmpi." echo "";set A="$A";\\
+  echo "Shell is: $SHELL"; echo "";\\
+  echo "> which mpirun"; which mpirun; echo "";\\
+  echo "> module avail"; module avail; echo "";\\
+  echo "> lscpu"; lscpu; echo "";\\
+  echo "> mpirun --version";mpirun --version;echo "";\\
+  echo "> mpirun --report-bindings -np 2 echo $A hello world $A"; mpirun 
--report-bindings -np 2 echo "hello world"; echo "";\\
+  echo "> mpirun --report-bindings -np 2 python -c $A print "\""hello"\"" 
$A"; mpirun --report-bindings -np 2 python -c "print $A hello $A"; echo "";\\
+  echo "> mpirun --report-bindings -np 2 python --version"; mpirun 
--report-bindings -np 2 python --version; echo "";\\
+  echo "> mpirun --report-bindings -np 2 /usr/bin/env python --version"; 
mpirun --report-bindings -np 2 /usr/bin/env python --version; echo "";\\
+  echo "Testing python, mpi4py and mpirun"; python --version; /usr/bin/env 
python --version; python -c "import mpi4py; print mpi4py.__version__";\\
+  mpirun -np 2 python -c "import mpi4py; from mpi4py import MPI; print($A 
Mpi4py %s process %d of %d on %s.$A %(mpi4py.__version__, 
MPI.COMM_WORLD.Get_rank(),MPI.COMM_WORLD.Get_size(), 
MPI.Get_processor_name()))";\\
+  echo "Done";\\
+'




Related Messages


Powered by MHonArc, Updated Mon Oct 03 17:20:19 2016