I am running mm5 with mpp but there are warning in compilation.
The mm5.mpp was made and the excution semms OK but there are error message in excution mm5.mpp. The result with mpp was different from that with mm5 single cpu…
I am using Xeon 3G 2cpu/board, 4 boeard in total.
PGI 6.1 version used, MPICH 1.27 used
The configure.usr follows in 7g.1[/b]#-----------------------------------------------------------------------------
RUNTIME_SYSTEM = “linux”
MPP_TARGET=$(RUNTIME_SYSTEM)
edit the following definition for your system
LINUX_MPIHOME = /usr/local/mpich
MFC = $(LINUX_MPIHOME)/bin/mpif90
MCC = $(LINUX_MPIHOME)/bin/mpicc -DMPI2_SUPPORT
##MCC = $(LINUX_MPIHOME)/bin/mpicc
MLD = $(LINUX_MPIHOME)/bin/mpif90
FCFLAGS = -O2 -Mcray=pointer -tp p6 -pc 32 -Mnoframe -byteswapio
LDOPTIONS = -O2 -Mcray=pointer -tp p6 -pc 32 -Mnoframe -byteswapio
LOCAL_LIBRARIES = -L$(LINUX_MPIHOME)/lib -lfmpich -lmpich
MAKE = make -i -r
AWK = awk
SED = sed
CAT = cat
CUT = cut
EXPAND = expand
M4 = m4
CPP = /lib/cpp -C -P -traditional
CPPFLAGS = -DMPI -Dlinux -DSYSTEM_CALL_OK
CFLAGS = -DMPI -I$(LINUX_MPIHOME)/include
ARCH_OBJS = milliclock.o
IWORDSIZE = 4
RWORDSIZE = 4
LWORDSIZE = 4
#-----------------------------------------------------------------------------
And the waring in compliation as follows,
m4 …/…/MPP/RSL/LMexp.m4 diffu.dm | sed ‘/^$/d’ | /lib/cpp -C -P -traditional -I…/…/MPP -I…/…/MPP/RSL -I…/…/pick -I…/…/MPP/debug -I…/…/MPP/RSL/RSL | …/…/MPP/col_cutter >diffu.f
/usr/local/mpich/bin/mpif90 -c -O2 -Mcray=pointer -tp p6 -pc 32 -Mnoframe -byteswapio diffu.f 2> diffu.lis
echo diffu.b diffu.dm diffu.f
diffu.b diffu.dm diffu.f
cut -c1-72 diffth.F | sed -e ‘s///' -e 's/ *$//' |\ expand | /lib/cpp -C -P -traditional -I../../MPP -I../../MPP/RSL -I../../pick -I../../MPP/debug -I../../MPP/RSL/RSL -DMPP1 -DIOR=2 -DIWORDSIZE=4 -DRWORDSIZE=4 -DLWORDSIZE=4 -DASSUME_HOMOGENEOUS_ENVIRONMENT=1 -DMPI -Dlinux -DSYSTEM_CALL_OK | m4 - > diffth.b ../../MPP/FLIC/FLIC/flic -F=../../MPP/FLICFILE -CPP='include<rsl.inc>' -CPP='include<rslcom.inc>' -H='FLIC_RUN_DECL' -STOP=FKILL_MODEL diffth.b > diffth.dm scanning diffth.b parsing diffth.b /tmp/aaa.31520: type warning: possibly incompatible types. cannot coerce real and unknown on line 372. /tmp/aaa.31520: type warning: possibly incompatible types. cannot coerce integer and unknown on line 373. /tmp/aaa.31520: type warning: possibly incompatible types. cannot coerce real and unknown on line 373. Ident = lam /tmp/aaa.31520: type warning: possibly incompatible types. cannot coerce real and unknown on line 376. /tmp/aaa.31520: type warning: possibly incompatible types. cannot coerce integer and unknown on line 377. /tmp/aaa.31520: type warning: possibly incompatible types. cannot coerce real and unknown on line 377. Ident = lam /tmp/aaa.31520: type warning: possibly incompatible types. cannot coerce real and unknown on line 380. /tmp/aaa.31520: type warning: possibly incompatible types. cannot coerce integer and unknown on line 381. /tmp/aaa.31520: type warning: possibly incompatible types. cannot coerce real and unknown on line 381. Ident = lam /tmp/aaa.31520: type warning: possibly incompatible types. cannot coerce real and unknown on line 384. /tmp/aaa.31520: type warning: possibly incompatible types. cannot coerce integer and unknown on line 385. /tmp/aaa.31520: type warning: possibly incompatible types. cannot coerce real and unknown on line 385. Ident = lam /tmp/aaa.31520: type warning: possibly incompatible types. cannot coerce unknown and real on line 633. Ident = min /tmp/aaa.31520: type warning: possibly incompatible types. cannot coerce unknown and real on line 635. Ident = min /tmp/aaa.31520: type warning: possibly incompatible types. cannot coerce unknown and integer on line 652. Ident = max /tmp/aaa.31520: type warning: possibly incompatible types. cannot coerce unknown and real on line 738. Ident = min /tmp/aaa.31520: type warning: possibly incompatible types. cannot coerce unknown and real on line 740. Ident = min finished parsing diffth.b m4 ../../MPP/RSL/LMexp.m4 diffth.dm | sed '/^$/d' | /lib/cpp -C -P -traditional -I../../MPP -I../../MPP/RSL -I../../pick -I../../MPP/debug -I../../MPP/RSL/RSL | ../../MPP/col_cutter >diffth.f /usr/local/mpich/bin/mpif90 -c -O2 -Mcray=pointer -tp p6 -pc 32 -Mnoframe -byteswapio diffth.f 2> diffth.lis echo diffth.b diffth.dm diffth.f diffth.b diffth.dm diffth.f cut -c1-72 diffthd.F | sed -e 's/
//’ -e ‘s/ *$//’ |
expand | /lib/cpp -C -P -traditional -I…/…/MPP -I…/…/MPP/RSL -I…/…/pick -I…/…/MPP/debug -I…/…/MPP/RSL/RSL -DMPP1 -DIOR=2 -DIWORDSIZE=4 -DRWORDSIZE=4 -DLWORDSIZE=4 -DASSUME_HOMOGENEOUS_ENVIRONMENT=1 -DMPI -Dlinux -DSYSTEM_CALL_OK | m4 - > diffthd.b
…/…/MPP/FLIC/FLIC/flic -F=…/…/MPP/FLICFILE -CPP=‘include<rsl.inc>’ -CPP=‘include<rslcom.inc>’ -H=‘FLIC_RUN_DECL’ -STOP=FKILL_MODEL diffthd.b > diffthd.dm
scanning diffthd.b
parsing diffthd.b
/tmp/aaa.31582: type warning: possibly incompatible types. cannot coerce real and unknown on line 370.
/tmp/aaa.31582: type warning: possibly incompatible types. cannot coerce integer and unknown on line 371.
/tmp/aaa.31582: type warning: possibly incompatible types. cannot coerce real and unknown on line 371. Ident = lam
/tmp/aaa.31582: type warning: possibly incompatible types. cannot coerce real and unknown on line 374.
/tmp/aaa.31582: type warning: possibly incompatible types. cannot coerce integer and unknown on line 375.
/tmp/aaa.31582: type warning: possibly incompatible types. cannot coerce real and unknown on line 375. Ident = lam
/tmp/aaa.31582: type warning: possibly incompatible types. cannot coerce real and unknown on line 378.
/tmp/aaa.31582: type warning: possibly incompatible types. cannot coerce integer and unknown on line 379.
/tmp/aaa.31582: type warning: possibly incompatible types. cannot coerce real and unknown on line 379. Ident = lam
/tmp/aaa.31582: type warning: possibly incompatible types. cannot coerce real and unknown on line 382.
/tmp/aaa.31582: type warning: possibly incompatible types. cannot coerce integer and unknown on line 383.
/tmp/aaa.31582: type warning: possibly incompatible types. cannot coerce real and unknown on line 383. Ident = lam
/tmp/aaa.31582: type warning: possibly incompatible types. cannot coerce unknown and real on line 631. Ident = min
/tmp/aaa.31582: type warning: possibly incompatible types. cannot coerce unknown and real on line 633. Ident = min
/tmp/aaa.31582: type warning: possibly incompatible types. cannot coerce unknown and integer on line 650. Ident = max
/tmp/aaa.31582: type warning: possibly incompatible types. cannot coerce unknown and real on line 736. Ident = min
/tmp/aaa.31582: type warning: possibly incompatible types. cannot coerce unknown and real on line 738. Ident = min
finished parsing diffthd.b
There were more warnig as same comment… and then complie was Ok with making mm5.mpp.
If I run the mpp, there are message in rsl.error.001
Processor 0: Clock 100.0000
Processor 1: Clock 100.0000
Processor 2: Clock 100.0000
Processor 3: Clock 100.0000
Inest = 1
Trim = 0
bdyweight = 0.300000
Returning 0 from mapping
Inest = 2
Trim = 2
bdyweight = 0.300000
Returning 0 from mapping
*** 90 1 1 7844082
*** 30 2 1 7845268
*** 60 2 2 7845476
*** 90 2 3 7845691
*** 180 1 2 7846320
*** 120 2 4 7846771
*** 150 2 5 7846992
*** 180 2 6 7847190
*** 270 1 3 7847729
*** 210 2 7 7848076
*** 240 2 8 7848277
*** 270 2 9 7848478
*** 360 1 4 7848977
*** 300 2 10 7849339
*** 330 2 11 7849545
*** 360 2 12 7849765
*** 450 1 5 7850316
*** 390 2 13 7850674
*** 420 2 14 7850972
*** 450 2 15 7851202
*** 540 1 6 7851752
*** 480 2 16 7852112
*** 510 2 17 7852330
*** 540 2 18 7852535
*** 630 1 7 7853073
*** 570 2 19 7853449
*** 600 2 20 7853650
*** 630 2 21 7853849
*** 720 1 8 7854375
*** 660 2 22 7854729
*** 690 2 23 7854925
*** 720 2 24 7855126
*** 810 1 9 7855656
*** 750 2 25 7856008
*** 780 2 26 7856211
*** 810 2 27 7856408
*** 900 1 10 7856912
*** 840 2 28 7857262
*** 870 2 29 7857482
there are lots of silimar comment in running…
After finished running, I compared results with mpp with those with single cpu…
There clearly were different…
Please let me know how to fix the problems…
Thank you in advance