Problem when compiling us.F with PathScale

Questions regarding the compilation of VASP on various platforms: hardware, compilers and libraries, etc.


Moderators: Global Moderator, Moderator

Post Reply
Message
Author
wuga
Newbie
Newbie
Posts: 2
Joined: Wed Nov 17, 2004 4:14 am
Location: Group of Computational Condense Matter Physics, Physics Department, Nanjing University, China

Problem when compiling us.F with PathScale

#1 Post by wuga » Sat Aug 06, 2005 7:25 am

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
Last edited by wuga on Sat Aug 06, 2005 7:25 am, edited 1 time in total.

avdw
Newbie
Newbie
Posts: 5
Joined: Mon Aug 15, 2005 8:44 pm

Problem when compiling us.F with PathScale

#2 Post by avdw » Mon Aug 15, 2005 8:52 pm

Solution: remove -DIFC
Last edited by avdw on Mon Aug 15, 2005 8:52 pm, edited 1 time in total.

Post Reply