It seems that you are not using the MPI wrapper compilers. Hence, things like including mpif.h and using constants like MPI_INTEGER will not work.
It's been a while since I've been the NPB, so I don't remember the details offhand, but don't have have to edit some Makefile to tell it to use "mpic", "mpif77", etc.? As for why it can't find mpinpb.h, I'm not sure about that one. On Wed, 27 Mar 2002, abhin g.s wrote: > hi > I cant compile NPB2.3 I am running oscar1.2 Please > hlp me debug the problem..... > Following is the error message produced: > > > > > > [root@server NPB2.3]# make bt NPROCS=1 CLASS=B > > ========================================= > > = NAS Parallel Benchmarks 2.3 = > > = MPI/F77/C = > > ========================================= > > > > cd BT; make NPROCS=1 CLASS=B > > make[1]: Entering directory `/root/NPB2.3/BT' > > make[2]: Entering directory `/root/NPB2.3/sys' > > make[2]: Nothing to be done for `all'. > > make[2]: Leaving directory `/root/NPB2.3/sys' > > ../sys/setparams bt 1 B > > f77 -c -I/usr/local/include -O3 bt.f > > In file included from bt.f:52: > > mpinpb.h: In program `mpbt': > > bt.f:50: > > include 'mpinpb.h' > > ^ > > In file included from bt.f at (^) > > mpinpb.h:5: > > include 'mpif.h' > > ^ > > Unable to open INCLUDE file `mpif.h' at (^) > > bt.f:106: > > call mpi_bcast(niter, 1, MPI_INTEGER, > > ^ > > Invalid declaration of or reference to symbol > `mpi_integer' at (^) > [initially seen at (^)] > > bt.f:106: warning: > > call mpi_bcast(niter, 1, MPI_INTEGER, > > 1 > > bt.f:109: (continued): > > call mpi_bcast(dt, 1, dp_type, > > 2 > > Argument #1 of `mpi_bcast' is one type at (2) but is > some other type > at (1) [info -f g77 M GLOBALS] > > bt.f:106: warning: > > call mpi_bcast(niter, 1, MPI_INTEGER, > > 1 > > bt.f:109: (continued): > > call mpi_bcast(dt, 1, dp_type, > > 2 > > Argument #3 of `mpi_bcast' is one type at (2) but is > some other type > at (1) [info -f g77 M GLOBALS] > > bt.f:169: warning: > > call verify(niter, class, verified) > > ^ > > Reference to unimplemented intrinsic `VERIFY' at (^) > (assumed > EXTERNAL) > > bt.f:172: > > > dp_type, MPI_MAX, > > ^ > > Invalid declaration of or reference to symbol > `mpi_max' at (^) > [initially seen at (^)] > > bt.f:193: > > call mpi_barrier(MPI_COMM_WORLD, error) > > ^ > > Invalid declaration of or reference to symbol > `mpi_comm_world' at (^) > [initially seen at (^)] > > bt.f:147: warning: > > call mpi_barrier(comm_setup, error) > > 1 > > bt.f:193: (continued): > > call mpi_barrier(MPI_COMM_WORLD, error) > > 2 > > Argument #1 of `mpi_barrier' is one type at (2) but > is some other > type at (1) [info -f g77 M GLOBALS] > > header.h:93: > > > lhs (5,5,3,-1:IMAX-1, -1:JMAX-1, > -1:KMAX-1, > maxcells), > > ^ > > Array `lhs' at (^) is too large to handle > > make[1]: *** [bt.o] Error 1 > > make[1]: Leaving directory `/root/NPB2.3/BT' > > make: *** [bt] Error 2 > > [root@server NPB2.3]# > > > > > ===== > RASC�. Always With You� � 2002 Research And Service Centre.http://rasc.8m.com > > __________________________________________________ > Do You Yahoo!? > Yahoo! Movies - coverage of the 74th Academy Awards� > http://movies.yahoo.com/ > > _______________________________________________ > Oscar-users mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/oscar-users > {+} Jeff Squyres {+} [EMAIL PROTECTED] {+} http://www.lam-mpi.org/ _______________________________________________ Oscar-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/oscar-users
