error: symmetry.f90
Posted: Tue May 29, 2007 4:27 am
This is my frist time use vasp and even linux,so I really don't know what to do and have to ask for help,tanks a lot.
I get several errors regarding symmetry.f90 including:
./preprocess <symmetry.F | /usr/bin/cpp -P -C -traditional >symmetry.f90 -DHOST=\"LinuxIFC_ath\" -Dkind8 -DNGXhalf -DCACHE_SIZE=5000 -DPGF90 -Davoidalloc -DRPROMU_DGEMV
ifort -FR -lowercase -O1 -c symmetry.f90
fortcom: Error: symmetry.f90, line 459: This name has already been assigned a data type. [MAGZ]
COMPLEX(q) PHASG,PHASE(48),MAGX,MAGY,MAGZ,MAGZ,MAGX_,MAGY_,MAGZ_
-------------------------------------------------^
compilation aborted for symmetry.f90 (code 1)
make: *** [symmetry.o] Error 1
I looked at the symmetry.f90 and find the error line 459 :
COMPLEX(q) PHASG,PHASE(48),MAGX,MAGY,MAGZ,MAGZ,MAGX_,MAGY_,MAGZ_
I choose makefile.linux_ifc_ath) . I used ifc 8.0.039 as the fortran compiler and atlas and my operation is Red hat Linux.
please help!
I get several errors regarding symmetry.f90 including:
./preprocess <symmetry.F | /usr/bin/cpp -P -C -traditional >symmetry.f90 -DHOST=\"LinuxIFC_ath\" -Dkind8 -DNGXhalf -DCACHE_SIZE=5000 -DPGF90 -Davoidalloc -DRPROMU_DGEMV
ifort -FR -lowercase -O1 -c symmetry.f90
fortcom: Error: symmetry.f90, line 459: This name has already been assigned a data type. [MAGZ]
COMPLEX(q) PHASG,PHASE(48),MAGX,MAGY,MAGZ,MAGZ,MAGX_,MAGY_,MAGZ_
-------------------------------------------------^
compilation aborted for symmetry.f90 (code 1)
make: *** [symmetry.o] Error 1
I looked at the symmetry.f90 and find the error line 459 :
COMPLEX(q) PHASG,PHASE(48),MAGX,MAGY,MAGZ,MAGZ,MAGX_,MAGY_,MAGZ_
I choose makefile.linux_ifc_ath) . I used ifc 8.0.039 as the fortran compiler and atlas and my operation is Red hat Linux.
please help!