Skip to Content.
Sympa Menu

forum - Compiling problem - herald_cpp.f90

forum@abinit.org

Subject: The ABINIT Users Mailing List ( CLOSED )

List archive

Compiling problem - herald_cpp.f90


Chronological Thread 
  • From: ispmarin@gmail.com
  • To: forum@abinit.org
  • Subject: Compiling problem - herald_cpp.f90
  • Date: Tue, 9 Aug 2005 15:26:16 +0200

Hello to all.

I am trying to compile ABINIT in an Athlon XP 2400+ running Fedora Core 4 and
ifort 9.0. Everything goes well, until compiling herald_cpp.f90. I got this
error:

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
/opt/intel/fc/9.0/bin/ifort -O3 -w -tpp7 -axW -static-libcxa
-I../Lib_nanoquantaxc -c herald_cpp.f90
fortcom: Error: herald_cpp.f90, line 63: This name does not have a type, and
must have an explicit type. [HOST]
&HOST,' computer) '
-^
compilation aborted for herald_cpp.f90 (code 1)
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



The configuration file makefile_macros is below:


+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
# For the sequential version

# Machine type
MACHINE=AMD
# Fortran optimized compilation
FC=/opt/intel/fc/9.0/bin/ifort
FFLAGS = -O3 -w -tpp7 -axW -static-libcxa
FFLAGS_Src_5common = -O2 -mp -xW -tpp7 -static-libcxa
FFLAGS_Src_2psp = -O0 -xW -tpp7 -static-libcxa
FFLAGS_Src_2nonlocal = -O0 -xW -tpp7 -static-libcxa
# FFLAGS_Src_6response = -O0 -xW -tpp7 -static-libcxa # not effective for
Test_v4
FFLAGS_LIBS= -O3 -w -static-libcxa

LIBS=$(LAPACK) $(BLAS) -L/opt/intel/fc/9.0/lib -lsvml -lcxa -static-libcxa

# C preprocessor, used to preprocess the fortran source.
CPP=/lib/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=cc
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
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++


What can be happening? To reach this point took about three hours
compiling... and I am unable to see in the code anything that can be
bothering. I've changed the &HOST in line 63 for a string directly, but got
the same error.

Thank you!

Ivan Paganini

Thanks.



Archive powered by MHonArc 2.6.16.

Top of Page