Skip to content

Commit

Permalink
fix issues in Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
jedwards4b committed Dec 22, 2023
1 parent fb7f93a commit 0090380
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 20 deletions.
35 changes: 16 additions & 19 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ VPATH=$(SRCDIR)/mpi-serial
MODULE = mpi-serial

SRCS_F90 = fort.F90 \
mpif.F90
mpif.F90

SRCS_C = mpi.c \
send.c \
Expand All @@ -17,20 +17,20 @@ SRCS_C = mpi.c \
req.c \
list.c \
handles.c \
comm.c \
comm.c \
error.c \
ic_merge.c \
group.c \
time.c \
pack.c \
type.c \
type_const.c \
copy.c \
op.c \
cart.c \
getcount.c \
probe.c \
info.c
ic_merge.c \
group.c \
time.c \
pack.c \
type.c \
type_const.c \
copy.c \
op.c \
cart.c \
getcount.c \
probe.c \
info.c


OBJS_ALL = $(SRCS_C:.c=.o) \
Expand Down Expand Up @@ -80,14 +80,11 @@ clean:
/bin/rm -f *.o ctest ftest $(LIB) mpi.mod config.log config.status
cd tests ; $(MAKE) clean

tests:
tests: lib$(MODULE).a
cd tests; make

install: lib
install: lib$(MODULE).a
$(MKINSTALLDIRS) $(libdir) $(includedir)
$(INSTALL) lib$(MODULE).a -m 644 $(libdir)
$(INSTALL) mpi.h -m 644 $(includedir)
$(INSTALL) mpif.h -m 644 $(includedir)



2 changes: 1 addition & 1 deletion mpi.h
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ typedef int MPI_Info; /* handle */
* you can use 'protify.awk' and paste the output here.
*
*/

extern int MPI_Get_library_version(char *version, int *resultlen);

extern int MPI_Intercomm_create(MPI_Comm local_comm, int local_leader,
MPI_Comm peer_comm, int remote_leader,
Expand Down

0 comments on commit 0090380

Please sign in to comment.