[RegCNET] Openmpi Makefile

XUNQIANG BI bixq at ictp.it
Wed Dec 3 10:13:57 CET 2008


Hi, Costas:

I don't think there is any difference in the Makefile, you know,
mpif90 contains the path and library information of openmpi (MPICH)

The attached file Makefile_AMD64p_IFC8 works with both IFC+openmpi
and IFC+MPICH at our AMD64 cluster.

Regards,
Xunqiang Bi

On Wed, 3 Dec 2008, Costas Douvis wrote:

> Hi everyone
>
> Could someone send me the Makefile used in order to run with Intel Fortran
> 10 and Openmpi? Or at least the compiler and library flags that are used.
>
> Thank you
> Kostas
>
>
> -- 
> Kostas Douvis
> PhD Student
> University of Athens - Department of Geography and Climatology
> Academy of Athens - Research Centre for Atmospheric Physics and Climatology
> email: cdouvis at geol.uoa.gr
> tel: +30-210-8832048, +30-210-8847280
> fax: +30-210-8842098
>
> _______________________________________________
> RegCNET mailing list
> RegCNET at lists.ictp.it
> https://lists.ictp.it/mailman/listinfo/regcnet
>

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   Dr. Xunqiang Bi         email:bixq at 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
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-------------- next part --------------
#  Makefile for RegCM@

FFLAGS = -fpe3 -tpp7 -cm -w -w90 -w95 -convert big_endian 
FC = mpif90
LD = $(FC) -L/usr/lib64/ -lmpichf90
#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 constants.f convect_tables.f cuadjtq.f \
cuasc.f cubase.f cubasmc.f cucall.f cuddraf.f cudlfs.f cudtdq.f \
cududv.f cuentr.f cuflx.f cuini.f cumastr.f cutiedparam.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 constants.o convect_tables.o cuadjtq.o \
cuasc.o cubase.o cubasmc.o cucall.o cuddraf.o cudlfs.o cudtdq.o \
cududv.o cuentr.o cuflx.o cuini.o cumastr.o cutiedparam.o \
cumtran.o cupara.o cuparan.o cupemandrv.o cupeman.o cup.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) -Vaxlib

clean:
	rm -f $(OBJ) regcm *.o




More information about the RegCNET mailing list