[Wien] lapw2c problem

Stefaan Cottenier Stefaan.Cottenier at UGent.be
Wed Jan 21 10:05:11 CET 2009


> Actually I am using bash shell, 

 >I checked *.cshrc file where it is
 >given that [ setenv SCRATCH ./ ]. while in *.bashrc [#export
 >SCRATCH=/work/au1/scratch ].

 > Following is the snapshot of terminal.
 > mohit at mohit-desktop:~$ echo $SCRATCH
 >
 > mohit at mohit-desktop:~$

It is clear now. Your SCRATCH-variable has no content. And it is because 
in your .bashrc the line which assigns a content to it has been 
commented away (by the initial '#').

1) Choose which directory you want to use as scratch directory (/tmp or 
./ or /work/au1/scratch or whatever)

2) Make sure that this directory exists on your system (mkdir it if needed)

3) Remove the # from the 'export' line in your .bashrc, and change 
/work/au1/scratch to the directory you choose in 1)

4) logout and login again

5) Do 'echo $SCRATCH' to verify that now this variable has the proper 
content

6) Restart your wien2k calculation.

Stefaan



More information about the Wien mailing list