Use Makefile_IFORT_OpenMPI
as your Makefile
On Thu, 14 Jan 2010, Smz Rcm wrote:
> Dear RegCMers
> I'am trying without success to run RegCM3 in parallel mode with 2 procesors..
> I use Intel Fortran and I have installed openmpi
> but when I write "mpirun -np 2 ./regcm" I receive the following error:
>
> forrtl: severe (24): end-of-file during read, unit -4, file stdin
> Image PC Routine Line Source
> regcm 081D3D7D Unknown Unknown Unknown
>
regcm 081D32F5 Unknown Unknown Unknown
> regcm 08195BA8 Unknown Unknown Unknown
> regcm 08155903 Unknown Unknown Unknown
> regcm 08155260 Unknown Unknown Unknown
> regcm
08171D24 Unknown Unknown Unknown
> regcm 080DDCAF Unknown Unknown Unknown
> regcm 08118866 Unknown Unknown Unknown
> regcm 08049D21 Unknown Unknown Unknown
> libc.so.6 B7D6B5C5
Unknown Unknown Unknown
> regcm 08049C31 Unknown Unknown Unknown
>
> can you help me fix this error? is the command I whote sutable for openmpi?
> my makefile is:
>
> # Makefile for RegCM@
> FFLAGS = -fpe3 -tpp7 -cm -w -w90 -w95 -convert big_endian
> FC = ifort
> LD = $(FC)
> SRC = \
> aermix.f ...
> OBJ = \
> aermix.o ...
> all: regcm
> regcm: $(OBJ)
> $(LD) -o $@ $(FFLAGS) $(OBJ) -Vaxlib
> clean:
> rm -f $(OBJ) regcm *.o
>
> Must I make changes in makefile? if yes how please?
> I thank you very much for
help
> Cordially
> Sassi
>
>
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Dr. Xunqiang Bi email:
bixq@ictp.it Earth System Physics Group
The Abdus Salam ICTP
Strada Costiera, 11
P.O. BOX 586, 34100 Trieste, ITALY
Tel: +39-040-2240302 Fax: +39-040-2240449
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~