Dear all
Now I'm trying to mpirun of regcm3.
My linux merchine is setted AMD64 cpu, PGI compiler.
This is my regcm.param file in Main dictory.
INTEGER IX
INTEGER JX
INTEGER KX
INTEGER NSG
INTEGER NNSG
INTEGER IBYTE
CHARACTER*5 DATTYP
CHARACTER*4 LSMTYP
CHARACTER*7 AERTYP
integer jlx,jlxm
parameter(IX = 40)
parameter(JX = 40)
parameter(KX = 18)
parameter(NSG = 4)
parameter(NNSG = 16)
paramete
r(IBYTE = 4)
parameter(DATTYP='FNEST')
parameter(LSMTYP='BATS')
parameter(AERTYP='AER00D0')
parameter(jlx=jx-1,jlxm=jx-2)
The regcm.param2 file is only this.
INTEGER IX
INTEGER NPROC
INTEGER MJX
INTEGER KX
INTEGER NSG
INTEGER NNSG
INTEGER IBYTE
INTEGER JXP
CHARACTER*5 DATTYP
CHARACTER*4 LSMTYP
CHARACTER*7 AERTYP
integer jxbb
parameter(IX = 40)
parameter(NPROC = 16)
parameter(MJX = 40)
The informations are cutted on the way.
And I linked the Makefile_IFORT_OpenMPI to Makefile.
I linked the options/0_NODIAG_PARALLEL_CODE to MAKECODE.
There are many errors.
,,,,,,,,
ur.o saxpy.o sgedi.o sgefa.o slice.o slice3d.o snow.o soilbc.o solar1.o spinit.o spline.o splitf.o sponge.o spstep.o sscal.o sswap.o stomat.o TEMP.o tend.o tgrund.o tpfc.o tracbud.o tracdiag.o tractend2.o trcab.o trcabn.o trcems.o trcmix.o trcplk.o trcpth.o tseice.o tstep.o vadv.o vcheke.o vcheki.o vchekt.o vcover.o vecbats.o vmodes.o vmultm.o vnorml.o vorder.o vprntm.o vprntv.o vtlaps.o water.o wheneq.o whenfgt.o whenflt.o whenne.o zengocndrv.o zengocn.o zenith.o zenitm.o regcm *.o
/usr/local/mpich2/bin/mpif90 -convert big_endian -c -o aermix.o aermix.f
pgf90-Error-Unknown switch: -convert
/usr/local/mpich2/bin/mpif90 -convert big_endian -c -o aermix.o aermix.f
make: *** [aermix.o] Error 1
mv: cannot stat `../Main/regcm': No search file or directory
/usr/local/mpich2/bin/mpif90 -convert big_endian -c -o aermix.o aermix.f
/usr/local/mpich2/bin/mpif90 -convert big_endian -c -o aermix.o aermix.f
pgf90-Error-Unknown switch: -c
onvert
make: *** [aermix.o] Error 1
/usr/local/mpich2/bin/mpif90 -convert big_endian -c -o aermix.o aermix.f
/usr/local/mpich2/bin/mpif90 -convert big_endian -c -o aermix.o aermix.f
mv: cannot stat `../Main/regcm': No search file or directory
/usr/local/mpich2/bin/mpif90 -convert big_endian -c -o aermix.o aermix.f
/usr/local/mpich2/bin/mpif90 -convert big_endian -c -o aermix.o aermix.f
/usr/local/mpich2/bin/mpif90 -convert big_endian -c -o aermix.o aermix.f
pgf90-Error-Unknown switch: -convert
make: *** [aermix.o] Error 1
pgf90-Error-Unknown switch: -convert
mv: cannot stat `../Main/regcm': No search file or dicrectory
/usr/local/mpich2/bin/mpif90 -convert big_endian -c -o aermix.o aermix.f
make: *** [aermix.o] Error 1
pgf90-Error-Unknown switch: -convert
/usr/local/mpich2/bin/mpif90 -convert big_endian -c -o aermix.o aermix.f
mv: cannot stat `../Main/regcm': No sear
ch fiel or directory
pgf90-Error-Unknown switch: -convert
/usr/local/mpich2/bin/mpif90 -convert big_endian -c -o aermix.o aermix.f
make: *** [aermix.o] Error 1
make: *** [aermix.o] Error 1
/usr/local/mpich2/bin/mpif90 -convert big_endian -c -o aermix.o aermix.f
mv: cannot stat `../Main/regcm': No search file or directory
mv: cannot stat `../Main/regcm': No search file or directory
pgf90-Error-Unknown switch: -convert
pgf90-Error-Unknown switch: -convert
pgf90-Error-Unknown switch: -convert
make: *** [aermix.o] Error 1
make: *** [aermix.o] Error 1
/usr/local/mpich2/bin/mpif90 -convert big_endian -c -o aermix.o aermix.f
make: *** [aermix.o] Error 1
mv: cannot stat `../Main/regcm': No search file or directory
mv: cannot stat `../Main/regcm': No search file or directory
mv: cannot stat `../Main/regcm': No search file or directory
pgf90-Error-Unknown switch: -convert
make: ***
[aermix.o] Error 1
pgf90-Error-Unknown switch: -convert
pgf90-Error-Unknown switch: -convert
,,,,,,,,
Makefile_IFORT_OpenMPI file fallowing
# Makefile for RegCM@
FFLAGS = -convert big_endian
MPI_ROOT = /usr/local/mpich2
FC = $(MPI_ROOT)/bin/mpif90
CC = $(MPI_ROOT)/bin/mpicc
LIBS = -lm
LDFLAG=-static
LD = $(FC)
SRC = \
,,,,,,
OBJ = \
,,,,,,
all: regcm
regcm: $(OBJ)
$(LD) -o $@ $(FFLAGS) $(OBJ) $(LDFLAG)
clean:
rm -f $(OBJ) regcm *.o
I don't know, why these erros occured.
I runned successfully without MPI run.
Any body know, teach me.
Thanks
>Sanghun Lee, Ph.D.
>E-mail: sanghunchang@hotmail.com