Hi,

It seems that you either have not installed openMPI (which is required) or you have installed it somewhere else than /opt/openmpi and you haven't published the correct paths through environment variables.

Nick

On Thu, Jan 14, 2010 at 12:41 PM, Smz Rcm <smzrcm@yahoo.fr> wrote:
I got this error when using Makefile_IFORT_OpenMPI:

"/opt/openmpi//bin/mpif90 -convert big_endian   -c -o aermix.o aermix.F
make: /opt/openmpi//bin/mpif90 : commande introuvable
make: *** [aermix.o] Erreur 127
"

--- En date de : Jeu 14.1.10, bixq <bixq@ictp.it> a écrit :

De: bixq <bixq@ictp.it>
Objet: Re: [RegCNET] Error in Parallel Run!
À: "Smz Rcm" <smzrcm@yahoo.fr>
Cc: regcnet@lists.ictp.it
Date: Jeudi 14 Janvier 2010, 10h31



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
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


_______________________________________________
RegCNET mailing list
RegCNET@lists.ictp.it
https://lists.ictp.it/mailman/listinfo/regcnet