Skip to content

Commit

Permalink
Create run_ether.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
mukkelian authored Feb 22, 2025
1 parent 2b94cf3 commit d381266
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions run_ether.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
#!/bin/bash
loc="$PWD/ether"
mpirun="nohup mpirun -np"
out="out"


export OMP_NUM_THREADS=2
number_of_processor=6
ulimit -v unlimited
ulimit -s unlimited


echo "$mpirun $number_of_processor \"$loc\" < /dev/null > $out &" > run.sh
chmod +x run.sh
echo 'Job is RUNNING'
./run.sh
sleep 1
rm -f run.sh

# For runnning the Ether, executable ./ether should be present in the woring directory

# Please note: Ether can also run via simple set of lines. Just remove the commented sign '#'
# and paste into the other file [say 'run_job.sh'] and make it executable by typing chmod +x run_job.sh in the terminal and execute it by ./run_job.sh


#export OMP_NUM_THREADS=2
# ulimit -v unlimited
# ulimit -s unlimited
# mpirun -np 6 ./ether

0 comments on commit d381266

Please sign in to comment.