[Wrf-users] WRF v3.2 building (error: "MPI_Fint" has already been declared in the current scope)

yagnesh yagnesh at lowtem.hokudai.ac.jp
Tue Oct 19 09:25:56 MDT 2010


Hello WRF users,

I am trying to build wrf model on SGI Altix 3700 Bx2.

with intel compilers using sgi mpt mpi.

i am getting the following error while compiling..


,----
|
| make[3]: Leaving directory `/home/yagnesh/WRF/WRFV3/external/io_netcdf'
| ( cd /home/yagnesh/WRF/WRFV3/external/RSL_LITE ; make CC="icc -lmpi 
-DFSEEKO64_OK  -w -O3 -ip -DDM_PARALLEL -DMAX_HISTORY=25" \
|           FC="ifort -lmpi -O3 -w -ftz -align all -fno-alias -fp-model 
precise -FR -convert big_endian  -i4 -convert big_endian" \
|           CPP="/lib/cpp -C -P -I. -DEM_CORE=1 -DNMM_CORE=0 
-DNMM_MAX_DIM=2600 -DCOAMPS_CORE=0 -DDA_CORE=0 -DDFI_RADAR=0 
-DEXP_CORE=0 -DIWORDSIZE=4       |-DDWORDSIZE=8 -DRWORDSIZE=4 
-DLWORDSIZE=4 -DNONSTANDARD_SYSTEM_FUNC  -DDM_PARALLEL -DNETCDF 
-DUSE_ALLOCATABLES -DGRIB1 -DINTIO -DLIMIT_ARGS |-DCONFIG_BUF_LEN=32768 
-DMAX_DOMAINS_F=21 -DMAX_HISTORY=25 -DNMM_NEST=0 -traditional" AR="ar" 
ARFLAGS="ru" ;\
|           ranlib /home/yagnesh/WRF/WRFV3/external/RSL_LITE/librsl_lite.a )
| make[3]: Entering directory `/home/yagnesh/WRF/WRFV3/external/RSL_LITE'
| icc -lmpi -DFSEEKO64_OK  -w -O3 -ip -DDM_PARALLEL -DMAX_HISTORY=25  -c 
c_code.c
| icc -lmpi -DFSEEKO64_OK  -w -O3 -ip -DDM_PARALLEL -DMAX_HISTORY=25  -c 
buf_for_proc.c
| /opt/sgi/mpt/mpt-2.01/include/mpi.h(834): error: "MPI_Fint" has 
already been declared in the current scope
|   MPI_Fint MPI_Comm_c2f(MPI_Comm);
|            ^
|
| /opt/sgi/mpt/mpt-2.01/include/mpi.h(835): error: function "MPI_Fint" 
is not a type name
|   MPI_Fint PMPI_Comm_c2f(MPI_Comm);
|   ^
|
| /opt/sgi/mpt/mpt-2.01/include/mpi.h(837): error: "MPI_Comm" has 
already been declared in the current scope
|   MPI_Comm MPI_Comm_f2c(MPI_Fint);
|            ^
|
| /opt/sgi/mpt/mpt-2.01/include/mpi.h(838): error: function "MPI_Comm" 
is not a type name
|   MPI_Comm PMPI_Comm_f2c(MPI_Fint);
|   ^
`----


any hints.?


Thanks
yyr



More information about the Wrf-users mailing list