sunxg007@yahoo_com_cn
New Member
Hi, everyone,
After I finish configure by
./configure -cam_bld ./mywork -nc_inc /usr/local/NetCDF3.6.0/include -nc_lib /usr/local/NetCDF3.6.0/lib/ -mpi_inc /usr/local/MPICH1.2.7/include/ -mpi_lib /usr/local/MPICH1.2.7/lib/,
I try to compile cam3 like, gmake , however, there are some problems coming out like the followings,
f90 -I. -I/data1/sunxg/CAM3.1/cam1/models/atm/cam/src/physics/cam1 -I/data1/sunxg/CAM3.1/cam1/models/atm/cam/src/dynamics/eul -I/data1/sunxg/CAM3.1/cam1/models/atm/cam/src/control -I/data1/sunxg/CAM3.1/cam1/models/csm_share/shr -I/data1/sunxg/CAM3.1/cam1/models/atm/cam/src/utils -I/data1/sunxg/CAM3.1/cam1/models/utils/timing -I/data1/sunxg/CAM3.1/cam1/models/atm/cam/src/advection/slt -I/data1/sunxg/CAM3.1/cam1/models/atm/cam/src/ocnsice/dom -I/data1/sunxg/CAM3.1/cam1/models/lnd/clm2/src/main -I/data1/sunxg/CAM3.1/cam1/models/lnd/clm2/src/biogeophys -I/data1/sunxg/CAM3.1/cam1/models/lnd/clm2/src/biogeochem -I/data1/sunxg/CAM3.1/cam1/models/lnd/clm2/src/mksrfdata -I/data1/sunxg/CAM3.1/cam1/models/lnd/clm2/src/riverroute -I/data1/sunxg/CAM3.1/cam1/models/ice/csim4 -I/usr/local/NetCDF3.6.0/include -I/usr/local/MPICH1.2.7/include/ -I/data1/sunxg/CAM3.1/cam1/models/atm/cam/bld/esmf/mod/modO/alpha -I/usr/local/NetCDF3.6.0/lib/ -DCAM -DNO_SHR_VMATH -DHIDE_SHR_MSG -r8 -i4 -c -omp -automatic -fpe3 -check omp_bindings -I/usr/local/MPICH1.2.7/include/ -O2 -inline speed -DOSF1 -free -fpe3 /data1/sunxg/CAM3.1/cam1/models/atm/cam/src/dynamics/eul/bndexch.F90
f90: Warning: /data1/sunxg/CAM3.1/cam1/models/atm/cam/src/dynamics/eul/bndexch.F90, line 22: Conflicting attributes or multiple declaration of name. [NPES]
use spmd_dyn, only: npes, cut, cutex, neighs, neighs_proc, &
----------------------^
f90: Warning: /data1/sunxg/CAM3.1/cam1/models/atm/cam/src/dynamics/eul/bndexch.F90, line 22: Conflicting attributes or multiple declaration of name. [CUT]
use spmd_dyn, only: npes, cut, cutex, neighs, neighs_proc, &
----------------------------^
f90: Error: /data1/sunxg/CAM3.1/cam1/models/atm/cam/src/dynamics/eul/bndexch.F90, line 45: The same named entity from different modules and/or program units cannot be referenced. [NPES]
if (npes .lt. 2) return
------^
f90: Error: /data1/sunxg/CAM3.1/cam1/models/atm/cam/src/dynamics/eul/bndexch.F90, line 61: The same named entity from different modules and/or program units cannot be referenced. [CUT]
call intersct(cut(1,iam),cutex(1,others),outreg)
----------------------^
f90: Error: /data1/sunxg/CAM3.1/cam1/models/atm/cam/src/dynamics/eul/bndexch.F90, line 75: The same named entity from different modules and/or program units cannot be referenced. [CUT]
call intersct(cut(1,othern),cutex(1,iam),inreg)
----------------------^
f90: Error: /data1/sunxg/CAM3.1/cam1/models/atm/cam/src/dynamics/eul/bndexch.F90, line 98: The same named entity from different modules and/or program units cannot be referenced. [CUT]
call intersct(cut(1,iam),cutex(1,othern),outreg)
----------------------^
f90: Error: /data1/sunxg/CAM3.1/cam1/models/atm/cam/src/dynamics/eul/bndexch.F90, line 112: The same named entity from different modules and/or program units cannot be referenced. [CUT]
call intersct(cut(1,others),cutex(1,iam),inreg)
----------------------^
gmake: *** [bndexch.o] Error 1
so, I'd like your helps about how to solve these problems.
Thanks in advance.
After I finish configure by
./configure -cam_bld ./mywork -nc_inc /usr/local/NetCDF3.6.0/include -nc_lib /usr/local/NetCDF3.6.0/lib/ -mpi_inc /usr/local/MPICH1.2.7/include/ -mpi_lib /usr/local/MPICH1.2.7/lib/,
I try to compile cam3 like, gmake , however, there are some problems coming out like the followings,
f90 -I. -I/data1/sunxg/CAM3.1/cam1/models/atm/cam/src/physics/cam1 -I/data1/sunxg/CAM3.1/cam1/models/atm/cam/src/dynamics/eul -I/data1/sunxg/CAM3.1/cam1/models/atm/cam/src/control -I/data1/sunxg/CAM3.1/cam1/models/csm_share/shr -I/data1/sunxg/CAM3.1/cam1/models/atm/cam/src/utils -I/data1/sunxg/CAM3.1/cam1/models/utils/timing -I/data1/sunxg/CAM3.1/cam1/models/atm/cam/src/advection/slt -I/data1/sunxg/CAM3.1/cam1/models/atm/cam/src/ocnsice/dom -I/data1/sunxg/CAM3.1/cam1/models/lnd/clm2/src/main -I/data1/sunxg/CAM3.1/cam1/models/lnd/clm2/src/biogeophys -I/data1/sunxg/CAM3.1/cam1/models/lnd/clm2/src/biogeochem -I/data1/sunxg/CAM3.1/cam1/models/lnd/clm2/src/mksrfdata -I/data1/sunxg/CAM3.1/cam1/models/lnd/clm2/src/riverroute -I/data1/sunxg/CAM3.1/cam1/models/ice/csim4 -I/usr/local/NetCDF3.6.0/include -I/usr/local/MPICH1.2.7/include/ -I/data1/sunxg/CAM3.1/cam1/models/atm/cam/bld/esmf/mod/modO/alpha -I/usr/local/NetCDF3.6.0/lib/ -DCAM -DNO_SHR_VMATH -DHIDE_SHR_MSG -r8 -i4 -c -omp -automatic -fpe3 -check omp_bindings -I/usr/local/MPICH1.2.7/include/ -O2 -inline speed -DOSF1 -free -fpe3 /data1/sunxg/CAM3.1/cam1/models/atm/cam/src/dynamics/eul/bndexch.F90
f90: Warning: /data1/sunxg/CAM3.1/cam1/models/atm/cam/src/dynamics/eul/bndexch.F90, line 22: Conflicting attributes or multiple declaration of name. [NPES]
use spmd_dyn, only: npes, cut, cutex, neighs, neighs_proc, &
----------------------^
f90: Warning: /data1/sunxg/CAM3.1/cam1/models/atm/cam/src/dynamics/eul/bndexch.F90, line 22: Conflicting attributes or multiple declaration of name. [CUT]
use spmd_dyn, only: npes, cut, cutex, neighs, neighs_proc, &
----------------------------^
f90: Error: /data1/sunxg/CAM3.1/cam1/models/atm/cam/src/dynamics/eul/bndexch.F90, line 45: The same named entity from different modules and/or program units cannot be referenced. [NPES]
if (npes .lt. 2) return
------^
f90: Error: /data1/sunxg/CAM3.1/cam1/models/atm/cam/src/dynamics/eul/bndexch.F90, line 61: The same named entity from different modules and/or program units cannot be referenced. [CUT]
call intersct(cut(1,iam),cutex(1,others),outreg)
----------------------^
f90: Error: /data1/sunxg/CAM3.1/cam1/models/atm/cam/src/dynamics/eul/bndexch.F90, line 75: The same named entity from different modules and/or program units cannot be referenced. [CUT]
call intersct(cut(1,othern),cutex(1,iam),inreg)
----------------------^
f90: Error: /data1/sunxg/CAM3.1/cam1/models/atm/cam/src/dynamics/eul/bndexch.F90, line 98: The same named entity from different modules and/or program units cannot be referenced. [CUT]
call intersct(cut(1,iam),cutex(1,othern),outreg)
----------------------^
f90: Error: /data1/sunxg/CAM3.1/cam1/models/atm/cam/src/dynamics/eul/bndexch.F90, line 112: The same named entity from different modules and/or program units cannot be referenced. [CUT]
call intersct(cut(1,others),cutex(1,iam),inreg)
----------------------^
gmake: *** [bndexch.o] Error 1
so, I'd like your helps about how to solve these problems.
Thanks in advance.