mailr28253 - /trunk/devel_scripts/openmpi_test_install_bash.sh


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:43:
Author: tlinnet
Date: Mon Oct  3 17:43:55 2016
New Revision: 28253

URL: http://svn.gna.org/viewcvs/relax?rev=28253&view=rev
Log:
Small change to test openmpi script for bash

Modified:
    trunk/devel_scripts/openmpi_test_install_bash.sh

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=28253&r1=28252&r2=28253&view=diff
==============================================================================
--- trunk/devel_scripts/openmpi_test_install_bash.sh    (original)
+++ trunk/devel_scripts/openmpi_test_install_bash.sh    Mon Oct  3 17:43:55 
2016
@@ -4,17 +4,17 @@
 echo ""
 
 A="'"
-alias testopenmpi='echo "This is functions to test openmpi, python and 
openmpi." echo "";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";\
+alias testopenmpi='echo "This is functions to test openmpi, python and 
openmpi." echo "";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 18:00:04 2016