[RegCNET] parallel RegCM run in SGI 3500

Mark Snyder msnyder at pmc.ucsc.edu
Tue Aug 21 21:06:17 CEST 2007


Hi,

Looks like the problem is that you are compiling with the –64 flag and
linking to a 32 bit MPI library.  You could try compiling without the –64
option in FFLAGS, or link to the 64 bit MPI library.

Mark


-- 
Mark A. Snyder
Assistant Project Earth Scientist
Climate Change and Impacts Laboratory
Dept. of Earth and Planetary Sciences
UC Santa Cruz
(W) 831-459-3504
msnyder at pmc.ucsc.edu
http://es.ucsc.edu/~msnyder
--



On 8/20/07 7:52 AM, "鲍艳" <byan at lzb.ac.cn> wrote:

> Hi,everyone
>     I try to use parallel RegCM run in SGI 3500 with 16 cups,but when I have
> finished the ./MAKECODE, and copy the Makefile_CL to Makefile,at the same time
> modified the path of mpi.But when I run the command of 'make',something was
> wrong,the system hinted that' ld64: FATAL   12 : Expecting 64-bit objects:
> /usr/local/mpich/lib/libmpichf90.a is 32-bit'.In the direction of
> /usr/local/mpich/lib/,there only one libmpichf90.a, I can't find another
> one.So can you give me some advice? Bye the way,I changed the FFLAGS term
> since the f90 can't idificate the flag of '-convert'.Now the Makefile is like
> the following:
>  
>     #  Makefile for RegCM@
> #FFLAGS = -convert big_endian
>  FFLAGS = -64 -g -trapuv
> #MPI_ROOT = /net/shared/mpich-1.2.5..11/intel/8.0
> MPI_ROOT = /usr/local/mpich
> FC = $(MPI_ROOT)/bin/mpif90 -L/usr/gm/lib
> CC = $(MPI_ROOT)/bin/mpicc
> LIBS = -lm
> LDFLAG=-static
> LD = $(FC)
> SRC = \
> aermix.f aeroppt.f aerout.f albedov.f balanc.f balbak.f bconst.f bdyin.f
> bdyuv.f \
> bdyval.f blhnew.f BLOCKDATA001.f bmpara.f bndry.f \
> carbon.f cdiv.f chdrydep.f chemtap.f chrsetc.f chsrfem.f \
> cldefr.f cldems.f cldfrac.f co2.f colmod3.f conadv.f condch.f \
> condcq.f condtq.f conmas.f cumtran.f cupara.f \
> cuparan.f cupemandrv.f cupeman.f cup.f \
> depth.f deriv.f diffu.f diffut.f \
> dragdn.f drag.f drip.f dsflx.f EDDY.f elmhes.f eltran.f \
> eomb.f FINDDATE.f for_next.f frawat.f getdat.f grads_stuf.f \
> hadv.f holtbl.f \
> hqr2.f hqr.f htdiff.f ice.f inirad.f initb.f INITDATE.f init.f \
> inidust.f initlk.f interf.f intmax.f invmtrx.f isamax.f isrchfgt.f \
> isrchfle.f lakedrv.f lake.f lenchr.f lfdrag.f lftemp.f \
> ljchrn.f lshfch.f lutbl.f mapsmp.f maximi.f minimi.f MIXER.f mkfile.f \
> nconvp.f nudge.f o3data.f outprt.f output.f \
> outsav.f outsrf.f outsub.f outtap0.f outtap.f param.f pcp.f \
> radabs.f radclr.f radclw.f radcsw.f radctl.f radded.f radems.f \
> radini.f radinp.f radout.f radoz2.f radtap.f radtpl.f reorder.f regcm.f \
> resetr.f rg.f root.f satur.f saxpy.f sgedi.f sgefa.f slice.f slice3d.f \
> snow.f soilbc.f solar1.f spinit.f spline.f splitf.f \
> sponge.f spstep.f sscal.f sswap.f stomat.f \
> TEMP.f tend.f tgrund.f tpfc.f tracbud.f tracdiag.f \
> tractend2.f trcab.f trcabn.f trcems.f trcmix.f trcplk.f trcpth.f \
> tseice.f tstep.f vadv.f vcheke.f vcheki.f vchekt.f \
> vcover.f vecbats.f vmodes.f vmultm.f vnorml.f vorder.f vprntm.f \
> vprntv.f vtlaps.f water.f wheneq.f whenfgt.f whenflt.f whenne.f \
> zengocndrv.f zengocn.f zenith.f zenitm.f
> OBJ = \
> aermix.o aeroppt.o aerout.o albedov.o balanc.o balbak.o bconst.o bdyin.o
> bdyuv.o \
> bdyval.o blhnew.o BLOCKDATA001.o bmpara.o bndry.o \
> carbon.o cdiv.o chdrydep.o chemtap.o chrsetc.o chsrfem.o \
> cldefr.o cldems.o cldfrac.o co2.o colmod3.o conadv.o condch.o \
> condcq.o condtq.o conmas.o cumtran.o cupara.o \
> cuparan.o cup.o cupemandrv.o cupeman.o \
> depth.o deriv.o diffu.o diffut.o \
> dragdn.o drag.o drip.o dsflx.o EDDY.o elmhes.o eltran.o \
> eomb.o FINDDATE.o for_next.o frawat.o getdat.o grads_stuf.o \
> hadv.o holtbl.o \
> hqr2.o hqr.o htdiff.o ice.o inirad.o initb.o INITDATE.o init.o \
> inidust.o initlk.o interf.o intmax.o invmtrx.o isamax.o isrchfgt.o \
> isrchfle.o lakedrv.o lake.o lenchr.o lfdrag.o lftemp.o \
> ljchrn.o lshfch.o lutbl.o mapsmp.o maximi.o minimi.o MIXER.o mkfile.o \
> nconvp.o nudge.o o3data.o outprt.o output.o \
> outsav.o outsrf.o outsub.o outtap0.o outtap.o param.o pcp.o \
> radabs.o radclr.o radclw.o radcsw.o radctl.o radded.o radems.o \
> radini.o radinp.o radout.o radoz2.o radtap.o radtpl.o reorder.o regcm.o \
> resetr.o rg.o root.o satur.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
> all: regcm
> regcm: $(OBJ)
>  $(LD) -o $@ $(FFLAGS) $(OBJ) $(LDFLAG)
> clean:
>  rm -f $(OBJ) regcm *.o
>    Thank you very much
>    Best regards.
>  
>    Yours,
>  Baoyan
>  
> 
> 
> 
> 
> 
> _______________________________________________
> RegCNET mailing list
> RegCNET at lists.ictp.it
> https://lists.ictp.it/mailman/listinfo/regcnet






More information about the RegCNET mailing list