Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
kento committed Dec 29, 2016
1 parent e52fe79 commit d70540d
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 2 deletions.
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ AC_INIT([ReMPI],
AC_CONFIG_AUX_DIR([build-aux])
AC_CONFIG_MACRO_DIR([m4])
#AM_INIT_AUTOMAKE([ReMPI], [0.1])
AM_INIT_AUTOMAKE([foreign -Wall -Werror])
AM_INIT_AUTOMAKE([foreign -Wall -Werror], [0.1])
#LT_INIT([shared static])

### Action Macros
Expand Down
4 changes: 3 additions & 1 deletion src/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,12 @@ librempi_la_SOURCES = $(rempi_SOURCES)
librempi_la_LIBADD = $(libz_a_LIB)
librempi_la_CFLAGS = -lz -lstdc++ -lintlc
librempi_la_CPPFLAGS = -DREMPI_LITE
librempi_la_LDFLAGS = -version-info @LIB_CURRENT@:@LIB_REVISION@:@LIB_AGE@

if ENABLE_CDC

librempix_la_LIBRARY = librempix.la
librempix_la_LDFLAGS = -version-info @LIB_CURRENT@:@LIB_REVISION@:@LIB_AGE@
lib_LTLIBRARIES += $(librempix_la_LIBRARY)
# ===== librempix =====

Expand Down Expand Up @@ -81,7 +83,7 @@ $(librempix_la_LIBRARY): $(librempix_la_OBJECTS) $(librempix_la_DEPENDENCIES) $(
echo "# Generated by `$(abs_top_builddir)/libtool --version | head -n 1`" > $(librempix_la_OBJECT)
echo "pic_object='$(librempix_la_LIBS_STACK_PMPI_OBJECT_O)'" >> $(librempix_la_OBJECT)
echo "non_pic_object='$(librempix_la_STACK_PMPI_OBJECT_O)'" >> $(librempix_la_OBJECT)
$(CXXLINK) -rpath $(libdir) $(librempix_la_OBJECT) $(librempix_la_LIBADD) $(LIBS)
$(CXXLINK) -rpath $(libdir) $(librempix_la_OBJECT) $(librempix_la_LIBADD) $(LIBS) $(librempix_la_LDFLAGS)
endif

# if ENABLE_CDC
Expand Down
24 changes: 24 additions & 0 deletions test/rempi_test_master_worker_fortran.f90
Original file line number Diff line number Diff line change
@@ -1,3 +1,27 @@
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
! Copyright (c) 2016, Lawrence Livermore National Security, LLC.
! Produced at the Lawrence Livermore National Laboratory.
!
! Written by Kento Sato, [email protected]. LLNL-CODE-711357.
! All rights reserved.
!
! This file is part of ReMPI. For details, see https://github.com/PRUNER/ReMPI
! Please also see the LICENSE file for our notice and the LGPL.
!
! This program is free software; you can redistribute it and/or modify it under the
! terms of the GNU General Public License (as published by the Free Software
! Foundation) version 2.1 dated February 1999.
!
! This program is distributed in the hope that it will be useful, but WITHOUT ANY
! WARRANTY; without even the IMPLIED WARRANTY OF MERCHANTABILITY or
! FITNESS FOR A PARTICULAR PURPOSE. See the terms and conditions of the GNU
! General Public License for more details.
!
! You should have received a copy of the GNU Lesser General Public License along
! with this program; if not, write to the Free Software Foundation, Inc., 59 Temple
! Place, Suite 330, Boston, MA 02111-1307 USA
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

program ping
include 'mpif.h'

Expand Down

0 comments on commit d70540d

Please sign in to comment.