Commit 3e8958cb authored by Sintal's avatar Sintal
Browse files

Update testscript.sh

parent e69b5a2b
Pipeline #3685 passed with stage
in 27 seconds
......@@ -4,12 +4,13 @@
#Load required module files
#msub -I -V -l nodes=1:ppn=4,pmem=5000mb -l
#walltime=0:02:00:00
workingdir=~/testscript/
module load compiler/intel/19.0
module load mpi/openmpi/4.0
mpicc -o helloworld helloworld.c -no-multibyte-chars
mpirun -n 1 ./helloworld
mpicc -o $(workingdir)helloworld $(workingdir)helloworld.c -no-multibyte-chars
mpirun -n 1 $(workingdir)helloworld
echo "-------------------"
mpirun -n 2 ./helloworld
mpirun -n 2 $(workingdir)helloworld
echo "------------------"
mpirun -n 4 ./helloworld
mpirun -n 4 $(workingdir)helloworld
echo "--------------------"
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment