3 # Script to run the program zscorezi_MPI on linux with MPICH (parallel version).
5 if ("$3" != "-p4amslave") then
9 echo "This job is running on host `hostname` "
11 echo "You must supply potential type and input/output filename prefix."
15 set DD = /users/aks255/wyjazdowy_UNRES/wyjazdowy_UNRES/PARAM
16 set BIN = /users/adam/ZSCOREZ/bin
18 #set BIN = /users/adam/ZSCOREZ/bin
19 setenv INPUT 1SN9_MREMD_clust_270
20 setenv INTIN 1SN9_MREMD_wham_last
21 setenv OUTPUT 1SN9_MREMD_301K
24 setenv PRINTCOOR PRINT_PDB
30 # Is the specified potential in the list of valid force fields?
32 if (($POT != "LJ") && ($POT != "LJK") && ($POT != "BP") && ($POT != "GB") \
33 && ($POT != "GBV") ) then
34 echo "Unknown potential type $POT"
38 # Check for the existence of the input file
40 #if (!(-e $2.inp)) then
41 # echo "Error: The input file $2.inp does not exist."
45 # 5/17/97 parameter file assignment was changed from link to SETENV statements
47 setenv BONDPAR $DD/bond_Dap.parm
48 setenv THETPAR $DD/thetaml_Dap.5parm
49 setenv ROTPAR $DD/scgauss_Dap.parm
50 setenv TORPAR $DD/torsion_631Gdp_Dap.parm
51 setenv TORDPAR $DD/torsion_double_631Gdp_Dap.parm
52 setenv ELEPAR $DD/electr_631Gdp_Dap.parm
53 setenv SIDEPAR ${DD}/sc_GB_opt_Dap.1gab_3S_qclass5no310-shan2-sc-16-10-8k
54 setenv FOURIER $DD/fourier_opt_Dap.parm.1igd_hc_iter3_3
55 setenv SCPPAR $DD/scp_Dap.parm
56 setenv SCCORPAR $DD/rotcorr_AM1_Dap.parm
58 # Define contact function for classification
60 if (${CONTFUNC} == "GB") then
61 setenv SIDEP ${DD}/contact.3.parm
62 else if (${CONTFUNC} == "SCDIST") then
63 setenv SIDEP ${DD}/cend.3.45.parm
64 else if (${CONTFUNC} == "CEN") then
65 setenv SIDEP ${DD}/cen.parm
66 else if (${CONTFUNC} == "ODC") then
67 setenv SIDEP ${DD}/odc.parm
68 else if (${CONTFUNC} != "SIG") then
69 echo "Unknown sidechain contact function ${CONTFUNC}"
73 # Set parallel environment, depending on job type (interactive or batch).
78 #$BIN/unres_clustMD_MPI-new $*
79 $BIN/unres_clustMD_MPI-D-oldparm $*