Hello,
I am trying to build ccsm3 on my linux machine with intel compiler. During build i am getting this error.
$ ./case1.generic_linux.build
-------------------------------------------------------------------------
Preparing T42_gx1v3 component models for execution
-------------------------------------------------------------------------
- Create execution directories for atm,cpl,lnd,ice,ocn
- If a restart run then copy restart files into executable directory
ccsm_getrestart: get /home/deepti/case1 restarts from /ptmp/deepti/archive/case1 /restart
- Check validity of configuration
- Determine if build must happen (env variable BLDTYPE)
- Build flag (BLDTYPE) is TRUE
- Build Libraries: esmf, mph, mct
Tue Jun 24 02:43:46 IST 2008 esmf.buildlib.080624-024346
Tue Jun 24 02:43:47 IST 2008 mph.buildlib.080624-024346
Tue Jun 24 02:43:48 IST 2008 mct.buildlib.080624-024346
- Create model directories for each platform
- Determine if models must be rebuilt
- Build model executables, create namelist files, prestage input data
Tue Jun 24 02:43:49 IST 2008 /home/deepti/case1/cpl/cpl.log.080624-024346
Tue Jun 24 02:43:49 IST 2008 /home/deepti/case1/cpl/cpl.buildexe.080624-024346
Tue Jun 24 02:43:50 IST 2008 /home/deepti/case1/ice/ice.log.080624-024346
Tue Jun 24 02:43:50 IST 2008 /home/deepti/case1/ice/ice.buildexe.080624-024346
Tue Jun 24 02:43:51 IST 2008 /home/deepti/case1/lnd/lnd.log.080624-024346
Tue Jun 24 02:43:51 IST 2008 /home/deepti/case1/lnd/lnd.buildexe.080624-024346
Tue Jun 24 02:43:52 IST 2008 /home/deepti/case1/ocn/ocn.log.080624-024346
Tue Jun 24 02:43:52 IST 2008 /home/deepti/case1/ocn/ocn.buildexe.080624-024346
ERROR: pop.buildexe.csh failed, see ocn.buildexe.080624-024346
ERROR: cat /home/deepti/case1/ocn/ocn.buildexe.080624-024346
$ cat /home/deepti/case1/ocn/ocn.buildexe.080622-040737
-------------------------------------------------------------------------
a. Build an executable in /home/deepti/case1/ocn/obj
-------------------------------------------------------------------------
-------------------------------------------------------------------------
a.1 Calculate processor tiling based on 24
-------------------------------------------------------------------------
-----------------------------------------------------------------
a2. creating the internal directory structure
-----------------------------------------------------------------
-----------------------------------------------------------------
a3. create model_size.F in /home/deepti/case1/ocn/obj/source, first computing NT
-----------------------------------------------------------------
-----------------------------------------------------------------
ocn.iage.setup.csh : setting nt
-----------------------------------------------------------------
-----------------------------------------------------------------
copy the necessary files into $source_dir
-----------------------------------------------------------------
cp: No match.
cp: No match.
-----------------------------------------------------------------
a4. compile and copy the executable into /home/deepti/case1/ocn directory
-----------------------------------------------------------------
mpif90 -I/share/apps/intel/mpich2_intel/include -I/home/deepti/case1/lib/includ e -I/home/deepti/netcdf_INTEL/netcdf-3.6.1/include -I/home/deepti/case1/ocn/obj/ source -c -r8 -i4 -DLINUX -DPGF90 -DNO_SHR_VMATH -DLINUX -DPOSIX -Dimpvmix -Dc oupled -DNPROC_X=4 -DNPROC_Y=6 /home/deepti/case1/ocn/obj/source/forcing_coupled .F
fortcom: Error: forcing_coupled.F, line 1363: This name does not have a type, an d must have an explicit type. [C0ALLCPL_INTERFACE_CONTRACTSEND]
QICE = c0all
------------------^
fortcom: Warning: forcing_coupled.F, line 206: A dummy argument with an explicit INTENT(OUT) declaration is not given an explicit value. [SMF]
subroutine init_coupled(SMF, SMFT, STF, SHF_QSW, lsmft_avail)
------------------------------^
fortcom: Warning: forcing_coupled.F, line 206: A dummy argument with an explicit INTENT(OUT) declaration is not given an explicit value. [SMFT]
subroutine init_coupled(SMF, SMFT, STF, SHF_QSW, lsmft_avail)
-----------------------------------^
fortcom: Warning: forcing_coupled.F, line 206: A dummy argument with an explicit INTENT(OUT) declaration is not given an explicit value. [STF]
subroutine init_coupled(SMF, SMFT, STF, SHF_QSW, lsmft_avail)
-----------------------------------------^
fortcom: Warning: forcing_coupled.F, line 206: A dummy argument with an explicit INTENT(OUT) declaration is not given an explicit value. [SHF_QSW]
subroutine init_coupled(SMF, SMFT, STF, SHF_QSW, lsmft_avail)
----------------------------------------------^
compilation aborted for /home/deepti/case1/ocn/obj/source/forcing_coupled.F (cod e 1)
gmake: *** [forcing_coupled.o] Error 1
Can you please suggest me where the problem is ? Why it is showing the problem in code ? I don’t know that what should be the data type I must specify to resolve the problem.
Thanks & Regards
Deepti