[Wien] "if: Expression Syntax." in fine-grained parallel lapw2
Steven Hahn
shahn at iastate.edu
Mon Sep 24 20:25:14 CEST 2007
I am receiving another error message during the scf cyle, this time
from lapw2. If I use just fine-grained parallelization(one line in
my .machines file), everything runs fine. If I use both fine and
course-grained parallelization (nodes on two separate lines) I
receive the error message "if:Expression Syntax." I traced it back to
line 143-148 of lapw2para_lapw
set number_per_job2 = `cut -f4 -d: $tmp2`
if ( $vector_split != '' ) then
if ($vector_split > $number_per_job2 ) set vector_split=
$number_per_job2
@ number_per_job2 = ( $number_per_job2 / $vector_split ) *
$vector_split
endif
If I run with this .machines file
1:node020 node018 node018 node018
granularity:1
extrafine:1
lapw2_vector_split:1
I get the following values
tmp2 = 1 : node020 : 888 : 4 : 1
number_per_job2 = 4
vector_split = 1
If I run with this .machines file
1:node020 node018
1:node018 node018
granularity:1
extrafine:1
lapw2_vector_split:1
I get this:
tmp2=
1 : node020 : 444 : 2 : 1
2 : node018 : 444 : 2 : 2
number_per_job2 = 2 2
vector_split = 1
The script crashes because it can't tell if cannot compare
$vector_split (whose value is 1) to $number_per_job2 (whose values is
2 2) because the second is not a number.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://zeus.theochem.tuwien.ac.at/pipermail/wien/attachments/20070924/bb0a5406/attachment.html
More information about the Wien
mailing list