Compiling Problems on Dell PowerEdge R620

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


Moderators: Global Moderator, Moderator

Post Reply
Message
Author
cfpaulm
Newbie
Newbie
Posts: 1
Joined: Tue Aug 12, 2014 5:34 pm
License Nr.: 4-1280

Compiling Problems on Dell PowerEdge R620

#1 Post by cfpaulm » Thu Aug 14, 2014 5:55 pm

Hi

I am trying to install vasp4.6 on a Dell PowerEdge server with two 16 core Intel Xeon ES-2450 processors. The machine is running CentOS 7. The error I am getting and makefile is shown below. Any help would be greatly appreciated!!

Thanks

[mike.paul@localhost vasp.4.lib]$ make
ifort -O0 -FI -FR -c diolib.f
diolib.f(13): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [PRECLIB]
USE preclib
----------^
diolib.f(14): error #6683: A kind type parameter must be a compile-time constant. [Q]
IMPLICIT REAL(q) (A-H,O-Z)
--------------------^
diolib.f(87): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [PRECLIB]
USE preclib
----------^
diolib.f(88): error #6683: A kind type parameter must be a compile-time constant. [Q]
IMPLICIT REAL(q) (A-H,O-Z)
--------------------^
diolib.f(143): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [PRECLIB]
USE preclib
----------^
diolib.f(144): error #6683: A kind type parameter must be a compile-time constant. [Q]
IMPLICIT REAL(q) (A-H,O-Z)
--------------------^
diolib.f(200): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [PRECLIB]
USE preclib
----------^
diolib.f(201): error #6683: A kind type parameter must be a compile-time constant. [Q]
IMPLICIT REAL(q) (A-H,O-Z)
--------------------^
diolib.f(222): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [PRECLIB]
USE preclib
----------^
diolib.f(223): error #6683: A kind type parameter must be a compile-time constant. [Q]
IMPLICIT REAL(q) (A-H,O-Z)
--------------------^
diolib.f(245): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [PRECLIB]
USE preclib
----------^
diolib.f(246): error #6683: A kind type parameter must be a compile-time constant. [Q]
IMPLICIT REAL(q) (A-H,O-Z)
--------------------^
diolib.f(269): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [PRECLIB]
USE preclib
----------^
diolib.f(270): error #6683: A kind type parameter must be a compile-time constant. [Q]
IMPLICIT REAL(q) (A-H,O-Z)
--------------------^
diolib.f(299): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [PRECLIB]
USE preclib
----------^
diolib.f(300): error #6683: A kind type parameter must be a compile-time constant. [Q]
IMPLICIT REAL(q) (A-H,O-Z)
--------------------^
compilation aborted for diolib.f (code 1)
make: *** [diolib.o] Error 1

MAKEFILE:

.SUFFIXES: .inc .f .F
#-----------------------------------------------------------------------
# Makefile for Portland Group F90/HPF compiler
# the makefile was tested only under Linux on Intel platforms
# however it might work on other platforms as well
#
# this release of vasp.4.lib contains lapack v2.0
# this can be compiled with pgf90 compiler if the option -O1 is used
#
# Mind: one user reported that he had to copy preclib.F diolib.F
# dlexlib.F and drdatab.F to the directory vasp.4.4, compile the files
# there and link them directly into vasp
# for no obvious reason these files could not be linked from the library
#
#-----------------------------------------------------------------------

# C-preprocessor
CPP = gcc -E -P -C $*.F >$*.f
FC=ifort

CFLAGS = -O
FFLAGS = -O0 -FI
FREE = -FR

DOBJ = preclib.o timing_.o derrf_.o dclock_.o diolib.o dlexlib.o drdatab.o


#-----------------------------------------------------------------------
# general rules
#-----------------------------------------------------------------------

libdmy.a: $(DOBJ) lapack_double.o linpack_double.o lapack_atlas.o
-rm libdmy.a
ar vq libdmy.a $(DOBJ)

# files which do not require autodouble
lapack_min.o: lapack_min.f
$(FC) $(FFLAGS) $(NOFREE) -c lapack_min.f
lapack_double.o: lapack_double.f
$(FC) $(FFLAGS) $(NOFREE) -c lapack_double.f
lapack_single.o: lapack_single.f
$(FC) $(FFLAGS) $(NOFREE) -c lapack_single.f
lapack_atlas.o: lapack_atlas.f
$(FC) $(FFLAGS) $(NOFREE) -c lapack_atlas.f
linpack_double.o: linpack_double.f
$(FC) $(FFLAGS) $(NOFREE) -c linpack_double.f
linpack_single.o: linpack_single.f
$(FC) $(FFLAGS) $(NOFREE) -c linpack_single.f

.c.o:
$(CC) $(CFLAGS) -c $*.c
.F.o:
$(CPP)
$(FC) $(FFLAGS) $(FREE) $(INCS) -c $*.f
.F.f:
$(CPP)
.f.o:
$(FC) $(FFLAGS) $(FREE) $(INCS) -c $*.f
Last edited by cfpaulm on Thu Aug 14, 2014 5:55 pm, edited 1 time in total.

admin
Administrator
Administrator
Posts: 2921
Joined: Tue Aug 03, 2004 8:18 am
License Nr.: 458

Compiling Problems on Dell PowerEdge R620

#2 Post by admin » Tue Aug 19, 2014 2:05 pm

preclib.F should be the very first module compiled in vasp.4.lib: in your makefile, because it defines the precision of q.
please check if preclib.o has been generated before all other objects are compiled
Last edited by admin on Tue Aug 19, 2014 2:05 pm, edited 1 time in total.

Post Reply