[Users] compiler
Paul Stokes
stokes at marshall.edu
Thu Feb 28 16:57:50 CST 2008
Erik Schnetter wrote:
> On Feb 22, 2008, at 11:37:45, Paul Edward Stokes wrote:
>
>> I am a new user and am having problems compiling the wavedemo. I am
>> usingLinex Red Hat Enterprise OS and have installed and sourced Intel
>> compiler for C++ and fortran, but everytime I try to compile I get this
>> error;
>>
>> Creating cactus_waveDemo in /home/stokes/Desktop/Cactus/exe from
>> CactusBase/Boundary CactusBase/CartGrid3D CactusBase/CoordBase
>> CactusConnect/HTTPD CactusConnect/HTTPDExtra CactusWave/IDScalarWaveC
>> CactusBase/IOASCII CactusBase/IOBasic CactusIO/IOJpeg CactusBase/IOUtil
>> CactusPUGHIO/IsoSurfacer CactusBase/LocalReduce CactusPUGH/PUGH
>> CactusPUGH/PUGHReduce CactusPUGH/PUGHSlab CactusConnect/Socket
>> CactusBase/SymBase CactusBase/Time CactusWave/WaveBinarySource
>> CactusWave/WaveToyC CactusExternal/jpeg6b
>> c++: /opt/intel/fc/10.1.012/lib/icrt.link: No such file or directory
>
>
> Paul,
>
> we need additional information to see what is going wrong here. It
> seems that Cactus didn't quite understand where or how your Intel
> compiler is installed. Can you
>
> (a) run your make command with the option "SILENT=no", as e.g. in
>
> make waveDemo SILENT=no
>
> (b) send us the file
> Cactus/configs/waveDemo/config-data/make.config.defn, which should
> have been created by Cactus when you configured?
>
> -erik
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Users mailing list
> Users at cactuscode.org
> http://www.cactuscode.org/mailman/listinfo/users
>
> ------------------------------------------------------------------------
>
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.5.516 / Virus Database: 269.21.0/1296 - Release Date: 2/24/2008 12:19 PM
>
I tried the
make waveDemo SILENT=no
but it did the same thing.
Here is the file you asked for
# /*@@
# @file make.config.defn.in
# @date Sun Jan 17 22:33:51 1999
# @author Tom Goodale
# @desc
# Make definition file for a configuration
# Defines the compilers, etc.
#
# Should be run through autoconf to produce make.config.defn
# @enddesc
# @version $Header: /cactus/Cactus/lib/make/make.config.defn.in,v
1.39 2004/05/19 09:53:23 goodale Exp $
# @@*/
# Include stuff defined by optional extra arrangements
include $(TOP)/config-data/make.extra.defn
# Compiler/executable info
SHELL = /bin/sh
MKDIR = mkdir
CC = gcc
CXX = c++
F90 = ifort
F77 = ifort
CPP = /lib/cpp
FPP = /lib/cpp
LD = c++
AR = ar
RANLIB = ranlib
PERL = perl
CFLAGS = -pipe
CXXFLAGS = -pipe
F90FLAGS = -align -w95
F77FLAGS = -align -w95
CPPFLAGS =
FPPFLAGS = -traditional
C_LINE_DIRECTIVES = no
F_LINE_DIRECTIVES = no
MKDIRFLAGS = -p
LDFLAGS = -Qy /opt/intel/fc/10.1.012/lib/icrt.link
ARFLAGS = rucs
RANLIBFLAGS = -cs
# Debug flags
C_DEBUG_FLAGS = -g
CXX_DEBUG_FLAGS = -g
F90_DEBUG_FLAGS = -g
F77_DEBUG_FLAGS = -g
# Optimisation flags
C_OPTIMISE_FLAGS = -O3
CXX_OPTIMISE_FLAGS = -O3
F90_OPTIMISE_FLAGS = -O2 -xN -ip
F77_OPTIMISE_FLAGS = -O2 -xN -ip
# Warning flags
C_WARN_FLAGS = -Wall -W -Wshadow -Wpointer-arith -Wbad-function-cast
-Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes
-Wmissing-declarations -Winline
CXX_WARN_FLAGS = -Wall -W -Wshadow -Wpointer-arith -Wcast-qual
-Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Winline
-Woverloaded-virtual
F90_WARN_FLAGS =
F77_WARN_FLAGS =
# Most compilers use -c -o to compile only, some do something different
CCOMPILEONLY = -c -o
FCOMPILEONLY = -c -o
# Most compilers use -o for naming the executable, alas some don't
CREATEEXE = -o
# On Unix a /
DIRSEP = /
EMPTY_VAR = # Nothing. Leading space is removed.
# Mostly a single space, sometimes nothing at all
OPTIONSEP = $(EMPTY_VAR) # a single space
# Some architectures need to do something special for linking in
libraries
LIBNAME_PREFIX = lib# Make sure there is no space at end.
LIBNAME_SUFFIX = .a
CACTUSLIBLINKLINE = -L$(CCTK_LIBDIR) $(addprefix -l, $(ALLCACTUSLIBS))
# Dependency file generation
C_DEPEND = $(CC) -E -M $(CPPFLAGS)
CXX_DEPEND = $(CXX) -E -M $(CPPFLAGS)
F77_DEPEND = $(FPP) -M $(FPPFLAGS)
F_DEPEND = $(FPP) -M $(FPPFLAGS)
F_DEPEND_MODULES = $(CCTK_HOME)/lib/sbin/f_depend_modules.pl
C_DEPEND_OUT = > $@
CXX_DEPEND_OUT = > $@
F77_DEPEND_OUT = > $@
F_DEPEND_OUT = > $@
F_DEPEND_MODULES_OUT = >> $@
# Some compilers are very picky about the names of C++ files
CXX_WORKING_NAME = $(notdir $<)
# Some compilers are very picky about the suffix for fortran files
F90_SUFFIX = f90
# How to postprocess object files
C_POSTPROCESSING =
CXX_POSTPROCESSING =
F77_POSTPROCESSING =
F_POSTPROCESSING =
F90_POSTPROCESSING =
# Do we need to use ranlib ?
USE_RANLIB = no
# Exclude some files from the dependency lists
DEP_EXCLUDE_FILES =
cctk_Functions\.h|CParameterStructNames\.h|cctk_Arguments\.h|definethist
horn\.h|FParameters.h|CParameters\.h
# Command used to get the working directory
GET_WD = pwd
# Way for Make to transofrm things like include directories
# into a form suitable for the compiler.
TRANSFORM_DIRS = $(1)
# Library info
LIBS += crypt ifcore imf svml m
LIBDIRS += /opt/intel/fc/10.1.012/lib
# Command to generate the link line for libraries
GENERAL_LIBRARIES = $(LIBDIRS:%=-L%) $(LIBS:%=-l%)
# System include directories
SYS_INC_DIRS +=
# Annoying stuff for some file systems.
PERL_BACKUP_NECESSARY =
# Stuff for the architecture
OS = linux-gnu
CPU = x86_64
VENDOR = unknown
# X stuff
X_LIB_DIR = NONE
X_INC_DIR = NONE
# GNU stuff
BUILD_GETOPT = no
BUILD_REGEX = no
# Where the CCTK puts things
PACKAGE_DIR = $(CCTK_HOME)/arrangements
BUILD_DIR = $(TOP)/build
CCTK_LIBDIR = $(TOP)/lib
# The perl scripts run by the make system
BUILD_ACTIVETHORNS = $(CCTK_HOME)/lib/sbin/BuildActiveThorns.pl
CST = $(CCTK_HOME)/lib/sbin/CST
C_FILE_PROCESSOR = $(CCTK_HOME)/lib/sbin/c_file_processor.pl
F_FILE_PROCESSOR = $(CCTK_HOME)/lib/sbin/f_file_processor.pl
# The directory in which to place the executable
EXEDIR = $(CCTK_HOME)/exe
# The name of the executable
EXE = cactus_waveDemo
# Is this a debug configuration ?
CCTK_DEBUG_MODE = no
ifeq ($(strip $(CCTK_DEBUG_MODE)),yes)
CFLAGS += $(C_DEBUG_FLAGS)
CXXFLAGS += $(CXX_DEBUG_FLAGS)
F77FLAGS += $(F77_DEBUG_FLAGS)
F90FLAGS += $(F90_DEBUG_FLAGS)
endif
# Is this an optimising configuration ?
CCTK_OPTIMISE_MODE = yes
ifeq ($(strip $(CCTK_OPTIMISE_MODE)),yes)
CFLAGS += $(C_OPTIMISE_FLAGS)
CXXFLAGS += $(CXX_OPTIMISE_FLAGS)
F77FLAGS += $(F77_OPTIMISE_FLAGS)
F90FLAGS += $(F90_OPTIMISE_FLAGS)
endif
# Are we building with all warnings switched on ?
# This option may be overwritten at compile time.
ifeq ($(WARN),)
CCTK_WARN_MODE = no
else
CCTK_WARN_MODE = $(WARN)
endif
ifeq ($(strip $(CCTK_WARN_MODE)),yes)
CFLAGS += $(C_WARN_FLAGS)
CXXFLAGS += $(CXX_WARN_FLAGS)
F77FLAGS += $(F77_WARN_FLAGS)
F90FLAGS += $(F90_WARN_FLAGS)
endif
# Stuff specific to an architecture.
include $(TOP)/config-data/make.arch.defn
-- No virus found in this incoming message. Checked by AVG Free Edition.
Version: 7.5.516 / Virus Database: 269.21.1/1302 - Release Date:
2/27/2008 4:34 PM
More information about the Users
mailing list