[MITgcm-support] help for building the model

Jody Klymak jklymak at uvic.ca
Tue Mar 28 07:29:19 EDT 2017


Hi Xia.  It doesn't know where your MPI include files are (and hence likely doesn't know where the rest of the MPI library is.   If it's installed be sure to add the directories in build_options file.

Cheers.  Jody

Sent from my iPad

> On Mar 28, 2017, at 06:25, xiarb at nuist.edu.cn wrote:
> 
> 
> 
> Dear all
>  I am trying to set up a regional experiment with MIT-gcm on a new server. However, I have encountered a problem When I build with MPI. The first step as follows is right:
> 
> 
> ../../../tools/genmake2 -mods=../code -mpi -of=../../../tools/build_options/wu_linux_ia64_ifort_mpi_whale00.whale00 
> 
>  
> 
> But the second step ( make depend ) shows at last:
> 
> makedepend: warning:  diagstats_ascii_out.F (reading EESUPPORT.h, line 175): cannot find include file "mpif.h"
> 
>        not in mpif.h
> 
>        not in mpif.h
> 
>        not in ./mpif.h
> 
>        not in /include/mpif.h
> 
>        not in /WORK/app/netcdf/4.3.2/01-CF-14/include/mpif.h
> 
>        not in /usr/include/mpif.h
> 
> ../../../tools/f90mkdepend >> Makefile
> 
> rm -f makedepend.out
> 
>  
> 
> and with the third step (make) will occur that as follows at last:
> 
> EESUPPORT.h:175: error: mpif.h: No such file or directory
> 
> mpif90 -132 -r8 -i4  -g -convert big_endian -assume byterecl -I. -I/include -I/WORK/app/netcdf/4.3.2/01-CF-14/include  -O1 -align -c exf_interp_read.f
> 
> exf_interp_read.f(3113): error #6404: This name does not have a type, and must have an explicit type.   [MPI_REAL]
> 
>            CALL MPI_BCAST(buffer_r4,nx_in*ny_in,MPI_REAL,
> 
> ------------------------------------------------^
> 
> exf_interp_read.f(3116): error #6404: This name does not have a type, and must have an explicit type.   [MPI_DOUBLE_PRECISION]
> 
>            CALL MPI_BCAST(buffer_r8,nx_in*ny_in,MPI_DOUBLE_PRECISION,
> 
> ------------------------------------------------^
> 
> compilation aborted for exf_interp_read.f (code 1)
> 
> make[1]: *** [exf_interp_read.o] Error 1
> 
> make[1]: Leaving directory `/HOME/nuist_zmwang_1/MITgcm/verification/Prydz_Bay_basic_5.0/build'
> 
> make: *** [fwd_exe_target] Error 2
> 
> 
> While I have tried the examples in the MITgcm vetification such as “tutorial_global_oce_latlon”, which could be build and achieve the results normally! I hope the server set is right. So what is the problem and how to solve the problem ? 
> 
>  
> 
> Thank you for your considerations!
> 
> 
> Xia
> E-mail: xiarb at nuist.edu.cn
> _______________________________________________
> MITgcm-support mailing list
> MITgcm-support at mitgcm.org
> http://mitgcm.org/mailman/listinfo/mitgcm-support
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mitgcm.org/pipermail/mitgcm-support/attachments/20170328/d6a4a48b/attachment-0001.htm>


More information about the MITgcm-support mailing list