X-Git-Url: http://mmka.chem.univ.gda.pl/gitweb/?a=blobdiff_plain;f=files%2Fpbs_md.csh;h=bdf9161ae141bd5a91bb2e64635e08f7656b016a;hb=cb84afb9777fdb35d0e4139ddbb9dcb600814653;hp=19b6780da50ee7895fb73ba5754cef399df7e86b;hpb=591ac48194b207c02ffd7cda59c1c9709a114498;p=django_unres.git diff --git a/files/pbs_md.csh b/files/pbs_md.csh index 19b6780..bdf9161 100755 --- a/files/pbs_md.csh +++ b/files/pbs_md.csh @@ -1,4 +1,4 @@ -#PBS -N test +#PBS -N test_server #PBS -q express #PBS -l nodes=1:ppn=4 @@ -33,19 +33,38 @@ setenv OUT1FILE YES $MPIRUN -machinefile $PBS_NODEFILE -np $NPROCS $UNRES_BIN +if ( `grep -c pdbref file.inp` ) then + awk '{if ( NF == 14 ) print}' file_GB000.stat > md.stat +else + awk '{if ( NF == 10 ) print}' file_GB000.stat > md.stat +endif + ../files/matplotlib_fit_hist.py $dimen3 +rm md.stat if ( -f "file_MD000.pdb" ) then mkdir tmp /users2/local/pymol_1.6/pymol -c ../files/movie.pml ffmpeg2theora tmp/aa%4d.png -o md.ogv - rm -rf tmp + if ( `grep -c pdbstart file.inp` ) then + /users2/local/pymol_1.6/pymol -c ../files/overlap.pml + ../files/fluct_plot.py intra_fit.pdb > fluctuations.txt + /users2/local/pymol_1.6/pymol -c -r ../files/fluct.py + rm -f intra_fit.pdb + endif + rm -rf tmp else /users2/czarek/UNRES/git3_tmp/build/bin/xdrf2pdb-mult one file.seq file_MD000.cx mkdir tmp /users2/local/pymol_1.6/pymol -c ../files/movie.pml ffmpeg2theora tmp/aa%4d.png -o md.ogv - rm -rf tmp file_MD000.pdb + if ( `grep -c pdbstart file.inp` ) then + /users2/local/pymol_1.6/pymol -c ../files/overlap.pml + ../files/fluct_plot.py intra_fit.pdb > fluctuations.txt + /users2/local/pymol_1.6/pymol -c -r ../files/fluct.py + rm -f intra_fit.pdb + endif + rm -rf tmp file_MD000.pdb endif touch finished