Skip to Content.
Sympa Menu

forum - Intel compiler problem

forum@abinit.org

Subject: The ABINIT Users Mailing List ( CLOSED )

List archive

Intel compiler problem


Chronological Thread 
  • From: xqliu77@yahoo.com.cn
  • To: forum@abinit.org
  • Subject: Intel compiler problem
  • Date: Wed, 1 Sep 2004 09:39:46 +0200

Dear all ABINITers:
I've used Intel fortran compiler to compile the ABINIT433 sources, there
were some problems appeared.

Platform: AMD Athlon 2500+ 1G DDR400
OS: Debian + Kernel 2.6.7-1-k7
Compiler: Intel Fortran Compiler 8.0.034, gcc version 3.3.4 (Debian
1:3.3.4-6sarge1)

The content of makefile_macros:
------------------------------------------------------------------------
#Fortran optimized compilation
FC=/opt/intel_fc_80/bin/ifort
FFLAGS=-FR -O0 -w -tpp7 -xK
FFLAGS_Src_2psp =-FR -O0 -w -tpp7 -xK
FFLAGS_Src_3iovars =-FR -O0 -w -tpp7 -xK
FFLAGS_Src_9drive =-FR -O0 -w -tpp7 -xK
FFLAGS_LIBS= -O0 -w

LIBS = $(LAPACK) $(BLAS) /opt/intel_fc_80/lib/libsvml.a

# C preprocessor, used to preprocess the fortran source.
CPP=/usr/bin/cpp
CPP_FLAGS=-P -traditional -D__IFC
# The cpp directive CHGSTDIO changes the standard I/O definition
# Uncomment the next line for this to happen.
#CPP_FLAGS=-P -DCHGSTDIO

# C optimized compilation.
CC=gcc
CFLAGS=-O

# Location of perl . Used to generate the script fldiff, in ~ABINIT/Utilities
.
PERL=/usr/bin/perl

# List of machine-dependent routines
MACHINE_DEP_C_SEQ_SUBS_LIST=etime.o
------------------------------------------------------------------------------

When I type "make allseq", then

------------------------------------------------------------------------------
cd ./Src_0basis; \
make -f tmp_makefile ar_0basis.a VPATH=/home/src/Src_0basis
make[2]: Entering directory `/home/src/Src_0basis'
gcc -O -c -o etime.o etime.c
etime.c:1:22: sys/time.h: No such file or directory
etime.c:2:26: sys/resource.h: No such file or directory
etime.c: In function `etime_':
etime.c:8: error: storage size of `used' isn't known
etime.c: In function `etime':
etime.c:20: error: storage size of `used' isn't known
etime.c: In function `ETIME':
etime.c:32: error: storage size of `used' isn't known
make[2]: *** [etime.o] Error 1
make[2]: Leaving directory `/home/src/Src_0basis'
make[1]: *** [Src_0basis/ar_0basis.a] Error 2
make[1]: Leaving directory `/home/src'
make: *** [allseq] Error 2
------------------------------------------------------------------------------

Thank you!

Xiao Qiang Liu






Archive powered by MHonArc 2.6.16.

Top of Page