Page 1 of 1

Problem when compiling us.F with PathScale

Posted: Sat Aug 06, 2005 7:25 am
by wuga
Dear all,

I'm trying to compile VASP with Pathscale 2.2 on Opetron 248. But when the process goes to the "us.F", it complain errors.

The related command line is:

./preprocess <us.F | /usr/bin/cpp -P -C -traditional >us.f90 -DMPI -DHOST=\"LinuxIFC\" -DIFC -Dkind8 -DNGZhalf -DCACHE_SIZE=8000 -DPGF90 -Davoidalloc -DMPI_BLOCK=2000 -Duse_cray_ptr
pathf90 -freeform -O1 -c us.f90

and the main error information is:

SUBROUTINE SETDIJ(WDES, GRIDC_,GRIDUS,C_TO_US,LATT_CUR,P,T_INFO, LOVERL, &
^
pathf95-1277 pathf90: ERROR SETDIJ, File = us.f90, Line = 989, Column = 18
Procedure "SETDIJ" is referenced at line 523 (us.f90). It must have an explicit interface specified.
^
pathf95-1277 pathf90: ERROR SETDIJ, File = us.f90, Line = 989, Column = 18
Procedure "SETDIJ" is referenced at line 523 (us.f90). It must have an explicit interface specified.
^
pathf95-1277 pathf90: ERROR SETDIJ, File = us.f90, Line = 989, Column = 18
Procedure "SETDIJ" is referenced at line 396 (us.f90). It must have an explicit interface specified.
^
pathf95-1277 pathf90: ERROR SETDIJ, File = us.f90, Line = 989, Column = 18
Procedure "SETDIJ" is referenced at line 396 (us.f90). It must have an explicit interface specified.

CALL SETYLM_AUG(GRIDC,LATT_CUR,T_INFO%POSION(1,NI),P(NT)%PSDMAX,NPSRNL, &
^
pathf95-1615 pathf90: WARNING SETDIJ, File = us.f90, Line = 1097, Column = 51
Procedure "SETYLM_AUG" is defined at line 714 (us.f90). Dummy argument "POSION" is an array argument. This argument is scalar.

CALL SETDEP(P(NT)%QDEP(1,1,LDEP_INDEX),P(NT)%PSDMAX,NPSRNL, &
^
pathf95-1615 pathf90: WARNING SETDIJ, File = us.f90, Line = 1119, Column = 29
Procedure "SETDEP" is defined at line 950 (us.f90). Dummy argument "QDEP" is an array argument. This argument is scalar.


Thank for your kindly help in advance.

And if anyone has the correct makefile, can you offer it to me? I can not download the makefile on
http://www.fyslab.hut.fi/mgrid/user/soft/vasp.php.

Thanks again.

Gang Wu

Problem when compiling us.F with PathScale

Posted: Mon Aug 15, 2005 8:52 pm
by avdw
Solution: remove -DIFC