ESMCI / mpi-serial

A one-processor version of MPI
BSD 3-Clause "New" or "Revised" License
4 stars 10 forks source link

*** No rule to make target 'lib', needed by 'install' #12

Closed serbinsh closed 10 months ago

serbinsh commented 5 years ago
 getcount.o probe.o info.o fort.o mpif.o
mpi.o send.o recv.o collective.o req.o list.o handles.o comm.o error.o ic_merge.o group.o time.o pack.o type.o type_const.o copy.o op.o cart.o getcount.o probe.o info.o fort.o mpif.o
rm -f libmpi-serial.a
ar cruv libmpi-serial.a mpi.o send.o recv.o collective.o req.o list.o handles.o comm.o error.o ic_merge.o group.o time.o pack.o type.o type_const.o copy.o op.o cart.o getcount.o probe.o info.o fort.o mpif.o
a - mpi.o
a - send.o
a - recv.o
a - collective.o
a - req.o
a - list.o
a - handles.o
a - comm.o
a - error.o
a - ic_merge.o
a - group.o
a - time.o
a - pack.o
a - type.o
a - type_const.o
a - copy.o
a - op.o
a - cart.o
a - getcount.o
a - probe.o
a - info.o
a - fort.o
a - mpif.o
ranlib libmpi-serial.a
root@modex:/mpi-serial# make install
make: *** No rule to make target 'lib', needed by 'install'.  Stop.

Same error I get when trying to use the MCT version. https://github.com/MCSclimate/MCT/issues/37

serbinsh commented 5 years ago

Tests run fine

MPI version="mpi-serial 2.0" (len=14)

Contiguous type of 5 x MPI_INT
a = [1 2 3 4 5 ]
b = [1 2 3 4 5 ]

Vector type of 3 groups of 2 MPI_INT, stride of 3.
a = [1 2 3 4 5 6 7 8 9 10 ]
b = [1 2 0 4 5 0 7 8 0 0 ]

Vector type of 3 groups of 2 MPI_INT, stride of 16 bytes.
a = [1 2 3 4 5 6 7 8 9 10 ]
b = [1 2 0 0 5 6 0 0 9 10 ]

Indexed type of MPI_INT.
a = [1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 ]
b = [1 0 0 0 0 6 7 0 0 0 11 12 13 0 0 ]

Block indexed type of MPI_INT.
a = [1 2 3 4 5 6 7 8 9 10 ]
b = [1 2 0 0 5 6 0 8 9 0 ]

Block indexed (byte addressed) type of MPI_INT.
a = [1 2 3 4 5 6 7 8 9 10 ]
b = [1 0 3 4 0 6 7 8 0 0 ]

Simple struct type: 1 int, 2 char, 1 long

Simple struct to create complex struct

Complex struct type composed of other struct.

Send contiguous of 5 MPI_INT, receive 5 x MPI_INT
a = [1 2 3 4 5 ]
b = [1 2 3 4 5 ]

Send contiguous of 5 struct, receive 5x struct

Simple packed type (int, char, double)

Complex packed type
Size = 13
testing MPI_Gather
testing MPI_Gatherv
testing MPI_Allgather
testing MPI_Allgatherv
testing MPI_Scatter
testing MPI_Scatterv
testing MPI_Reduce
testing MPI_Allreduce
testing MPI_Alltoall
testing MPI_Alltoallv
testing MPI_Reduce_scatter
testing MPI_Scan
>>>PASSED ALL TESTS. No errors. <<<

./ftest
 MPI Version 'mpi-serial 2.0                                                                  ' len=          14
 Test Contiguous of 5 x MPI_INTEGER
 Test vector of MPI_INTEGER
 Vector type with stride 4 in bytes
 Indexed type
 Block indexed type
 Byte addressed indexed type
 Packed type
 Contig type send, multiple receive
 Indexed type send, multiple indexed receive
 Testing mpi_gather
 Testing mpi_gatherv
 Testing mpi_allgather
 Testing mpi_allgatherv
 Testing mpi_scatter
 Testing mpi_scatterv
 Testing mpi_reduce
 Testing mpi_allreduce
 Testing mpi_alltoall
 Testing mpi_alltoallv
 Testing mpi_reduce_scatter
 Testing mpi_scan
 Testing MPI_Get_Version
 PASSED ALL TESTS

make[1]: Leaving directory '/mpi-serial/install/tests'
root@modex:/mpi-serial/install#