compiling problem

Discussion on computers, ROMS installation and compiling

Moderators: arango, robertson

Post Reply
Message
Author
lehel
Posts: 5
Joined: Wed Jul 01, 2009 6:24 pm
Location: Hohai University

compiling problem

#1 Unread post by lehel »

when compiling with build.bash, something wrong appears.

[liugm@xcn087 trunk]$ make -n -p | grep FC
: No such file or directory
makefile:241: INCLUDING FILE /export/home/liugm/make_macros.mk WHICH CONTAINS APPLICATION-DEPENDENT MAKE DEFINITIONS
: No such file or directory
make: *** [Build/MakeDepend] Error 127
PREPROCESS.F = $(FC) $(FFLAGS) $(CPPFLAGS) $(TARGET_ARCH) -F
LINK.r = $(FC) $(FFLAGS) $(RFLAGS) $(LDFLAGS) $(TARGET_ARCH)
COMPILE.f = $(FC) $(FFLAGS) $(TARGET_ARCH) -c
COMPILE.F = $(FC) $(FFLAGS) $(CPPFLAGS) $(TARGET_ARCH) -c
PREPROCESS.r = $(FC) $(FFLAGS) $(RFLAGS) $(TARGET_ARCH) -F
cd $$(SCRATCH_DIR); $$(FC) -c $$(FFLAGS) $(notdir $2)
FC := /opt/intel/fce/10.1.011/bin/ifort
F77 = $(FC)
COMPILE.r = $(FC) $(FFLAGS) $(RFLAGS) $(TARGET_ARCH) -c
LINK.F = $(FC) $(FFLAGS) $(CPPFLAGS) $(LDFLAGS) $(TARGET_ARCH)
LINK.f = $(FC) $(FFLAGS) $(LDFLAGS) $(TARGET_ARCH)
cd $(SCRATCH_DIR); $(FC) -c $(FFLAGS) $(notdir $<)
cd $(SCRATCH_DIR); $(FC) -c $(FFLAGS) mod_param.f90
cd $(SCRATCH_DIR); $(FC) -c $(FFLAGS) def_gst.f90
cd $(SCRATCH_DIR); $(FC) -c $(FFLAGS) mod_grid.f90
cd $(SCRATCH_DIR); $(FC) -c $(FFLAGS) mod_boundary.f90
cd $(SCRATCH_D
……………………

User avatar
kate
Posts: 4091
Joined: Wed Jul 02, 2003 5:29 pm
Location: CFOS/UAF, USA

Re: compiling problem

#2 Unread post by kate »

I can't tell from this what is going wrong with the build script. It looks to me like you invoked "make -n -p" on the command line.

Post Reply