First make it clean, it seems you are compiling in  previously compiled model. Please attache here the Makefile.inc file.

Ciao
Tamirat Bekele Jimma

--- On Sat, 6/11/11, huym <huyamin_1978@163.com> wrote:

From: huym <huyamin_1978@163.com>
Subject: [RegCNET] New bug in RegCM-4.1.1 version
To: "Stefano Cozzini" <cozzini@democritos.it>
Cc: "RegCNET@lists.ictp.it" <regcnet@lists.ictp.it>
Date: Saturday, June 11, 2011, 3:55 AM

hello,everybody:
when I run the model RegCM-4.1.1 version, I choose the model configuration as follows:
dbg=1
mpi=1
band=0
clm=1
fortran cimpiler=3
then when i run $make all
there happened a mistake as follows:
make[1]: Entering directory `/home/fliao/RegCM-4.1.1/PreProc/Terrain'
Executable terrain is installed now in /home/fliao/RegCM-4.1.1/Bin
make[1]: Leaving directory `/home/fliao/RegCM-4.1.1/PreProc/Terrain'
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
SUCCESSFULLY CREATED TERRAIN BINARY FILE
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
make[1]: Entering directory `/home/fliao/RegCM-4.1.1/PreProc/ICBC'
Programs all installed in /home/fliao/RegCM-4.1.1/Bin
make[1]: Leaving directory `/home/fliao/RegCM-4.1.1/PreProc/ICBC'
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
SUCCESSFULLY CREATED ICBC BINARY FILES
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
make[1]: Entering directory `/home/fliao/RegCM-4.1.1/PreProc/CLM'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/fliao/RegCM-4.1.1/PreProc/CLM'
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
SUCCESSFULLY CREATED clm2rcm BINARY FILES
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
make[1]: Entering directory `/home/fliao/RegCM-4.1.1/Main'
make -C ./clmlib
make[2]: Entering directory `/home/fliao/RegCM-4.1.1/Main/clmlib'
mpif90 -c -o decompMod.o  -DMPP1 -DCLM -DMAXPATCH_PFT=4 -DOFFLINE -DLINUX -DFORTRANUNDERSCORE -O3 -byteswapio -I/home/fliao/RegCM-4.1.1/Main/clm3.5/src/utils/esmf_wrf_timemgr -I/home/fliao/RegCM-4.1.1/Main/clm3.5/src/utils/timing/ -I. -I/home/fliao/RegCM-4.1.1/Main -I/public/software/netcdf-4/include  -c decompMod.F90
PGF90-F-0004-Unable to open MODULE file mod_clm.mod (decompMod.F90: 16)
PGF90/x86-64 Linux 7.1-6: compilation aborted
make[2]: *** [decompMod.o] Error 2
make[2]: Leaving directory `/home/fliao/RegCM-4.1.1/Main/clmlib'
make[1]: *** [clmlib/libclm.a] Error 2
make[1]: Leaving directory `/home/fliao/RegCM-4.1.1/Main'
make: *** [regcm] Error 2

How can I resolve the problem? Could you give me a hand? I am looking forward your help! Thanks for anyone!

-----Inline Attachment Follows-----

_______________________________________________
RegCNET mailing list
RegCNET@lists.ictp.it
https://lists.ictp.it/mailman/listinfo.cgi/regcnet