Page 1 of 1

Error while compiling with vasp code

Posted: Mon Jul 23, 2007 5:56 am
by wongtenit
Hi, I face problem as compiling the vtstcode with vasp source code. below is the message shown:

./preprocess <dimer.F | /usr/bin/cpp -P -C -traditional >dimer.f90 -DHOST=\"LinuxIFC\" -Dkind8 -DNGXhalf -DCACHE_SIZE=12000 -DPGF90 -Davoidalloc
/bin/sh: ./preprocess: Permission denied
ifort -FR -lowercase -assume byterecl -O3 -xW -tpp7 -c dimer.f90
fortcom: Severe: The input stream is empty
compilation aborted for dimer.f90 (code 1)
make: *** [dimer.o] Error 1

Please help me to solve this problem because i don't know why this happens.
Thanks first.

ten it

Posted: Mon Jul 23, 2007 2:41 pm
by graeme
It looks like there is a permissions error at the pre-processing stage, so that dimer.f90 was not created. Do you have write permission in that directory? Do you have read permission for dimer.F? Does perprocess have executable permissions? Based on your error message, it looks like this kind of problem, rather than something in our code.

Posted: Tue Jul 24, 2007 2:54 am
by wongtenit
Hi, thank you for your reply. i just found out from administrator that i do not have permission to write file in some directories. Thank you for your help even though this do not related to your script problem. Have a nice day! ^_^