-#PBS -N test
+#PBS -N test_server
#PBS -q express
#PBS -l nodes=1:ppn=4
$MPIRUN -machinefile $PBS_NODEFILE -np $NPROCS $UNRES_BIN
-../files/matplotlib_fit_hist.py $dimen3
+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