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 Post by lehel » Wed Dec 22, 2010 2:32 am

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: 3754
Joined: Wed Jul 02, 2003 5:29 pm
Location: IMS/UAF, USA

Re: compiling problem

#2 Post by kate » Wed Dec 22, 2010 6:29 pm

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