[Wien] strange time using -it switch

Yongsheng Zhang zhang at fhi-berlin.mpg.de
Thu Jan 24 17:03:09 CET 2008


Yes, I can find the vector file in my working directory,
/scratch/zhang/test/100.
You said I should see a corresponding line in my dayfile to show the
100.vector.old is converted. But I didn't.

In my last e-mail, I only show the single CPU calculation. Here is a
k-point parallel information,
set useremote = 1
set remote = ssh
set file=`pwd`
pwd
set file=100
set name = /home/zhang/wien-08-t/vec2old_lapw
set bin = /home/zhang/wien-08-t
if ( -e /home/zhang/wien-08-t/parallel_options ) then
source /home/zhang/wien-08-t/parallel_options
setenv USE_REMOTE 0
setenv WIEN_GRANULARITY 1
endif
if ( 1 ) then
set useremote = 0
endif
if ( -p == -h ) goto help
unset para
if ( -p == -p ) then
set para
shift
set machines=`grep init .processes | cut -f2 -d: | cut -f1 -d ' ' | xargs`
grep init .processes
cut -f2 -d:
xargs
cut -f1 -d
endif
set copy
set updn
if (  == -up ) set updn=up
if (  == -dn ) set updn=dn
if (  == -updn ) then
if (  == -dnup ) then
set scratch=./
if ( 1 ) then
set scratch=`echo $SCRATCH  | sed -e 's/\/$//'`/
echo ./
sed -e s/\/$//
endif
cd ./
setenv PWD /scratch/zhang/test/100
if ( ! 1 ) then
set i=1
while ( 1 < = 0 )
endif
exit 0

In the k-point parallel case, why it didn't show "move 100.vector
100.vector.old"? Actually, I can find 100.vector_1, 100.vector_2,
100.vector_3, and 100.vector_1.old, 100.vector_2.old and
100.vector_3.old in my directory. But these 100.vector_1.old,
100.vector_2.old and 100.vector_3.old files are empty.

Regards,
Zhang

Peter Blaha wrote:
>  From the info you provide I can see:
>
> if ( 1 ) then
> set scratch=`echo $SCRATCH  | sed -e 's/\/$//'`/
> echo ./
> sed -e s/\/$//
> endif
> cd ./
> setenv PWD /scratch/zhang/test/100
>
> Your scratch variable is set to ./ (i.e. the currend working dir).
>  From PWD I can see that you run in /scratch/zhang/test/100  and
> vectors should reside in this directory. Is this ok ?
> Check if your vectors
> are really there and if your case is called "100".
>
> Otherwise the error is in the SCRATCH variable.
>
>   
>> if ( ! 0 ) then
>> foreach i ( 100.vector* )
>> set i1=`echo $i |grep -v -e '\.old'`
>> echo 100.vector
>> grep -v -e \.old
>> if ( 100.vector !=  ) then
>> if ( ! -z 100.vector ) then
>> if ( ==  ) then
>> mv 100.vector 100.vector.old
>> if ( 0 == 0 ) echo moving 100.vector to 100.vector.old
>> echo moving 100.vector to 100.vector.old
>>     
>
> Here it moved 100.vector to 100.vector.old and it echos this
> to STDOUT, i.e. you should see a corresponding line on your
> window (or in the dayfile for a run_lapw).
>   
>


-- 
---------------------------------------------------------------------
Address:  Fritz-Haber-Institut, Abt. Theorie
          Faradayweg 4-6 D-14195 Berlin (Germany)
Phone:    +49 30 8413 4818
Fax:      +49 30 8413 4701
Email:    zhang at fhi-berlin.mpg.de
---------------------------------------------------------------------
1-0.0735-11600-23.05




More information about the Wien mailing list