Charles at Schwieters.org wrote:

>-----BEGIN PGP SIGNED MESSAGE-----
>Hash: SHA1
>
>
>Hello Gary--
>
>  
>
>>I have had to write this into my submisasion script to get it to work 
>>with a very simle (make) parallel  environment
>>
>>while read line; do
>>machines="$machines $line"
>>done < <(cat $PE_HOSTFILE | cut -d' ' -f1,1)
>>
>>/home/garyt/programs/xplor-nih/2.17.0/bin/xplor -parallel -machines 
>>"$machines" < $PWD/test_par.inp
>>    
>>
>
>what is the format of the PE_HOSTFILE? It looks like you might be able
>to just do: 
>
>xplor -parallel -machines $PE_HOSTFILE $PWD/test_par.inp
>
>But perhaps a small tweak is necessary to bin/xplor, like the attached
>diff. 
>
>Please let me know how it goes.
>
>best regards--
>Charles
>
>
>***************
>*** 391,397 ****
>  export PROGNAME
>  
>  if [ -f "$MACHINES" ]; then
>!     MACHINES=`grep -v ^# $MACHINES`
>  fi
>  
>  
>- --- 391,397 ----
>  export PROGNAME
>  
>  if [ -f "$MACHINES" ]; then
>!     MACHINES=`grep -v ^# $MACHINES | cut -d' ' -f1`
>  fi
>  
>  
>  
>

Hi charles t
hat would work but needs a bit more work as the file had info about 
threads etc but I can extemperize from here. Would you like me submit 
the pach back to you when i have finished?

regards
gary

-- 
-------------------------------------------------------------------
Dr Gary Thompson
Astbury Centre for Structural Molecular Biology,
University of Leeds, Astbury Building,
Leeds, LS2 9JT, West-Yorkshire, UK             Tel. +44-113-3433024
email: garyt at bmb.leeds.ac.uk                   Fax  +44-113-2331407
-------------------------------------------------------------------


Reply via email to