发新话题
打印

[其他语言] 急问一个shell的问题!

急问一个shell的问题!

源程序中有如下两个shell,请问各行的命令是什么意思啊?请教大家了,谢谢,很急!

#!/bin/bash
#
#$ -cwd
#$ -pe mpi 16
#$ -S /bin/bash
#
#$ -M myao@ufl.edu
#$ -e $HOME/phonon/mdcode_SW/error.out
#$ -o $HOME/phonon/mdcode_SW/output.out

rm date.date
date > date.date

export RUNPATH=/home/myao/phonon/mdcode_SW

/opt/mpich/intel/bin/mpirun -machinefile $TMPDIR/machines -np $NSLOTS $RUNPATH/hellsmpi_SW.x

date >> date.date
cat date.date




rm hellsmpi_SW.x

cat hellionics1.f cell_setup_ion.f finder_ion.f fshift_ion.f hellex.f forc3dir.f write.f finder_tersoff.f forc3tersoff.f fshift_tersoff.f forc3stillweb.f writedispl.f> hellsmpi.f

echo /opt/mpich/intel/bin/mpif77 -O4 -o hellsmpi_SW.x hellsmpi.f
/opt/mpich/intel/bin/mpif77 -w -O4 -o hellsmpi_SW.x hellsmpi.f

TOP

楼主去翻翻书吧
在楼主完全没有基础的前提下,很难解释清
要是知道各个命令,望文生义也能明白阿
Once upon a man.

TOP

晕啊。

TOP

发新话题